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
- :
- Return code from a third-party executable (SQL Server 2008 Installer)
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
‎Jul 26, 2011
11:21 AM
Return code from a third-party executable (SQL Server 2008 Installer)
Hi,
In my installscript I am running an installation of SQL Server 2008. This executable gives a return code:
0x0 for success
0xBC2 for success, but reboot needed
A different, positive value in case of error.
I need to abort the installation if the SQL Server installer fails. Is there any way I can read the return code from the setup executable within my installscript?
Thanks,
thygesen
In my installscript I am running an installation of SQL Server 2008. This executable gives a return code:
0x0 for success
0xBC2 for success, but reboot needed
A different, positive value in case of error.
I need to abort the installation if the SQL Server installer fails. Is there any way I can read the return code from the setup executable within my installscript?
Thanks,
thygesen
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2011
02:19 AM
Use LaunchAppAndWait with LAAW_OPTION_WAIT parameter. Get the return value of the exe form LAAW_PARAMETERS struct's nLaunchResult variable.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2011
08:11 AM
Thanks a lot. This was very helpful 🙂
/thygesen
/thygesen