[wix-users] error code other than 1602 (1633 or other)
chrpai at iswix.com
Mon Jun 3 15:06:08 PDT 2019
MSI doesn't support what you ask for. However, you could write a bootstrapper with a custom bootstrapper application and return whatever code you wanted.
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Todd Thompson via wix-users <wix-users at lists.wixtoolset.org>
Sent: Monday, June 3, 2019 1:18 PM
To: wix-users at lists.wixtoolset.org
Cc: Todd Thompson
Subject: [wix-users] error code other than 1602 (1633 or other)
I was hoping to return a different error code if user is attempting to install on an unsupported OS. Is this supported?
I added the following under product ID, but this results in a generic 1603 error return. How can the WIX code influence the returned error code from msiexec?
Below are some code and run snippets.
Thanks for any and all help,
<Condition Message="Only supported on Windows Server 2008 or higher.">
<![CDATA[(Installed OR VersionNT >= 600)]]>
c:\Users\admin\Desktop>start /wait msiexec.exe /i testMsi.msi
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users