Hi,

I have created setup msi and it works fine. Then, I created minor
upgrade msi and I would like to check what version of my program is
installed on the machine to see if I should proceed to install.

I added some code as follows.

    <Upgrade Id="fea8ad46-55f2-481a-8735-cbd721ccb3ec">
      <UpgradeVersion OnlyDetect="yes" Property="SELFFOUND"
                      Minimum="1.0.1" IncludeMinimum="yes"
                      Maximum="1.0.1" IncludeMaximum="yes" />
      <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND'
        Minimum='1.0.2' IncludeMinimum='no' />
    </Upgrade>

    <CustomAction Id='AlreadyUpdated' Error='[ProductName] is already
installed.' />
    <CustomAction Id='NoDowngrade' Error='A later version of
[ProductName] is already installed.' />

    <InstallExecuteSequence>
      <Custom Action="NoDowngrade"
After="FindRelatedProducts">NEWERFOUND</Custom>
      <Custom Action="AlreadyUpdated"
After="FindRelatedProducts">SELFFOUND</Custom>
    </InstallExecuteSequence>

But looking at the logs I found that actions are skipped because I am
running this msi in maintenance mode and thus, FindRelatedProducts
action is skipped.
So I am wondering how I can cause msi to run my custom actions to
check versions.
Please let me know if anyone dealt with this issue before. Thanks.


YEH <><

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to