|
| 1 | +<?xml version="1.0"?> |
| 2 | +<?define Version = "0.2.0"?> |
| 3 | +<?define UpgradeCode = "ABCDDCBA-8392-0202-1993-199374829923"?> |
| 4 | +<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> |
| 5 | + |
| 6 | + <Product Id="*" Name="name" Manufacturer="manufacturer" |
| 7 | + Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" |
| 8 | + Language="1033"> |
| 9 | + |
| 10 | + <Package InstallerVersion="200" Compressed="yes" Comments="comments"/> |
| 11 | + <Media Id="1" Cabinet="cabinet.cab" EmbedCab="yes"/> |
| 12 | + |
| 13 | + <Property Id="ARPHELPLINK" Value="http://www.foobar.baz"/> |
| 14 | + <Property Id="ARPNOMODIFY" Value="1"/> |
| 15 | + <Property Id="ARPNOREPAIR" Value="1"/> |
| 16 | + <Property Id="ARPPRODUCTICON" Value="FoobarAppl10.exe"/> |
| 17 | + <Property Id="ARPURLINFOABOUT" Value="http://www.foobar.baz/info"/> |
| 18 | + <Upgrade Id="$(var.UpgradeCode)"> |
| 19 | + <UpgradeVersion Minimum="$(var.Version)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED"/> |
| 20 | + <UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED"/> |
| 21 | + </Upgrade> |
| 22 | + <Condition Message="A newer version is already installed.">NOT NEWERVERSIONDETECTED</Condition> |
| 23 | + |
| 24 | + <Directory Id="TARGETDIR" Name="SourceDir"> |
| 25 | + <Directory Id="ProgramFilesFolder"> |
| 26 | + <Directory Id="INSTALLDIR" Name="Example"> |
| 27 | + <Component Id="MainExecutable" Guid="ABCDDCBA-2034-1019-3233-949940039491"> |
| 28 | + <File Id="FoobarAppl10.exe" Source="FoobarAppl10.exe"/> |
| 29 | + </Component> |
| 30 | + </Directory> |
| 31 | + </Directory> |
| 32 | + </Directory> |
| 33 | + |
| 34 | + <Feature Id="Complete" Level="1"> |
| 35 | + <ComponentRef Id="MainExecutable"/> |
| 36 | + </Feature> |
| 37 | + |
| 38 | + <InstallExecuteSequence> |
| 39 | + <RemoveExistingProducts After="InstallValidate"/> |
| 40 | + </InstallExecuteSequence> |
| 41 | + |
| 42 | + <Icon Id="FoobarAppl10.exe" SourceFile="FoobarAppl10.exe"/> |
| 43 | + |
| 44 | + </Product> |
| 45 | +</Wix> |
0 commit comments