Wix Installer
This commit is contained in:
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
|
||||
<!-- Give product a unique ID per platform -->
|
||||
<?if $(var.Platform)=x64 ?>
|
||||
<?define ProductCode = "{DE3B1CBB-BF7B-46BA-BCBB-4B1542C9B3BB}" ?>
|
||||
<?else?>
|
||||
<?define ProductCode = "{B6C0672A-D365-4D2B-B6A1-42E908D181E0}" ?>
|
||||
<?endif?>
|
||||
|
||||
<!-- Fixed upgrade Id -->
|
||||
<?define UpgradeCode = "{8C197FE6-57DF-41FD-A0CD-84B5D3B97BDC}" ?>
|
||||
|
||||
<!-- Define main product -->
|
||||
<Product Id="$(var.ProductCode)"
|
||||
Name="!(loc.ProductName_$(var.Platform))"
|
||||
Language="!(loc.Language)"
|
||||
Version="$(var.BuildVersion)"
|
||||
Manufacturer="!(loc.Company)"
|
||||
UpgradeCode="$(var.UpgradeCode)">
|
||||
|
||||
<!-- Provide package details -->
|
||||
<Package InstallerVersion="200"
|
||||
Compressed="yes"
|
||||
InstallScope="perMachine"
|
||||
Platform="$(var.Platform)"
|
||||
Manufacturer="!(loc.Company)"
|
||||
Description="!(loc.Description)"
|
||||
Keywords="!(loc.Keywords)"
|
||||
Comments="!(loc.Comments)"
|
||||
Languages="!(loc.Language)"
|
||||
/>
|
||||
|
||||
<!-- Downgrade error message -->
|
||||
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" />
|
||||
|
||||
<!-- Include .cab file into .msi file -->
|
||||
<MediaTemplate
|
||||
EmbedCab="yes"
|
||||
/>
|
||||
|
||||
<!-- Define main app icon -->
|
||||
<Icon Id="icon.ico" SourceFile="$(var.ConsoleApp1.ProjectDir)\app.ico" />
|
||||
|
||||
<!-- Use the icon.ico icon for this installer (shows up in Add/Remove programs) -->
|
||||
<Property Id="ARPPRODUCTICON">icon.ico</Property>
|
||||
<!-- Help/Support website (shows in the Add/Remove programs) -->
|
||||
<Property Id="ARPURLINFOABOUT">http://www.angelsix.com</Property>
|
||||
|
||||
<!-- Create a basic UI for the installer -->
|
||||
<UIRef Id="WixUI_Minimal" />
|
||||
|
||||
<!-- Change the installer UI background images -->
|
||||
<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\Assets\License.rtf" />
|
||||
<WixVariable Id="WixUIDialogBmp" Value="$(var.ProjectDir)\Assets\Background.bmp" />
|
||||
<WixVariable Id="WixUIBannerBmp" Value="$(var.ProjectDir)\Assets\Banner.bmp" />
|
||||
|
||||
<!-- Define components, shortcuts, files etc... for installer -->
|
||||
<Feature Id="ProductFeature" Title="ConsoleApp" Level="1">
|
||||
|
||||
<ComponentGroupRef Id="ProductComponents" />
|
||||
<ComponentGroupRef Id="PublishedComponents" />
|
||||
|
||||
</Feature>
|
||||
|
||||
</Product>
|
||||
|
||||
</Wix>
|
||||
Reference in New Issue
Block a user