Created
November 17, 2012 12:15
-
-
Save rrreese/4095447 to your computer and use it in GitHub Desktop.
A gentle introduction to WiX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Define Instalation Components--> | |
<Directory Id="TARGETDIR" Name="SourceDir"> | |
<Directory Id="StartMenuFolder"/> | |
<Directory Id="ProgramFilesFolder"> | |
<Directory Id="INSTALLLOCATION" Name="WixTest"> | |
<Component Id="ProductComponent" Guid="b3915d8f-0301-40a0-8d09-66076e0ac43e"> | |
<File Id="testFile" Name="testFile.txt" Source="c:\TestFile.txt"> | |
<Shortcut Id="testShortcut" Name="testFileShortCut" Directory="StartMenuFolder" Advertise="yes" /> | |
</File> | |
<File Id="testFile1" Name="testFile1.txt" Source="c:\TestFile1.txt" /> | |
<File Id="testFile2" Name="testFile2.txt" Source="c:\TestFile2.txt" /> | |
<File Id="testFile3" Name="testFile3.txt" Source="c:\TestFile3.txt" /> | |
</Component> | |
</Directory> | |
</Directory> | |
</Directory> | |
<!--Install--> | |
<Feature Id="ProductFeature" Title="WixTest" Level="1"> | |
<ComponentRef Id="ProductComponent" /> | |
</Feature> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
<Product Id="5fffca1a-e20b-4b76-924a-a915f3124a11" Name="WixTest" Language="1033" Version="1.0.0.0" Manufacturer="WixTest" UpgradeCode="8e607b01-0d14-4c3e-b135-53631a6b44ff"> | |
<Package InstallerVersion="200" Compressed="yes" /> | |
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> | |
<Directory Id="TARGETDIR" Name="SourceDir"> | |
<Directory Id="ProgramFilesFolder"> | |
<Directory Id="INSTALLLOCATION" Name="WixTest"> | |
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. --> | |
<!-- <Component Id="ProductComponent" Guid="b3915d8f-0301-40a0-8d09-66076e0ac43e"> --> | |
<!-- TODO: Insert files, registry keys, and other resources here. --> | |
<!-- </Component> --> | |
</Directory> | |
</Directory> | |
</Directory> | |
<Feature Id="ProductFeature" Title="WixTest" Level="1"> | |
<!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. --> | |
<!-- <ComponentRef Id="ProductComponent" /> --> | |
</Feature> | |
</Product> | |
</Wix> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment