1
votes

I have an installshield msi project that produces CD-ROM files.

I know how to set a custom action in order to launch an exe file stored in binary table.

What i want to do is to launch an exe file that is at the source media root directory and it is not copied at the installation directory.

I do not want to add it at the binary table because i want to be able to change the file without building again the installer.

any ideas?

Thanks

1
When do you want to run this custom action - just first time install, or also maintenance (say if a related feature is installed later), and/or during uninstallation?Michael Urman
Althougth i think that what you are asking is irrelevant, the exe file should be launched during the installation after files installed.Reven
During anything other than first-time installation, files next to the original .msi file may not be available.Michael Urman

1 Answers

1
votes

For first time installation, you can reference a property that indicates the location of the installation files. Common ones to consider include:

For InstallScript installations (instead of Windows Installer based ones), there is also PACKAGE_LOCATION.