Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  3.   <Product Id="*" Name="RLaunch" Language="1033" Version="0.0.0.1" Manufacturer="RE-liON" UpgradeCode="ba96767a-c4ff-4ee3-80b1-e36dbd2922de">
  4.     <Package InstallerVersion="301" Compressed="yes" InstallScope="perMachine" Platform="x64" Description="RE-liON Remote Launch Tool."
  5.             Comments="Not an Internet-secure application! Only use within protected LANs and only allow firewall access from trusted networks." />
  6.  
  7.     <MajorUpgrade DowngradeErrorMessage="A newer version of RLaunch is already installed." />
  8.     <MediaTemplate EmbedCab="no" />
  9.  
  10.     <Directory Id="TARGETDIR" Name="SourceDir">  <!-- runtime-value of TARGETDIR: C:\ -->
  11.       <!-- Merge module for Visual C++ Runtime DLLs (msvcp140.dll)  -->
  12.       <!-- Location usually C:\Program Files (x86)\Common Files\Merge Modules -->
  13.       <!-- You will need to update this when you update visual C++-->
  14.       <Merge Id="CRT" Language="0" SourceFile="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_CRT_x64.msm" DiskId="1" />
  15.  
  16.       <!-- The program files folder -->
  17.       <Directory Id="ProgramFiles64Folder">
  18.         <Directory Id="relionDir" Name="RE-liON">
  19.           <Directory Id="INSTALLFOLDER" Name="RLaunch" />
  20.         </Directory>
  21.       </Directory>
  22.  
  23.       <!-- For start menu shortcut -->
  24.       <Directory Id="ProgramMenuFolder">
  25.         <Directory Id="ApplicationProgramsFolder" Name="RLaunch">
  26.           <Component Id="ApplicationShortcuts" Guid="4EC08206-9910-4621-BC4A-546562105775">
  27.             <Shortcut Id="ApplicationShortcut1" Name="RLaunch" Description="Start RLaunch (or show settings if already active)" Target="[INSTALLFOLDER]RLaunch.exe" WorkingDirectory="INSTALLFOLDER"/>
  28.             <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
  29.             <RegistryValue Root="HKCU" Key="Software\re-lion\re-lion Scenario Remote Launcher" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
  30.           </Component>
  31.         </Directory>
  32.       </Directory>
  33.      
  34.  
  35.     </Directory>
  36.  
  37.  
  38.     <!-- The source files -->
  39.     <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
  40.       <Component Id="ProductComponent" Win64="yes">
  41.        
  42.         <!-- Source EXE (main app) -->
  43.         <File Source="$(var.RLaunch.TargetPath)" Id="MainAppExe" KeyPath="yes"/>
  44.         <!-- Source DLL (dialogs DLL) -->
  45.         <File Source="$(var.rlaunch_dialogs.TargetPath)" />
  46.        
  47.       </Component>
  48.     </ComponentGroup>
  49.  
  50.      
  51.     <Feature Id="Complete" Title="RLaunchSetup" Level="1">
  52.       <!-- somehow include the VC Redist merge module -->
  53.       <MergeRef Id="CRT"/>
  54.       <ComponentGroupRef Id="ProductComponents" />
  55.       <ComponentRef Id="ApplicationShortcuts" />
  56.     </Feature>
  57.    
  58.   </Product>
  59.  
  60. </Wix>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement