Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
- <Product Id="7053032F-5BEB-4DDC-8285-732236C39645" Name="TestProduct" Language="1033" Version="1.0.0.1" Manufacturer="WixEdit" UpgradeCode="7F4A46B0-A6E7-4EEA-8655-235BCA4AB2C4">
- <Package Description="Test file in a Product" Comments="Simple test" InstallerVersion="200" Compressed="yes" />
- <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
- <Directory Id="TARGETDIR" Name="SourceDir">
- <Directory Id="ProgramFilesFolder" Name="PFiles">
- <Directory Id="TESTPKG" Name="TestPKG">
- <Component Id="MEMHIS_PHASE_2_TESTING_RESULTS.DOCX" DiskId="1" Guid="D39E8C20-F0A8-420B-B023-B619889C9EEE">
- <File Id="MEMHIS_PHASE_2_TESTING_RESULTS.DOCX" Name="Memhis Phase 2 Testing results.docx" Source="D:\TestPKG\Memhis Phase 2 Testing results.docx" />
- </Component>
- <Component Id="NEW_TEXT_DOCUMENT.TXT" DiskId="1" Guid="178B34EC-684E-4202-977F-372748CBD579">
- <File Id="NEW_TEXT_DOCUMENT.TXT" Name="New Text Document.txt" Source="D:\TestPKG\New Text Document.txt">
- <Shortcut Id="desktopShortcut" Directory="DesktopFolder" Name="New Text Doc" WorkingDirectory="INSTALLDIR" Advertise="no" Icon="DesktopIcon.exe" IconIndex="0" />
- <Shortcut Id="ExeShortcut" Directory="ProgramMenuDir" Name="New Text Doc" Advertise="no" Icon="StartMenuIcon.exe" IconIndex="0" />
- </File>
- </Component>
- <Directory Id="TESTDIR" Name="TestDir">
- <Component Id="IMAGES.JPG" DiskId="1" Guid="30BD1E10-2CAA-4233-863C-3E649A057D6C">
- <File Id="IMAGES.JPG" Name="images.jpg" Source="D:\TestPKG\TestDir\images.jpg" />
- </Component>
- <Component Id="PROXY.TXT" DiskId="1" Guid="ABFCB4BC-3932-4CE5-AA58-D4B14E69FF40">
- <File Id="PROXY.TXT" Name="proxy.txt" Source="D:\TestPKG\TestDir\proxy.txt" />
- </Component>
- </Directory>
- </Directory>
- </Directory>
- <Directory Id="DesktopFolder" />
- <Directory Id="ProgramMenuFolder">
- <Directory Id="ProgramMenuDir" Name="New Text Doc">
- <Component Id="StartMenuShortcuts" Guid="14F8572B-47A3-4B4A-AE5D-F30CC17AB214">
- <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
- <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" />
- <Shortcut Id="UninstallProduct" Name="Uninstall" Description="Uninstalls the application" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
- </Component>
- </Directory>
- </Directory>
- </Directory>
- <!-- Desktop Menu -->
- <DirectoryRef Id="DesktopFolder">
- <Component Id="FooDesktopShortcutMenu" Guid="D4D0A2ED-C0DB-4524-AC53-D30F904DB846">
- <Shortcut Id="FooApplicationDesktopShortcut"
- Name="Foo Application"
- Description="The Foo is Cool!"
- Target="[#NEW_TEXT_DOCUMENT.TXT]"
- WorkingDirectory="INSTALLFOLDER"
- Directory="DesktopFolder"/>
- <RemoveFolder Id="DesktopFolder" On="uninstall"/>
- <RegistryValue Root="HKCU" Key="Software\Microsoft\FooApplication" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
- </Component>
- </DirectoryRef>
- <Feature Id="DefaultFeature" Title="Main Feature" Level="1">
- <ComponentRef Id="MEMHIS_PHASE_2_TESTING_RESULTS.DOCX" />
- <ComponentRef Id="NEW_TEXT_DOCUMENT.TXT" />
- <ComponentRef Id="IMAGES.JPG" />
- <ComponentRef Id="PROXY.TXT" />
- <ComponentRef Id="StartMenuShortcuts" />
- <ComponentRef Id="FooDesktopShortcutMenu"/>
- </Feature>
- <UI />
- <UIRef Id="WixUI_Minimal" />
- <Icon Id="DesktopIcon.exe" SourceFile="D:\TestPKG\New Text Document.txt" />
- <Icon Id="StartMenuIcon.exe" SourceFile="D:\TestPKG\New Text Document.txt" />
- </Product>
- </Wix>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement