phanik
Pilgrim

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
Labels (1)
0 Kudos
2 Replies
rrinblue22
Pilgrim

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.
0 Kudos
phanik
Pilgrim

thanks for the suggestion rrinblue22.
0 Kudos