|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
| 3 | + <Product Id="*" Name="MyApp" Language="1033" Version="1.0.0" Manufacturer="MyCompany" UpgradeCode="PUT-GUID-HERE"> |
| 4 | + <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> |
| 5 | + |
| 6 | + <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
| 7 | + |
| 8 | + <MediaTemplate EmbedCab="yes" /> |
| 9 | + |
| 10 | + <Feature Id="ProductFeature" Title="MyApp" Level="1"> |
| 11 | + <ComponentGroupRef Id="ProductComponents" /> |
| 12 | + </Feature> |
| 13 | + |
| 14 | + <UIRef Id="WixUI_Minimal" /> |
| 15 | + </Product> |
| 16 | + |
| 17 | + <Fragment> |
| 18 | + <Directory Id="TARGETDIR" Name="SourceDir"> |
| 19 | + <Directory Id="ProgramFilesFolder"> |
| 20 | + <Directory Id="INSTALLFOLDER" Name="MyApp" /> |
| 21 | + </Directory> |
| 22 | + </Directory> |
| 23 | + </Fragment> |
| 24 | + |
| 25 | + <Fragment> |
| 26 | + <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
| 27 | + <!-- Add your application files here --> |
| 28 | + <Component Id="MyAppExecutable" Guid="PUT-GUID-HERE"> |
| 29 | + <File Source="path-to-your-application-executable" /> |
| 30 | + </Component> |
| 31 | + </ComponentGroup> |
| 32 | + </Fragment> |
| 33 | +</Wix> |
0 commit comments