Hello (again...),
I have to fire away one more question today. I have spent hours on searching through help and forum without being able to find out how to get the return code from Install/Remove MSI?
Install/Remove MSI returns:
Result: success | error | reboot
Last Error: The actual error text, but not the result code. Vaires depending on display language in Win 7 and is if no use for comparison.
Surely there must be a way to pickup the real code from Windows Installer? (So that my installer can act somewhat intelligently to codes like 1638, 1603 etc.)
Regards
Get actual return code from Install/Remove MSI
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Get actual return code from Install/Remove MSI
Dear User,
currently the results value returned by "(Un)Install MSI Setup" are as you reported.
I suppose that the only possible alternative to have the error code returned it is to use the "Run Program".
... but you loose the possibility to have the progress of the Windows Installer setup captured and displayed, as part of the installation progress.
Regards
currently the results value returned by "(Un)Install MSI Setup" are as you reported.
I suppose that the only possible alternative to have the error code returned it is to use the "Run Program".
... but you loose the possibility to have the progress of the Windows Installer setup captured and displayed, as part of the installation progress.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Get actual return code from Install/Remove MSI
Thanks for the quick reply, no wonder I didn't find anything when searching then
Would you consider adding this feature, returning the actual return code from Windows Installer?
My guess is that it wouldn't be to complicated to implement(?) and with the result code from 3rd party msi:s IA installer have much more ability to act intelligently and most importantly (for me) return a relevant exit code when run silently. As it is now there is no way to terminate IA installer with the exit code that 3rd party returned (like 1603). For the moment I'll use Run Command and msiexec as usual, but the Install/Remove msi i so neat otherwise, wish I could use it..
Besides giving IA installers ability to be more intelligent when installing 3rd party MSI:s in GUI-mode the ability to pick up the return code is vital for enterprise deployment when run in silent mode (ie to terminate IA with the exit code from 3rd party msi). I really hope you could consider adding this
It would make IA more suitable for enterprise deployments.

Would you consider adding this feature, returning the actual return code from Windows Installer?
My guess is that it wouldn't be to complicated to implement(?) and with the result code from 3rd party msi:s IA installer have much more ability to act intelligently and most importantly (for me) return a relevant exit code when run silently. As it is now there is no way to terminate IA installer with the exit code that 3rd party returned (like 1603). For the moment I'll use Run Command and msiexec as usual, but the Install/Remove msi i so neat otherwise, wish I could use it..
Besides giving IA installers ability to be more intelligent when installing 3rd party MSI:s in GUI-mode the ability to pick up the return code is vital for enterprise deployment when run in silent mode (ie to terminate IA with the exit code from 3rd party msi). I really hope you could consider adding this

Who is online
Users browsing this forum: No registered users and 127 guests