Thanks for the response.

q1 - So is minor upgrade depicted just by a wix sources change such as the 
following <Product Version="1.0.0.0" -> "1.1.0.0" />
and minor upgrade is depicted just by a wix sources change such as the 
following <Product Version="1.1.0.0" -> "2.0.0.0" />?

q2 - do the same REINSTALLMODE switch settings apply when trying to use a patch 
to carry out a minor or major upgrade?   Our understanding at this point of a 
patch vs and upgrade is the patch provides rollback to prior release support 
where a upgrade does not...is that correct?

q3 - Would the following be something that you'd expect to work in terms of 
providing a way for users NOT to have to enter the required command line switch 
settings to get a minor upgrade to work?

<Upgrade Id="D1652FA2-32AC-4D5B-8DCF-5DF11FE128BA">
   <UpgradeVersion Minimum="1.1.0.0" IncludeMinimum="no" OnlyDetect="yes" 
Property="NEWERVERSIONFOUND" />
   <UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes" Maximum="1.1.0.0" 
IncludeMaximum="no" Property="OLDERVERSIONFOUND" />
</Upgrade>

<CustomAction Id="PreventDowngrading" Error="Newer version already installed." 
/>
<CustomAction Id="SetReInstallProperty" Property="REINSTALL" Value="all" 
Execute="firstSequence" />
<CustomAction Id="SetReInstallModeProperty" Property="REINSTALLMODE" 
Value="vomus" Execute="firstSequence" />

<InstallExecuteSequence>
        <Custom Action="PreventDowngrading" 
After="FindRelatedProducts">NEWERVERSIONFOUND</Custom>
        <Custom Action="SetReInstallProperty" 
After="FindRelatedProducts">OLDERVERSIONFOUND</Custom>
        <Custom Action="SetReInstallModeProperty" 
After="FindRelatedProducts">OLDERVERSIONFOUND</Custom>
        <RemoveExistingProducts 
After="InstallFinalize">OLDERVERSIONFOUND</RemoveExistingProducts>


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Friday, September 05, 2008 10:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] does running upgrade msi or patch msi still require 
additional command line switches?

Robert O'Brien wrote:
> Q1 - does running upgrade msi or patch msi still require additional command 
> line switches?
>

Minor upgrades must be applied with arguments. Major upgrades don't need
them.

> Q2 - I seem to recall running into upgrade capable msi's and patch msp's that 
> I could simple double click on and successfully upgrade or patch an existing 
> msi install w/o the need for launching from a command line and including the 
> noted switch settings.   Are those upgrade msi and patch msp's doing 
> something custom to avoid the need for that command line parameter?
>

They're major upgrades.

> Q3 - Is the tutorial denoted difference in the REINSTALLMODE switch setting 
> for a upgrade msi and patch msp, i.e. "vomus" versus "omus", a typo or is the 
> v some kind of verbose reinstall mode flag?
>

See the MSI SDK doc for REINSTALLMODE. You need the 'v' for minor
upgrades but can't have it for the initial install.

--
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to