I took that Upgrade snippet from Rob's answer on
http://stackoverflow.com/a/724098.

Let me try this with Minimum set.

Thanks,

Alec

On Wed, Sep 19, 2012 at 3:09 PM, Hoover, Jacob [via Windows Installer
XML (WiX) toolset] <ml-node+s687559n7580675...@n2.nabble.com> wrote:
> Hmm, I think you are missing a minimum on OlderVerionBeingUpgraded
>
>     <!-- This information enables Windows Installer major upgrade
> functionality so users can seamlessly  -->
>     <!-- install a new version of the product and have the old version
> automatically uninstall behind    -->
>     <!-- the scenes. See the following topic in the MSDN Library for
> additional information:             -->
>     <!--
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/major_upgrades.asp
> -->
>     <Upgrade Id="$(var.UpgradeCode)">
>       <UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
> OnlyDetect="yes" Property="NEWERVERSION_INSTALLED" />
>       <UpgradeVersion Minimum="0.0.0" IncludeMinimum="yes"
>                       Maximum="$(var.ProductVersion)" IncludeMaximum="no"
>                       Property="OLDERVERSION_BEINGUPGRADED"
> MigrateFeatures="yes" />
>     </Upgrade>
>
> As far as App Compat, I was talking in the logs.
>
>
> In you logs, it looks as if your ProductCode hasn't changed between the two?
> (The product code should only be the same if you are doing a minor update.)
>
> -----Original Message-----
> From: Alec Swan [mailto:[hidden email]]
> Sent: Wednesday, September 19, 2012 3:57 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails
>
> We are trying to upgrade from 18.3 to 19.0.1.
>
> Here is the upgrade code:
> <Upgrade Id="E8805AF3-CF50-4092-BE57-220A8C51E2AA">
>   <UpgradeVersion OnlyDetect="no" Minimum="18.0.1" IncludeMinimum="no"
> Property="NEWERVERSIONDETECTED"/>
>   <UpgradeVersion OnlyDetect="no" Maximum="19.0.1" IncludeMaximum="no"
> Property="OLDERVERSIONBEINGUPGRADED"/>
> </Upgrade>
>
> How do we ignore APPCOMPAT? Do you need any other info?
>
> Thanks,
>
> Alec
>
> On Wed, Sep 19, 2012 at 2:50 PM, Hoover, Jacob <[hidden email]> wrote:
>
>> Ignore the APPCOMPAT.
>>
>> What does your Upgrade table look like? What are the versions of the old
>> and new MSI?
>>
>> -----Original Message-----
>> From: Alec Swan [mailto:[hidden email]]
>> Sent: Wednesday, September 19, 2012 2:49 PM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: [WiX-users] UI upgrade succeeds, but silent upgrade fails
>>
>> Hello,
>>
>> We are testing upgrade from an older version to the version we are about
>> to release. We noticed that upgrading "msiexec.exe /i my.msi"
>> successfully upgrades the old product files with the new ones.
>> However, silently installing with the following command fails:
>> msiexec.exe /i my.msi REINSTALL=ALL REINSTALLMODE=vomus /qn
>>
>> The log file generated during silent upgrade contains the following
>> messages:
>>
>> APPCOMPAT: looking for appcompat database entry with ProductCode
>> '{15E9E02D-8660-41B3-9373-3E427A392478}'.
>> APPCOMPAT: no matching ProductCode found in database.
>> ..
>> FindRelatedProducts.
>> PROPERTY CHANGE: Adding OLDERVERSIONBEINGUPGRADED property. Its value is
>> '{4B43BAEB-553B-4FAD-9219-C55DA3492D89}'.
>> PROPERTY CHANGE: Adding NEWERVERSIONDETECTED property. Its value is
>> '{4B43BAEB-553B-4FAD-9219-C55DA3492D89}'.
>> Doing action: WixExitEarlyWithSuccess
>> FindRelatedProducts. Return value 1.
>>
>> Does this mean that installer is not finding the previous product version
>> and hence doesn't uninstall it? If so, why would UI upgrade work?
>>
>> I also noticed that we didn't have Package Id specified in the WXS file
>> for the old product. However, we did specify the same Product UpgradeCode in
>> the old and new versions. Is this sufficient?
>>
>> Thanks,
>>
>> Alec
>>
>> ----------------------------------------------------------------------
>> --------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions will include endpoint security, mobile security and the
>> latest in malware threats.
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> WiX-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> ----------------------------------------------------------------------
>> --------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions will include endpoint security, mobile security and the
>> latest in malware threats.
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> WiX-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/UI-upgrade-succeeds-but-silent-upgrade-fails-tp7580671p7580675.html
> To unsubscribe from UI upgrade succeeds, but silent upgrade fails, click
> here.
> NAML




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/UI-upgrade-succeeds-but-silent-upgrade-fails-tp7580671p7580676.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to