FindRelatedProducts, Ref: 
http://msdn.microsoft.com/en-us/library/aa368600(VS.85).aspx only runs the 
first time the product is installed.  Hence, I do not believe it is relevant 
for a small update or a minor upgrade.

You can verify this in your scenario by capturing a verbose log file "/l*v 
log.log" and looking at the information for FindRelatedProducts.


MSI (c) (F8:04) [16:03:42:699]: Doing action: FindRelatedProducts MSI (c) 
(F8:04) [16:03:42:699]: Note: 1: 2205 2:  3: ActionText Action 16:03:42: 
FindRelatedProducts. Searching for related applications Action start 16:03:42: 
FindRelatedProducts.

==> MSI (c) (F8:04) [16:03:42:699]: Skipping FindRelatedProducts action: not 
run in maintenance mode Action ended 16:03:42: FindRelatedProducts. Return 
value 0.
.
.
.
MSI (s) (BC:78) [16:03:43:120]: Doing action: RemoveExistingProducts MSI (s) 
(BC:78) [16:03:43:120]: Note: 1: 2205 2:  3: ActionText Action 16:03:43: 
RemoveExistingProducts. Removing applications Action start 16:03:43: 
RemoveExistingProducts.

==> MSI (s) (BC:78) [16:03:43:120]: Skipping RemoveExistingProducts action: 
current configuration is maintenance mode or an uninstall Action ended 
16:03:43: RemoveExistingProducts. Return value 0.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yu, Brian
Sent: Monday, September 15, 2008 11:49 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX Upgrade code

I am doing minor upgrade and my expectation is as follows:

If u installed 1.1.0, then say u upgraded to 1.1.1, then 1.1.2.
If you try apply 1.1.1 again, it should fail the upgrade.

Is this the right concept? Or do we expect the patch to work regardless
of the numbers (which strangely is fine because we don't remove files
that installed by previous upgrades)?

<!-- This is my 1.1.0 -->

    <Upgrade Id='b9bb6a3a-1cd3-4d20-a0b0-769c4eec4d0e'>
        <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND'
          Minimum='1.1.0' IncludeMinimum='no' />
    </Upgrade>

<!-- This is my 1.1.1 -->

    <Upgrade Id='b9bb6a3a-1cd3-4d20-a0b0-769c4eec4d0e'>
      <UpgradeVersion OnlyDetect='yes' Property='PATCHFOUND'
        Minimum='1.1.0' IncludeMinimum='yes' Maximum='1.1.1'
IncludeMaximum='yes'/>
      <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND'
        Minimum='1.1.0' IncludeMinimum='no' />
    </Upgrade>


<!-- This is my 1.1.2 -->

    <Upgrade Id='b9bb6a3a-1cd3-4d20-a0b0-769c4eec4d0e'>
      <UpgradeVersion OnlyDetect='yes' Property='PATCHFOUND'
        Minimum='1.1.1' IncludeMinimum='yes' Maximum='1.1.2'
IncludeMaximum='yes'/>
      <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND'
        Minimum='1.1.1' IncludeMinimum='no' />
    </Upgrade>



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: 13 September 2008 17:25
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX Upgrade code

Yu, Brian wrote:
>         Minimum='2.2.40.499' IncludeMinimum='yes' Maximum='2.2.40.599'
> IncludeMaximum='yes'/>
>
>       <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND'
>
>         Minimum='2.2.40.599' IncludeMinimum='no' />
>

Major upgrades don't distinguish product versions that differ only in
the fourth place. See
http://msdn.microsoft.com/en-us/library/aa372379(VS.85).aspx:

Note that Windows Installer uses only the first three fields of the
product version. If you include a fourth field in your product version,
the installer ignores the fourth field.

--
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


-------------------------------------------------------------------------
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