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:alecs...@gmail.com] 
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
WiX-users@lists.sourceforge.net
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to