[wix-users] error code other than 1602 (1633 or other)

Todd Thompson tthompson at digitalguardian.com
Mon Jun 3 11:18:29 PDT 2019

Hi All,

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,

Code Snippet

    <Condition Message="Only supported on Windows Server 2008 or higher.">
      <![CDATA[(Installed  OR VersionNT >= 600)]]>

Run Snippet:

c:\Users\admin\Desktop>start /wait msiexec.exe /i testMsi.msi
c:\Users\admin\Desktop>echo %errorlevel%


More information about the wix-users mailing list