InstallShield 2009 Pre install

Is there a way to copy some files (preset) to the system prior to the onFirstUIBefore () method. These files are also part of the installer. I am using install shield 2009, and the project type is the installer script.

EDIT: More info. we need to run one utility, which is part of the setup.exe package. It must be started first in OnFirstUIMethod () before showing other dialog boxes to the user. The OnFirstUIMethod () method has about 5 dialogs. The utility has complex code, and its functionality cannot be executed using installer scripts (why this utility). My requirement is that this utility should be part of the installer package. Any thoughts are welcome.

+3
source share
2 answers

If you added the file to the Support Files / Billboards section of the project, you can link to it in your project and, in particular, OnBegin.

For example, if you have a foo.exe file that you need to execute, you can add it to the project as a support file and a link using the SUPPORTDIR keyword. It will look something like this:

LaunchAppAndWait(SUPPORTDIR ^ foo.exe);
+3
source

The OnBegin event is the first place where you can do custom things in an InstallScript project, such as copy files.

+1
source

Source: https://habr.com/ru/post/1718332/


All Articles