To do major upgrade (from that web page Pally supplied) you would need to
either remove the OnlyDetect attribute or change its value to "no" AND
change the Product Id between builds/releases.

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Monday, November 23, 2009 4:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrading

That's known as a Minor Update but it's only one of the available upgrade
types.

See http://msdn.microsoft.com/en-us/library/aa370579.aspx 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
G20 0SP
Email Disclaimer


-----Original Message-----
From: Daniel Marjamäki [mailto:daniel...@spray.se] 
Sent: 21 November 2009 10:59
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrading



Sorry.. the solution was to execute the msi like this:

msiexec.exe /I product.msi REINSTALL=All REINSTALLMODE=vomus

So I am not stuck anymore.

Regards,
Daniel



Daniel Marjamäki wrote:
> 
> I am having trouble with upgrades.
> Upon installation I want to completely uninstall any old versions.
> 
> I have seen so many answers about this in various places. But nothing 
> works.
> 
> I use the same UpgradeCode in both old and new versions.
> I use the same Product Id in both old and new versions.
> 
> I use wix 3.0.5419.0
> 
> Here is my WIX code:
> 
>     <Upgrade Id='$(var.ProductUpgradeCode)'>
>       <UpgradeVersion OnlyDetect='no' Property='PREVIOUSFOUND'
>        Minimum='1.0.0' IncludeMinimum='yes'
>        Maximum='$(var.ProductVersion)' IncludeMaximum='no' />
>     </Upgrade>
> 
>     <InstallExecuteSequence>
>         <RemoveExistingProducts After="InstallInitialize" />
>     </InstallExecuteSequence>
> 
> When I compile that I get no error messages.
> When I execute the MSI I get an error message that another version is 
> already installed and I need to uninstall that manually.
> 
> What is the PREVIOUSFOUND good for? I don't have it anywhere else in 
> my WIX file. None of the answers I have seen so far have explained this.
> 
> I wonder how the RemoveExistingProducts knows which entry to look at 
> in the upgrade table. If I have two UpgradeVersion elements in the 
> upgrade table (to also prevent downgrade) then a newer version of my 
> program might be matched in the upgrade table.
> 
> 

--
View this message in context:
http://n2.nabble.com/Upgrading-tp4042099p4042249.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to