Testing building msi with wix
This commit is contained in:
parent
9e0b41505c
commit
3c78ff5ad4
2 changed files with 60 additions and 3 deletions
46
resources/windows/syng.wxs
Normal file
46
resources/windows/syng.wxs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||
<Package Language="1033"
|
||||
Manufacturer="Syng Rocks"
|
||||
Name="Syng"
|
||||
Scope="perUserOrMachine"
|
||||
UpgradeCode="092e7e0b-5042-47a1-9673-544d9722f8df"
|
||||
Version="2.1.0">
|
||||
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
|
||||
<Icon Id="syng.ico" SourceFile="syng.ico"/>
|
||||
<Property Id="ARPPRODUCTICON" Value="syng.ico" />
|
||||
<StandardDirectory Id="TARGETDIR">
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="syng">
|
||||
<Component Id="ProductComponent">
|
||||
<File KeyPath="yes" Source="dist\syng.exe" Name="syng.exe"></File>
|
||||
<Shortcut Id="startmenuShortcut"
|
||||
Directory="ProgramMenuDir"
|
||||
Name="syng"
|
||||
WorkingDirectory='INSTALLFOLDER'
|
||||
Icon="syng.ico"
|
||||
IconIndex="0"
|
||||
Advertise="yes" />
|
||||
<Shortcut Id="desktopShortcut"
|
||||
Directory="DesktopFolder"
|
||||
Name="syng"
|
||||
WorkingDirectory='INSTALLFOLDER'
|
||||
Icon="syng.ico"
|
||||
IconIndex="0"
|
||||
Advertise="yes" />
|
||||
</Component>
|
||||
<Directory Name="data">
|
||||
<Files Include="dist\data\**">
|
||||
</Files>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</StandardDirectory>
|
||||
<Directory Id="ProgramMenuFolder" Name="Programs">
|
||||
<Directory Id="ProgramMenuDir" Name="syng"/>
|
||||
</Directory>
|
||||
<StandardDirectory Id="DesktopFolder"/>
|
||||
<Feature Id="syng">
|
||||
<ComponentRef Id="ProductComponent" />
|
||||
</Feature></Package>
|
||||
</Wix>
|
||||
Loading…
Add table
Add a link
Reference in a new issue