Files
renderdoc/scripts/installer/Installer32.wxs
T
baldurk e36204da09 Bump the MSI version to 3.1, since the VS2015 redist requires it
* 3.1 is still available everywhere we care about - I think even 4.5
  ships with win7.
2017-05-19 13:27:12 +01:00

288 lines
16 KiB
XML

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='RenderDoc' Id='*' UpgradeCode='D320753C-4B18-4905-A752-E68959943E7D'
Language='1033' Codepage='1252' Version='$(env.RENDERDOC_VERSION)' Manufacturer='Baldur Karlsson'>
<Package Id='*' Keywords='Installer' Description="Installer for RenderDoc"
Comments='RenderDoc Homepage is http://renderdoc.org/' Manufacturer='Baldur Karlsson'
InstallerVersion='301' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
<UI>
<Error Id="25000">Please use the 64-bit installer</Error>
</UI>
<CustomAction Id="Need64BitVersion" Error="25000" />
<InstallUISequence>
<Custom Action="Need64BitVersion" Before="AppSearch">VersionNT64</Custom>
</InstallUISequence>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize"/>
</InstallExecuteSequence>
<Upgrade Id="D320753C-4B18-4905-A752-E68959943E7D">
<UpgradeVersion Minimum="0.18.0"
IncludeMinimum="yes"
IncludeMaximum="yes"
Maximum="$(env.RENDERDOC_VERSION)"
Property="OLDERVERSIONBEINGUPGRADED" />
<UpgradeVersion OnlyDetect="yes" Property="NEWERVERSIONDETECTED" Minimum="$(env.RENDERDOC_VERSION)" IncludeMinimum="no" />
</Upgrade>
<Condition Message="A later version of [ProductName] is already installed">
NOT NEWERVERSIONDETECTED
</Condition>
<Media Id='1' Cabinet='renderdoc.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
<Property Id='DiskPrompt' Value="RenderDoc Installation [1]" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='INSTALLDIR' Name='RenderDoc'>
<Component Id='RenderDocUI' Guid='0DB375D5-7712-4853-AA75-536DF863C827'>
<File Id='renderdocuiEXE' Name='renderdocui.exe' DiskId='1' Source='dist/Release32/renderdocui.exe' KeyPath='yes'>
<Shortcut Id="startmenuRenderDoc" Directory="ProgramMenuDir" Name="RenderDoc" WorkingDirectory='INSTALLDIR' Icon="icon.ico" IconIndex="0" Advertise="yes" />
</File>
<File Id='renderdocuiPDB' Name='renderdocui.pdb' DiskId='1' Source='dist/Release32/renderdocui.pdb' />
<File Id='renderdocuiCFG' Name='renderdocui.exe.config' DiskId='1' Source='dist/Release32/renderdocui.exe.config' />
<RegistryValue Root="HKLM" Id="VerbRDC" Action="write"
Key="Software\Classes\RenderDoc.RDCCapture.1\shell\open\command"
Value='"[#renderdocuiEXE]" "%1"'
Type="expandable" />
<RegistryValue Root="HKLM" Id="VerbDescRDC" Action="write"
Key="Software\Classes\RenderDoc.RDCCapture.1"
Value='RenderDoc Capture Log (.rdc)'
Type="expandable" />
<RegistryValue Root="HKLM" Id="VerbIconRDC" Action="write"
Key="Software\Classes\RenderDoc.RDCCapture.1\DefaultIcon"
Value='[#renderdocuiEXE]'
Type="expandable" />
<RegistryValue Root="HKLM" Id="RDCProgIDCLSID" Action="write"
Key="Software\Classes\RenderDoc.RDCCapture.1\CLSID"
Value='{5D6BF029-A6BA-417A-8523-120492B1DCE3}'
Type="expandable" />
<RegistryValue Root="HKLM" Id="VerbCAP" Action="write"
Key="Software\Classes\RenderDoc.RDCSettings.1\shell\open\command"
Value='"[#renderdocuiEXE]" "%1"'
Type="expandable" />
<RegistryValue Root="HKLM" Id="VerbDescCAP" Action="write"
Key="Software\Classes\RenderDoc.RDCSettings.1"
Value='RenderDoc Capture Settings (.cap)'
Type="expandable" />
<RegistryValue Root="HKLM" Id="VerbIconCAP" Action="write"
Key="Software\Classes\RenderDoc.RDCSettings.1\DefaultIcon"
Value='[#renderdocuiEXE]'
Type="expandable" />
</Component>
<Component Id='RenderDocCPP' Guid='2E6F718F-8BCC-4D41-9688-E99CF2F6B303'>
<File Id='RenderDocCPP' Name='renderdoc.dll' DiskId='1' Source='dist/Release32/renderdoc.dll' KeyPath='yes' />
<File Id='RenderDocJSON' Name='renderdoc.json' DiskId='1' Source='dist/Release32/renderdoc.json' />
<File Id='D3DCompiler47' Name='d3dcompiler_47.dll' DiskId='1' Source='dist/Release32/d3dcompiler_47.dll' />
<File Id='RenderDocSHIM' Name='renderdocshim32.dll' DiskId='1' Source='dist/Release32/renderdocshim32.dll' />
<File Id='dbghelpDLL' Name='dbghelp.dll' DiskId='1' Source='dist/Release32/dbghelp.dll' />
<File Id='symsrvDLL' Name='symsrv.dll' DiskId='1' Source='dist/Release32/symsrv.dll' />
<File Id='symsrvYES' Name='symsrv.yes' DiskId='1' Source='dist/Release32/symsrv.yes' />
<File Id='RenderDocAPIheader' Name='renderdoc_app.h' DiskId='1' Source='dist/Release32/renderdoc_app.h' />
<RegistryValue Root="HKLM" Id="RDCCLSID" Action="write"
Key="Software\Classes\CLSID\{5D6BF029-A6BA-417A-8523-120492B1DCE3}"
Value='RenderDoc Thumbnail Handler'
Type="expandable" />
<RegistryValue Root="HKLM" Id="RDCCLSIDServer" Action="write"
Key="Software\Classes\CLSID\{5D6BF029-A6BA-417A-8523-120492B1DCE3}\InprocServer32"
Value='[#RenderDocCPP]'
Type="expandable" />
<RegistryValue Root="HKLM" Id="RDCVulkanImplicitLayer" Action="write"
Key="Software\Khronos\Vulkan\ImplicitLayers"
Name='[#RenderDocJSON]'
Value='0'
Type="integer" />
</Component>
<Component Id='LICENSE' Guid='107AD4E6-D64F-4284-A1F6-D8AAAA6CFC42'>
<File Id='LICENSE' Name='LICENSE.rtf' DiskId='1' Source='scripts/installer/LICENSE.rtf' KeyPath='yes' />
</Component>
<Component Id='RenderDocCMD' Guid='97338A5D-8FDB-4DF5-AEC7-14B36F234F29'>
<File Id='RenderDocCMD' Name='renderdoccmd.exe' DiskId='1' Source='dist/Release32/renderdoccmd.exe' KeyPath='yes' />
</Component>
<Component Id='Scintilla' Guid='63C1C176-5B7C-4D29-9382-8E0FA75C5B80'>
<File Id='ScintillaNET' Name='ScintillaNET.dll' DiskId='1' Source='dist/Release32/ScintillaNET.dll' KeyPath='yes' />
<File Id='SciLexer' Name='SciLexer.dll' DiskId='1' Source='dist/Release32/SciLexer.dll' />
<File Id='SciLexer64' Name='SciLexer64.dll' DiskId='1' Source='dist/Release32/SciLexer64.dll' />
</Component>
<Component Id='DockingUI' Guid='5FA0B96B-66C9-44B8-B20F-1680FAA47CD1'>
<File Id='WinFormsUIDLL' Name='WeifenLuo.WinFormsUI.Docking.dll' DiskId='1' Source='dist/Release32/WeifenLuo.WinFormsUI.Docking.dll' KeyPath='yes' />
</Component>
<Component Id='IronPython' Guid='63C5667D-38DA-464B-8E2F-B2857B8EAEC8'>
<File Id='IronPythonDLL' Name='IronPython.dll' DiskId='1' Source='dist/Release32/IronPython.dll' KeyPath='yes' />
<File Id='IronPythonModulesDLL' Name='IronPython.Modules.dll' DiskId='1' Source='dist/Release32/IronPython.Modules.dll' />
<File Id='MicrosoftScriptingDLL' Name='Microsoft.Scripting.dll' DiskId='1' Source='dist/Release32/Microsoft.Scripting.dll' />
<File Id='MicrosoftDynamicDLL' Name='Microsoft.Dynamic.dll' DiskId='1' Source='dist/Release32/Microsoft.Dynamic.dll' />
<File Id='PythonLibsZIP' Name='pythonlibs.zip' DiskId='1' Source='dist/Release32/pythonlibs.zip' />
</Component>
<Component Id='Documentation' Guid='CD32B446-6DC1-49E4-8FE9-509E1AFB126D'>
<File Id='Documentation' Name='renderdoc.chm' DiskId='1' Source='dist/Release32/renderdoc.chm' KeyPath='yes'>
<Shortcut Id="startmenuDocs" Directory="ProgramMenuDir" Name="RenderDoc Documentation" Icon='chm.ico' Advertise="yes" />
</File>
</Component>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="RenderDoc">
<Component Id="ProgramMenuDir" Guid="30CCCAB1-49D5-45B3-952C-53E3B581E691">
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' />
</Component>
</Directory>
</Directory>
<Component Id="ImageOpenWith" Guid="1F56AF06-3E83-4D7E-85A2-6A309A55FF4F">
<RegistryValue Root="HKLM" Id="RDCOpenWithCommand" Action="write" KeyPath='yes'
Key="Software\Classes\Applications\renderdocui.exe\shell\open\command"
Value='"[#renderdocuiEXE]" "%1"'
Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithDDS" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.dds' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithHDR" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.hdr' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithJPG" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.jpg' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithJPEG" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.jpeg' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithPNG" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.png' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithEXR" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.exr' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithTGA" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.tga' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithBMP" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.bmp' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithGIF" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.gif' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithPSD" Action="write"
Key="Software\Classes\Applications\renderdocui.exe\SupportedTypes"
Name='.psd' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidDDS" Action="write"
Key="Software\Classes\.dds\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidHDR" Action="write"
Key="Software\Classes\.hdr\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidJPG" Action="write"
Key="Software\Classes\.jpg\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidJPEG" Action="write"
Key="Software\Classes\.jpeg\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidPNG" Action="write"
Key="Software\Classes\.png\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidEXR" Action="write"
Key="Software\Classes\.exr\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidTGA" Action="write"
Key="Software\Classes\.tga\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidBMP" Action="write"
Key="Software\Classes\.bmp\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidGIF" Action="write"
Key="Software\Classes\.gif\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
<RegistryValue Root="HKLM" Id="RDCOpenWithProgidPSD" Action="write"
Key="Software\Classes\.psd\OpenWithProgids" Name='RenderDoc.RDCCapture.1' Value='' Type="string" />
</Component>
<Component Id="ImageThumbnailProvider" Guid="51E29C24-61F0-4F40-AB17-D66A97B3D543">
<RegistryValue Root="HKLM" Id="RDCProvider" Action="write" KeyPath='yes'
Key="Software\Classes\RenderDoc.RDCCapture.1\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}"
Value='{5D6BF029-A6BA-417A-8523-120492B1DCE3}'
Type="expandable" />
</Component>
<Component Id="FileExtensionRDC" Guid="5F21081F-59A8-43EE-8E95-170335FC3EF4">
<ProgId Id='RenderDoc.RDCCapture.1' Description='RenderDoc Capture Log (.rdc)'>
<Extension Id='rdc' />
</ProgId>
</Component>
<Component Id="FileExtensionCAP" Guid="3A373912-99D7-4A1C-B81C-6C69BA6B8733">
<ProgId Id='RenderDoc.RDCSettings.1' Description='RenderDoc Capture Settings (.cap)'>
<Extension Id='cap' />
</ProgId>
</Component>
</Directory>
<DirectoryRef Id="TARGETDIR">
<Merge Id="VCRedist32" DiskId="1" Language="0" SourceFile="C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC140_CRT_x86.msm"/>
</DirectoryRef>
<Feature Id='Complete' Title='RenderDoc' Description='Everything included.' AllowAdvertise='no' Absent='disallow' Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>
<Feature Id='MainProgram' Title='Program' Description='The main executable with everything needed to capture and replay.' AllowAdvertise='no' Absent='disallow' Level='1'>
<ComponentRef Id='RenderDocUI' />
<ComponentRef Id='RenderDocCPP' />
<ComponentRef Id='RenderDocCMD' />
<ComponentRef Id='IronPython' />
<ComponentRef Id='LICENSE' />
<ComponentRef Id='Scintilla' />
<ComponentRef Id='DockingUI' />
<ComponentRef Id='ProgramMenuDir' />
<ComponentRef Id='ImageOpenWith' />
</Feature>
<Feature Id="VCRedist32" Title="Visual C++ 2010 Runtime SP1" AllowAdvertise="no" Display="hidden" Level="1">
<MergeRef Id="VCRedist32"/>
</Feature>
<Feature Id='Docs' Title='Documentation' Description='CHM file with local help.' Level='1'>
<ComponentRef Id='Documentation' />
</Feature>
<Feature Id='FileExts' Title='File Associations' Description='Associate .rdc (Capture logs) and .cap (Capture settings) files with RenderDoc.' Level='1'>
<ComponentRef Id='ImageThumbnailProvider' />
<ComponentRef Id='FileExtensionRDC' />
<ComponentRef Id='FileExtensionCAP' />
</Feature>
</Feature>
<UIRef Id="WixUI_Mondo" />
<UIRef Id="WixUI_ErrorProgressText" />
<WixVariable Id="WixUILicenseRtf" Value="scripts/installer/LICENSE.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="scripts/installer/bannrbmp.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="scripts/installer/dlgbmp.bmp" />
<Icon Id="chm.ico" SourceFile="scripts/installer/chm.ico" />
<Icon Id="icon.ico" SourceFile="renderdocui/Resources/icon.ico" />
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Property Id="ARPHELPLINK" Value="http://renderdoc.org/" />
</Product>
</Wix>