Hello, I am very new to IS 2009 and thus excuse the simple question.
I created a InstallScript project to learn the software. I wanted to create a folder in C so I pasted the example from the on-line help (some part showing only) in the RUL file.
___________________________________________
#define DEFAULT_DIR "C:\\MyFolder"
#define SUBDIRS "N_Dir\\A_Dir"
// Include Ifx.h for built-in InstallScript function prototypes.
#include "Ifx.h"
export prototype ExFn_CreateDir(HWND);
function ExFn_CreateDir(hMSI)
STRING svPath;
begin
// Disable the Back button in setup dialogs.
Disable (BACKBUTTON);
// Prompt user for a directory to be created.
AskPath ("Please enter a valid path.", DEFAULT_DIR, svPath);
...
....
_______________________________________________________
Compiled the program but it does not run the script, what am I missing?
Is there some thing else I need to do to trigge the script
Any help is greatly appreciated
.
picasso
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Running Scripts
Started by
picasso53
, Jul 11 2009 03:58
1 reply to this topic
Posted 11 July 2009 - 12:12
You created a function. Now you need to call it. If your project type is "InstallScript MSI", you can do this under Custom Actions. If your project type is "InstallScript" you should call it from the OnFirstUIBefore event handler.
Did you work through the tutorial and/or the evaluators guide?
Did you work through the tutorial and/or the evaluators guide?
Stefan Krüger
InstallSite.org twitter facebook