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 custom error code
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
‎May 11, 2015
01:44 AM
return custom error code
hi all,
In silent install mode I want to return an error code based on specific command execution, as of now when a specific command execution is failed I am logging that info to install log file, along with that , installer also should return an error code which is defined by me. how to make this work, please suggest me.
thanks in advance
Phanik
In silent install mode I want to return an error code based on specific command execution, as of now when a specific command execution is failed I am logging that info to install log file, along with that , installer also should return an error code which is defined by me. how to make this work, please suggest me.
thanks in advance
Phanik
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2015
04:51 AM
Return codes are pre-defined in case of an .msi (MSI engine) or setup.exe (in InstallShield exe wrapper) and getting a custom return code may not be straight forward.
May be you can write the custom error to a file/registry within the installer and later use it from there.
May be you can write the custom error to a file/registry within the installer and later use it from there.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2015
04:28 AM
thanks for the suggestion rrinblue22.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)