Hi Phil,
 
I am not sure that I understand.
 
The scenario is that I am trying to install the same product as one that is 
already installed but with a different version (i.e. I am trying to install an 
older version of the same product, and I am looking to provide a way to fail 
gracefully). 
 
FYI -- I have tried a different approach which was to add the 
WixExitEarlyWithSuccess, but I cannot seem to get that to work either.  I have 
followed all of the steps outlined in:  
http://wix.sourceforge.net/manual-wix3/wixexitearlywithsuccess.htm but I see 
the same results.
 
 
Thanks,
 
Carl

>>> Phil Wilson <phil.wil...@mvps.org> 10/17/2012 11:31 AM >>>
Error 1638 isn't related to anything you do internally by denying certain
installs for your own internal reasons. It's returned when the install
cannot even proceed because you're trying to install a package with the same
ProductCode (or PackageCode) as one that's already installed, but with a
different version (and in non maintenance mode). 

Phil 

-----Original Message-----
From: Carl Tietjen [mailto:ctiet...@netiq.com] 
Sent: Wednesday, October 17, 2012 10:27 AM
To: WiX Users
Subject: [WiX-users] MSI install returning error 1603 when it should return
1638

Hi All,

I have setup my MSI so that it detects when a newer (higher version) is
installed.  This works fine from a human interface point of view (i.e. I get
a message saying that a later version is already installed).  However when
another product tries to install my MSI they are expecting to get the 1638
MSI error (ERROR_PRODUCT_VERSION), but instead we are seeing the 1603 MSI
error (ERROR_INSTALL_FAILURE).

Can anyone help?

FYI --  Here are snippets of my wxs file with the relevant info:
<Upgrade
  Id="{2DE4B44F-6886-4b1e-BF91-BD0236D428D9}">
  <UpgradeVersion 
         Property="OLDERVERSIONBEINGUPGRADED"
        Minimum="2.7.0.0" Maximum="!(bind.FileVersion.ccsw32.dll)" 
        IncludeMinimum="yes"
         IncludeMaximum="yes"
        OnlyDetect="no"/>
  <UpgradeVersion Property="NEWERVERSIONDETECTED" 
         Minimum="!(bind.FileVersion.ccsw32.dll)" 
        IncludeMinimum="no"  
        OnlyDetect="yes"/>
</Upgrade>

<Condition Message="A later version of [ProductName] is already installed.
Setup will now exit.">
   NOT NEWERVERSIONDETECTED OR Installed </Condition>

___________

I am seeing in the log file that NEWERVERSIONDETECTED property is added.


Thanks in advance for any help.

Carl
  



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to