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
- :
- Installshield 2009 Basic MSI setup
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
‎Jun 30, 2011
12:48 AM
Installshield 2009 Basic MSI setup
Setup is installed on Windows 7. Setup has script to invoke exe at the end of installation. Sometimes, exe is popped up and sometimes, it is not popped up.
Administrator privileges are there for the System where setup is run.
Can any one help in this issue. why it behaves differently each time?
Thanks in advance
lalitha
Administrator privileges are there for the System where setup is run.
Can any one help in this issue. why it behaves differently each time?
Thanks in advance
lalitha
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2011
03:54 AM
Where exactly are you invoking the exe?
i.e., the point of invocation in the sequence?
i.e., the point of invocation in the sequence?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2011
04:25 AM
My function has two statements:
1. LaunchAppAndWait - to call required exe
2. Function to reboot the system
Custom action is created and is linked with the above function.
This custom action is called in "Finish" event of "SetupcompleteSuccess" dialog. Just before the exit dialog, i am calling custom action.
As I said earlier, sometimes exe is popped and system reboot dialog is displayed. Sometimes, it skips calling exe and only system reboot dialog appears.
Any solution ?
1. LaunchAppAndWait - to call required exe
2. Function to reboot the system
Custom action is created and is linked with the above function.
This custom action is called in "Finish" event of "SetupcompleteSuccess" dialog. Just before the exit dialog, i am calling custom action.
As I said earlier, sometimes exe is popped and system reboot dialog is displayed. Sometimes, it skips calling exe and only system reboot dialog appears.
Any solution ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2011
05:34 AM
Check the parameters that you pass to LaunchAppAndWait.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2011
06:15 AM
I have used:
LaunchAppAndWait(Exefilename,"",LAAW_OPTION_WAIT);
LaunchAppAndWait(Exefilename,"",LAAW_OPTION_WAIT);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2011
07:01 AM
Use the return value of LaunchAppAndWait to check if the call was successful.
Also, use the LAAW_PARAMETERS system variable's nLaunchResult to see if the exe you launched exited properly.
This will help you narrow down the problem.
Also, use the LAAW_PARAMETERS system variable's nLaunchResult to see if the exe you launched exited properly.
This will help you narrow down the problem.