2 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
3 <?include .\config.wxi ?>
5 <Product Id='$(var.ProductGuid)'
7 Manufacturer='$(var.Manufacturer)'
8 Name='$(var.ProductName)'
9 Version='$(var.ProductVersion)'
10 UpgradeCode='$(var.UpgradeGuid)'>
13 Description='$(var.PackageDescription)'
14 Keywords='$(var.PackageKeywords)'
15 Manufacturer='$(var.Manufacturer)'
16 Platform='$(var.PackagePlatform)'
17 InstallerVersion='200'
20 <Media Id='1' Cabinet='app.cab' EmbedCab='yes' />
22 <Directory Id='TARGETDIR' Name='SourceDir'>
23 <Directory Id='ProgramFilesFolder' Name='PFiles'>
24 <Directory Id='INSTALLDIR' Name='Moonshot'>
26 <Directory Id='BINDIR' Name='bin'>
27 <Component Id='MainExe' Guid='$(var.MainExeGuid)'>
29 Name='$(var.MainExeFile)'
31 Source='$(var.MainExeSource)'
33 <Shortcut Id='startmenu'
34 Directory='ProgramMenuDir'
35 Name='$(var.ProductName)'
36 WorkingDirectory='INSTALLDIR'
38 <Shortcut Id='desktop'
39 Directory='DesktopFolder'
40 Name='$(var.ProductName)'
41 WorkingDirectory='INSTALLDIR'
49 <Directory Id='ProgramMenuFolder' Name='Programs'>
50 <Directory Id='ProgramMenuDir' Name='$(var.ProductName)'>
51 <Component Id='ProgramMenuDir' Guid='$(var.ProgramMenuDirGuid)'>
52 <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
53 <RegistryValue Root='HKCU' Key='Software\Moonshot' Type='string' Value='' KeyPath='yes' />
58 <Directory Id='DesktopFolder' Name='Desktop'>
62 <Feature Id='Complete' Level='1'>
63 <ComponentRef Id='MainExe' />
64 <ComponentRef Id='ProgramMenuDir' />