Looks like that bounces back a dialogue telling me I laready have another
version of this product installed and them the installer quits. Thanks for
the response though.

 

  _____  

From: Reid Siglin [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 18, 2008 3:27 PM
To: Willie Burton
Subject: RE: [WiX-users] Multiple entries in ARP on upgrade

 

Try using the same product code, I think the MSI needs to see this so it can
identify your earlier version and upgrade it.  I may be incorrect, but I
think this will work for you.  Give it a shot.

 

-Reid

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Willie Burton
Sent: Friday, April 18, 2008 2:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Multiple entries in ARP on upgrade

 

WiX and MSI noob here.

 

The install I've made is meant to be a upgrade to a previous MSI that was
not done in WiX and dark doesn't work on it.here's what I'm using to do the
upgrade:

 

----------------------------------------------------------------------------
-------------------------------

 

<Upgrade Id="{6E57CB03-C296-47D5-9ABC-F9D865215351}">

      <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes"
Maximum="$(var.ccNetLabel)" IncludeMaximum="no" RemoveFeatures="ALL"
Language="1033" Property="PREVIOUSVERSIONSINSTALLED" />

      <UpgradeVersion Minimum="$(var.ccNetLabel)" IncludeMinimum="yes"
OnlyDetect="yes" Language="1033" Property="NEWERPRODUCTFOUND" />

    </Upgrade>

 

 

    <CustomAction Id="PreventDowngrading" Error="Newer version already
installed." />

    <CustomAction Id="UIandAdvertised" Error="Something about the UI."/>

 

 

    <InstallExecuteSequence>

      <Custom Action="PreventDowngrading"
After="FindRelatedProducts">NEWERPRODUCTFOUND AND NOT Installed</Custom>

      <RemoveExistingProducts After="InstallInitialize" />

    </InstallExecuteSequence>

 

 

    <InstallUISequence>

      <Custom Action="UIandAdvertised" Sequence="3">ProductState=1</Custom>

    </InstallUISequence>

 

----------------------------------------------------------------------------
-------------------------------

The upgrade Id is the same as the upgradecode in the product tag. The
product id, package id and versions are different. Not sure what I'm
missing, but, it seems to never uninstall the previous version. ANY help is
greatly appreciated.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to