Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[install] Allow .msi to upgrade older versions
  • Loading branch information
Michael Brown committed Oct 31, 2009
1 parent 088bdcb commit 5bce870
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/msi/sanbootconf.wxs
@@ -1,16 +1,30 @@
<?xml version="1.0"?>
<?define VERSION="0.9.6" ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="a18cf056-825b-46e1-87f9-ac7ffddf2b17"
<Product Id="*"
Name="SAN Boot Configuration Driver"
Language="1033"
Version="0.9.6"
Version="$(var.VERSION)"
Manufacturer="Fen Systems Ltd."
UpgradeCode="27a32dd2-af56-454e-ab5f-8c7f12319dca" >
<Package Description="SAN Boot Configuration Driver"

<Package Id="*"
Description="SAN Boot Configuration Driver"
Manufacturer="Fen Systems Ltd."
InstallerVersion="200"
Compressed="yes" />

<Upgrade Id="27a32dd2-af56-454e-ab5f-8c7f12319dca">
<UpgradeVersion OnlyDetect="yes"
Minimum="$(var.VERSION)"
Property="NEWERVERSIONDETECTED"
IncludeMinimum="no" />
<UpgradeVersion OnlyDetect="no"
Maximum="$(var.VERSION)"
Property="OLDERVERSIONBEINGUPGRADED"
IncludeMaximum="no" />
</Upgrade>

<Media Id="1" Cabinet="sanbootconf.cab" EmbedCab="yes" />

<Directory Id="TARGETDIR" Name="SourceDir">
Expand Down Expand Up @@ -70,6 +84,7 @@
Return="check" />

<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize" />
<Custom Action="run_setup_bat" Before="InstallFinalize">
<![CDATA[NOT Installed]]>
</Custom>
Expand Down

0 comments on commit 5bce870

Please sign in to comment.