PDA

View Full Version : Executing a program from [INSTALLDIR]



waikitlo
01-28-2004, 06:44 AM
Hi,

I am using Installshield express 5.0 Sp2. I have defined a custom
action with the following settings:

Source Location: Installed with the product.
FileName: [INSTALLDIR]\Subdir\program.exe
Invoke:After Setup Complete Success Dialog.
.
.
Execute: During Installation.
etc.

If the program is started, it creates a couple of directories in its working dir. The problem is that although I have specified it that the program should be invoked in [INSTALLDIR] (which should be the location where the files are copied to?), it always starts in the [SourceDir]. This gives a problem if the setup is run from a CD-ROM. How can I setup that program.exe is indeed executing in the destination dir?


Cheers,

W. Lo