Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  3. <Product Id="{534B3394-B675-F392-DDEA-E604E44048FC}"
  4. Name="Mark43CAD" Version="0.26.0" Manufacturer="Mark43, Inc" Language="1033">
  5. <Package InstallerVersion="200" Compressed="yes" Comments="Windows Installer Package"/>
  6. <Media Id="1" Cabinet="product.cab" EmbedCab="yes"/>
  7.  
  8. <Icon Id="icon.ico" SourceFile="icon.ico"/>
  9. <Property Id="ARPPRODUCTICON" Value="icon.ico" />
  10.  
  11. <Directory Id="TARGETDIR" Name="SourceDir">
  12. <Directory Id="ProgramFilesFolder">
  13. <Directory Id="APPLICATIONROOTDIRECTORY" Name="My Application Name"/>
  14. </Directory>
  15. </Directory>
  16.  
  17. <DirectoryRef Id="APPLICATIONROOTDIRECTORY">
  18. <Component Id="myapplication.exe" Guid="{A0DE5BA0-017B-B9C6-DAE8-A2F9AC0A0A10}">
  19. <File Id="myapplication.exe" Source="My SetupFile.exe" KeyPath="yes" Checksum="yes"/>
  20. </Component>
  21. </DirectoryRef>
  22.  
  23. <Feature Id="MainApplication" Title="Main Application" Level="1">
  24. <ComponentRef Id="myapplication.exe" />
  25. </Feature>
  26.  
  27. <InstallExecuteSequence>
  28. <Custom Action='LaunchInstalledExe' After='InstallFinalize'/>
  29. </InstallExecuteSequence>
  30.  
  31. <CustomAction Id="LaunchInstalledExe"
  32. FileKey="myapplication.exe"
  33. ExeCommand=""
  34. Execute="immediate"
  35. Impersonate="yes"
  36. Return="asyncNoWait" />
  37.  
  38. </Product>
  39. </Wix>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement