SymphonyElectron/installer/win/WixSharpToolset/Samples/Managed Setup/ManagedSetup.wxs
2020-08-21 08:25:55 +02:00

86 lines
6.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="6f330b47-2577-43ad-9095-1861ca25889c" Name="ManagedSetup" Language="1033" Codepage="Windows-1252" Version="1.0.0.0" UpgradeCode="6f330b47-2577-43ad-9095-1861ba25889b" Manufacturer="oleg.shilo">
<Package InstallerVersion="200" Compressed="yes" SummaryCodepage="Windows-1252" Languages="1033" />
<Media Id="1" Cabinet="ManagedSetup.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="ProgramFilesFolder">
<Directory Id="ProgramFilesFolder.My_Company" Name="My Company">
<Directory Id="INSTALLDIR" Name="My Product">
<Component Id="Component.MyApp.exe_1471197072" Guid="6f330b47-2577-43ad-9095-1861ac16dd99">
<File Id="MyApp.exe_1471197072" Source="Files\bin\MyApp.exe" />
</Component>
<Directory Id="INSTALLDIR.Docs" Name="Docs">
<Component Id="Component.readme.txt_397842600" Guid="6f330b47-2577-43ad-9095-18614039ec6c">
<File Id="readme.txt_397842600" Source="readme.txt" />
</Component>
<Component Id="Component.setup.cs_1385570759" Guid="6f330b47-2577-43ad-9095-1861bf7d050d">
<File Id="setup.cs_1385570759" Source="setup.cs" />
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</Directory>
<UI />
<UI>
<EmbeddedUI Id="WixSharp_EmbeddedUI_Asm" SourceFile="WixSharp.UI.CA.dll" />
</UI>
<CustomAction Id="WixSharp_InitRuntime_Action" BinaryKey="WixSharp_InitRuntime_Action_File" DllEntry="WixSharp_InitRuntime_Action" Return="check" Execute="immediate" />
<CustomAction Id="Set_CancelRequestHandler_Props" Property="CancelRequestHandler" Value="UpgradeCode=[UpgradeCode];INSTALLDIR=[INSTALLDIR];UILevel=[UILevel];ProductCode=[ProductCode];ADDLOCAL=[ADDLOCAL];ADDFEATURES=[ADDFEATURES]" />
<CustomAction Id="CancelRequestHandler" BinaryKey="WixSharp_InitRuntime_Action_File" DllEntry="CancelRequestHandler" Return="check" Impersonate="no" Execute="deferred" />
<CustomAction Id="WixSharp_Load_Action" BinaryKey="WixSharp_InitRuntime_Action_File" DllEntry="WixSharp_Load_Action" Return="check" Execute="immediate" />
<CustomAction Id="Set_WixSharp_AfterInstall_Action_Props" Property="WixSharp_AfterInstall_Action" Value="WixSharp_AfterInstall_Handlers=[WixSharp_AfterInstall_Handlers];WIXSHARP_RUNTIME_DATA=[WIXSHARP_RUNTIME_DATA];INSTALLDIR=[INSTALLDIR];UILevel=[UILevel];ProductName=[ProductName];INSTALLDIR=[INSTALLDIR];UILevel=[UILevel];ProductCode=[ProductCode];ADDLOCAL=[ADDLOCAL];ADDFEATURES=[ADDFEATURES]" />
<CustomAction Id="WixSharp_AfterInstall_Action" BinaryKey="WixSharp_InitRuntime_Action_File" DllEntry="WixSharp_AfterInstall_Action" Return="check" Impersonate="no" Execute="deferred" />
<Binary Id="WixSharp_InitRuntime_Action_File" SourceFile="WixSharp.CA.dll" />
<Binary Id="WixSharp_UIText" SourceFile="ManagedSetup.wxl" />
<Binary Id="WixSharp_LicenceFile" SourceFile="ManagedSetup.licence.rtf" />
<Binary Id="WixUI_Bmp_Dialog" SourceFile="ManagedSetup.dialog_bmp.png" />
<Binary Id="WixUI_Bmp_Banner" SourceFile="ManagedSetup.dialog_banner.png" />
<UIRef Id="WixUI_ErrorProgressText" />
<Property Id="WixSharp_UI_INSTALLDIR" Value="INSTALLDIR" />
<Property Id="UAC_REVEALER_ENABLED" Value="true" />
<Property Id="UAC_WARNING" Value="Please wait for UAC prompt to appear.&#xD;&#xA;&#xD;&#xA;If it appears minimized then activate it from the taskbar." />
<Property Id="WixSharp_InstallDialogs" Value="WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.WelcomeDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.LicenceDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.SetupTypeDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.FeaturesDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.InstallDirDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.ProgressDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.ExitDialog" />
<Property Id="WixSharp_ModifyDialogs" Value="WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.MaintenanceTypeDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.FeaturesDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.ProgressDialog&#xA;WixSharp.UI, Version=1.13.2.2, Culture=neutral, PublicKeyToken=3775edd25acc43c2|WixSharp.UI.Forms.ExitDialog" />
<Property Id="WixSharp_UIInitialized_Handlers" Value="setup.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Script|Project_UIInitialized" />
<Property Id="WixSharp_Load_Handlers" Value="setup.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Script|msi_Load" />
<Property Id="WixSharp_AfterInstall_Handlers" Value="setup.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null|Script|msi_AfterInstall" />
<Feature Id="Binaries" Title="Binaries" Absent="disallow" Level="1" Description="Product binaries">
<ComponentRef Id="Component.MyApp.exe_1471197072" />
</Feature>
<Feature Id="Documentation" Title="Documentation" Absent="allow" Level="1" Description="Product documentation (manuals and user guides)">
<ComponentRef Id="Component.readme.txt_397842600" />
<Feature Id="Tutorials" Title="Tutorials" Absent="allow" Level="2" Description="Product tutorials">
<ComponentRef Id="Component.setup.cs_1385570759" />
</Feature>
</Feature>
<InstallExecuteSequence>
<Custom Action="WixSharp_InitRuntime_Action" Before="AppSearch"> (1) </Custom>
<Custom Action="Set_CancelRequestHandler_Props" Before="InstallFinalize" />
<Custom Action="CancelRequestHandler" After="Set_CancelRequestHandler_Props"> (NOT (REMOVE="ALL")) </Custom>
<Custom Action="WixSharp_Load_Action" Before="AppSearch">1</Custom>
<Custom Action="Set_WixSharp_AfterInstall_Action_Props" After="InstallFiles" />
<Custom Action="WixSharp_AfterInstall_Action" After="Set_WixSharp_AfterInstall_Action_Props">1</Custom>
</InstallExecuteSequence>
</Product>
</Wix>