cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
itamarat
Level 2

How to run an executable from InstallScript installer?

Hi,

Is there something like custom action in InstallScript, and how should I utilize it? I need to run to external executables by the installer.


Thanks in advance 🙂

Itamar
Labels (1)
0 Kudos
(3) Replies
ChandanOmkar
Level 8

Yes, you can achieve this using LaunchAppAndWait() function.
Check the help files for its parameters.
0 Kudos
itamarat
Level 2

ChandanOmkar wrote:
Yes, you can achieve this using LaunchAppAndWait() function.
Check the help files for its parameters.


Hi,

First, thanks for the quick reply 🙂

I'm building an InstallScript installer project, and I'm looking for doing it in the easy way, i.e., not by coding but by some wizard or something like this. Is it possible?


Thanks a lot,

Itamar
0 Kudos
tbrown
Level 3

itamarat wrote:


I'm building an InstallScript installer project, and I'm looking for doing it in the easy way, i.e., not by coding but by some wizard or something like this. Is it possible?



I haven't seen any way to do it through a wizard, but it isn't that hard. The easiest way would be to add your executables to the "Language Independent" section under "Support Files/ Billboards". Then just use this code in your Setup.rul file in the "InstallScript" window:
LaunchAppAndWait(SUPPORTDIR + "MyFilename.exe", "", WAIT);


That should keep the coding to a minimum. A better example can be found by searching for "LaunchAppAndWait Example" in the help files.

Good Luck!
0 Kudos