Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InstallShield 2009 Pre install

Is there any option to copy some of the files (pre installation) to the system before onFirstUIBefore() method. These files are also part of installer. I am using install shield 2009 and project type is installer script.

EDIT: Some more info. we need to run one utility which is part of setup.exe package. It should be run first in the OnFirstUIMethod() before showing up other dialogs to the user. There are around 5 dialogs in OnFirstUIMethod() method. The utility has some complex code and it's functionality can't be done with installer scripts (that's why this utility). My requirement is this utility should be part of installer package. Any thoughts are welcome.

like image 249
kingas Avatar asked Dec 04 '25 17:12

kingas


1 Answers

If you add filed to the Support Files/Billboards section of the project, you can reference them in your project and specifically in OnBegin.

For example, if you have a file called foo.exe that you needed to execute, you could add it to the project as a Support File and the reference it using the SUPPORTDIR keyword. It would look something like this:

LaunchAppAndWait(SUPPORTDIR ^ foo.exe);
like image 183
epotter Avatar answered Dec 08 '25 22:12

epotter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!