I'm trying to get my upgrade/downgrade logic correct, and am having trouble 
with FindRelatedProducts.

The output of my log looks like this:
Action start 17:35:33: FindRelatedProducts.
Action ended 17:35:33: FindRelatedProducts. Return value 1.
MSI (c) (9C:44) [17:35:33:309]: Skipping action: DemoOverwrites (condition 
is false)
MSI (c) (9C:44) [17:35:33:309]: Skipping action: InstallingOldVersionError 
(condition is false)


Now I can't really see why this would be the case, as I know that I have 
installed a related product.

Here's the logic from my WiX Files:
    <Upgrade Id='$(var.DemoUpgradeCode)'>
      <UpgradeVersion OnlyDetect='yes' Property='NEWERDEMOFOUND'
                     ExcludeLanguages='yes' IncludeMinimum='no' 
Minimum='$(var.DetectVersion)' />
      <?if $(var.Demo)="1" ?>
      <UpgradeVersion Property='OLDERDEMOFOUND'
                    ExcludeLanguages='yes' OnlyDetect='no' IncludeMaximum 
='no' Maximum='$(var.DetectVersion)' />
      <?else ?>
        <!-- the next line is for release versions updating current versions 
of the demo! -->
        <UpgradeVersion Property='OLDERDEMOFOUND' OnlyDetect='no'
                ExcludeLanguages='yes' IncludeMaximum ='yes' 
Maximum='$(var.DetectVersion)' />
      <?endif ?>
    </Upgrade>

    <Upgrade Id='$(var.RegisteredUpgradeCode)'>
      <UpgradeVersion OnlyDetect='yes' Property='NEWERFULLVERSIONFOUND'
                    ExcludeLanguages='yes' IncludeMinimum='no' 
Minimum='$(var.DetectVersion)' />
      <UpgradeVersion OnlyDetect='no' Property='OLDERFULLVERSIONFOUND'
                ExcludeLanguages='yes' IncludeMaximum='no' 
Maximum='$(var.DetectVersion)' />
    </Upgrade>

Any suggestions on how to debug this, as I'm getting nowhere.  There doesn't 
seem to be any reference to any of my properties in the log file, which I'm 
generating with the msiexec -lvx option

Anthony Wieser
Wieser Sofware Ltd


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to