-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsi.wxs
38 lines (37 loc) · 2.15 KB
/
msi.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
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
<!--
MSIProductVersion is defined in Pixed.Msi.wixproj as 0.0.1 for local desktop builds.
You should pass in the MSBuild Property 'MSIProductVersion' to override it during an automated build.
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa370859%28v=vs.85%29.aspx for information on allowable values.
The Product@Id attribute (ProductCode Property) will be a random GUID for each build. This is to support "Major Upgrades" where each install
is a seamless uninstall/reinstall.
-->
<Package Name="Pixed - Pixelart Editor" Language="1033" Version="1.12.0.0" Manufacturer="Mateusz Nejman" UpgradeCode="304bbbda-4a63-42e3-b3dc-00689df0d256">
<MediaTemplate EmbedCab="yes" />
<!-- Major Upgrade Rule to disallow downgrades -->
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Icon Id="Icon.ico" SourceFile="Pixed.Application\Resources\icon.ico"/>
<Property Id="ARPPRODUCTICON" Value="Icon.ico"></Property>
<Property Id="DISABLEADVTSHORTCUTS" Value="1"></Property>
<UI Id="UI">
<ui:WixUI Id="WixUI_FeatureTree" />
<UIRef Id="WixUI_ErrorProgressText" />
</UI>
<StandardDirectory Id="ProgramFiles6432Folder">
<Directory Id="CompanyFolder" Name="Mateusz Nejman">
<Directory Id="INSTALLLOCATION" Name="Pixed"/>
</Directory>
</StandardDirectory>
<Feature Id="Pixed.Msi" Title="Pixed - Pixelart Editor" Description="Installer for Pixed - Pixelart Editor" Level="1" AllowAdvertise="no" ConfigurableDirectory="INSTALLLOCATION">
<Files Directory="INSTALLLOCATION" Include="build\Deploy-win\**">
<Exclude Files="build\Deploy-win\Pixed.exe"/>
</Files>
<Component Directory="INSTALLLOCATION">
<File Source="build\Deploy-win\Pixed.exe" KeyPath="yes">
<Shortcut Id="scC60EF6135229BA07A072F4333329ECAB" Name="Pixed - Pixelart Editor" Directory="DesktopFolder" Advertise="yes" />
<Shortcut Id="scC0F27A1BC981A2B97587AC99CDF411ED" Name="Pixed - Pixelart Editor" Directory="ProgramMenuFolder" Advertise="yes" />
</File>
</Component>
</Feature>
</Package>
</Wix>