-
Notifications
You must be signed in to change notification settings - Fork 6
/
BullyCPP.wxs
57 lines (48 loc) · 2.4 KB
/
BullyCPP.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="BullyCPP" Language="1033" Version="1.1.0.0" Manufacturer="George Hilliard" UpgradeCode="{8AD9DF1E-FAC8-442D-9F69-91D439E154B4}">
<Package InstallerVersion="405" Compressed="yes" InstallScope="perMachine"/>
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes"/>
<Feature Id="Complete" Title="BullyCPP" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Feature Id="VCRedist" Title="Visual C++ 12.0 Runtime" AllowAdvertise="no" Display="hidden" Level="1">
<MergeRef Id="VCRedist"/>
</Feature>
<Icon Id="BullyCPP.ico" SourceFile="..\src\BullyCPP.ico"/>
<Property Id="ARPPRODUCTICON" Value="BullyCPP.ico" />
<Property Id="ARPHELPLINK" Value="https://www.github.com/thirtythreeforty/bullycpp" />
<Property Id="MSIINSTALLPERUSER" Value="1"/>
<UIRef Id="WixUI_Minimal" />
<WixVariable Id="WixUILicenseRtf" Value="gpl3.0.rtf" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="BullyCPP" />
</Directory>
<Directory Id="ProgramMenuFolder"/>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLDIR">
<Component Id="MainExecutable" Guid="{2D3EBD62-670F-4A8F-B2A1-76E380E66618}">
<File Id="BullyCPPWEXE" Name="BullyCPPw.exe" Source="BullyCPPw.exe" KeyPath="yes">
<Shortcut Id="BullyCPPStartMenuShortcut" Directory="ProgramMenuFolder" Name="BullyCPP"
WorkingDirectory="PersonalFolder" Icon="BullyCPP.ico" Advertise="yes"/>
</File>
</Component>
<Component Id="ConsoleWrapper" Guid="{857944F9-C30C-4B89-B64D-4A515C58D623}">
<File Id="BullyCPPEXE" Name="BullyCPP.exe" Source="BullyCPP.exe" KeyPath="yes" />
</Component>
<Component Id="RemovableUserSettings" Guid="{D5855E5E-79E5-4AD4-BD65-41B133630254}">
<RegistryValue Root='HKCU' Key='Software\thirtythreeforty\[ProductName]' Type='string' Value='' KeyPath='yes' />
<RemoveRegistryKey Root="HKCU" Action="removeOnUninstall" Key="Software\thirtythreeforty\[ProductName]"/>
</Component>
</ComponentGroup>
<DirectoryRef Id="TARGETDIR">
<Merge Id="VCRedist" SourceFile="Microsoft_VC120_CRT_x86.msm" Language="0" DiskId="1"/>
</DirectoryRef>
</Fragment>
</Wix>