Okay, so let's say I'm doing a major upgrade. I still get the same issues. Any suggestions? My .wxs code is below. What am I doing wrong?
-----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, December 29, 2010 4:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is upgrading without caching possible. The Upgrade element is only used for major upgrades. Minor upgrades are a different (often more difficult) mechanism for upgrading. The MSI SDK has a few great pages about the differences between Major and Minor upgrades. I typically recommend major upgrades. On Wed, Dec 29, 2010 at 9:58 AM, Galuza Michael <mdgal...@dejarnette.com>wrote: > I've been trying to do an upgrade and everything I try gives me one of 3 > results: > > > > 1) I immediately get a message saying another version of the product > is installed, installation can't continue. > > 2) The install goes into maintenance mode and asks me if I want to > Repair or uninstall. > > 3) The system tries to access the cached version of the previous MSI > (which is not available) and I get a message saying there was a network > error trying to access the old MSI. > > > > I started out by using the instructions for an upgrade here: > http://www.tramontana.co.hu/wix/. I tried implementing a minor upgrade > by setting Upgrade/UpgradeVersion/@OnlyDetect to "yes" and running this: > > > > Msiexec /I x.msi REINSTALL=ALL REINSTALLMODE=vomus > > > > This resulted in error #3. After looking through this discussion list > I've tried various suggestions and ideas, such as doing a major upgrade > by setting OnlyDetect to "no", removing the "v" from REINSTALLMODE > and/or removing the REINSTALL option entirely. Every combination gives > me one of the 3 errors above. > > > > Here is the important wxs "code" from my "old" install (the entire file > is VERY big so I'm not posting all of it): > > > > <?xml version='1.0' encoding='windows-1252'?> > > <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'> > > <Product Name="xxx" Version="4.00.0008" Manufacturer="xxx, Inc." > Id="E881549F-8E1E-4272-A833-9B5A36697BB5" Language="1033" > UpgradeCode="6FF33788-50F7-4e37-B240-BC3AF1B7A71B" > > > > > <Package Id='????????-????-????-????-????????????' > Keywords='Installer' > > Description="xxx" > > Manufacturer='xxx, Inc.' > > InstallerVersion='200' Languages='1033' SummaryCodepage='1252' /> > > > > Here is the wxs code from my new install (or the latest incarnation of > it anyway): > > > > <?xml version="1.0" encoding="utf-8"?> > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" > xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension" > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> > > <Product Name="PACSWare Intelligent Router" Version="5.01.0001" > Manufacturer="DeJarnette Research Systems, Inc." > Id="E881549F-8E1E-4272-A833-9B5A36697BB5" Language="1033" > UpgradeCode="6FF33788-50F7-4e37-B240-BC3AF1B7A71B"> > > <Package Id="*" Keywords="Installer" Description="PACSWare > Intelligent Router" Manufacturer="DeJarnette Research Systems, Inc." > InstallerVersion="300" Languages="1033" SummaryCodepage="1252" /> > > > > <Upgrade Id='6FF33788-50F7-4e37-B240-BC3AF1B7A71B'> > > <UpgradeVersion OnlyDetect="no" Property="VPRE4FOUND" > > Maximum='4.00.0008' IncludeMaximum='no' /> > > <UpgradeVersion OnlyDetect='no' Property="V4FOUND" > > Minimum='4.00.0008' IncludeMinimum='yes' > > Maximum='4.00.0008' IncludeMaximum='yes' /> > > <UpgradeVersion OnlyDetect='no' Property="V50FOUND" > > Minimum='4.00.0008' IncludeMinimum='no' > > Maximum='5.01.0001' IncludeMaximum='no'/> > > <UpgradeVersion OnlyDetect='no' Property="V51FOUND" > > Minimum='5.01.0001' IncludeMinimum='yes' > > Maximum='5.01.0001' IncludeMaximum='yes' /> > > <UpgradeVersion OnlyDetect='no' Property="POSTV51FOUND" > > Minimum='5.01.0001' IncludeMinimum='no'/> > > </Upgrade> > > > > <CustomAction Id="CurrVerTooOld" Error='You can only upgrade to > [ProductName] V5.1 from V4.0 build 8 or higher.' /> > > <CustomAction Id="NoDowngrade" Error='A later version of > [ProductName] is already installed.' /> > > <CustomAction Id="AlreadyInstalled" Error='[ProductName] V5.1 is > already installed.' /> > > > > I've always been able to figure out any WIX problems I've had by > searching the internet, but this one has me stumped. So any help or > suggestions are appreciated. > > > > Thanks, > > Mike > > > ------------------------------------------------------------------------ ------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------ ------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users