This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- vbScript LaunchAppAndWait?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2007
08:59 AM
vbScript LaunchAppAndWait?
Is there a vbscript alternative for Installscript's LaunchAppAndWait? If not, are there any examples of how to launch an external program from vbscript in my install, and wait until execution finished before continuing?
Thanks,
Mike
Thanks,
Mike
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2007
12:25 PM
It is my understanding that the LaunchAppAndWait call either the CreateProcess or ShellExecuteEx Window's API functions, which is exactly what your VBScript will do.
Are you experiencing an issue with the LaunchAppAndWait function?
Are you experiencing an issue with the LaunchAppAndWait function?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 19, 2007
11:13 PM
If project is basic msi or installscript msi, custom action to execute exe can be used. Even vb script is not required.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2007
09:33 AM
Hi,
you can use the command vbsript
this function return the id of the process who is run !
with a little coding a while for exemple you can check if the process run or not.
i
There is some sample on internet.
Christophe
you can use the command vbsript
Shell(YOUR_PROGRAM," PARAMETRE", vbNormalFocus)
this function return the id of the process who is run !
with a little coding a while for exemple you can check if the process run or not.
i
There is some sample on internet.
Christophe