<?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="Sample Application" Language="1033" Version="1.0.0.0" Manufacturer="Example Company" UpgradeCode="9636b8cf-969b-433c-87d7-9ef62222d009"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perUser" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> <MediaTemplate /> <Feature Id="ProductFeature" Title="Sample Application" Level="1" ConfigurableDirectory="INSTALLFOLDER"> <ComponentGroupRef Id="ProductComponents" /> </Feature> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" /> <UIRef Id="WixUI_Common"/> <UIRef Id="WixUI_Mondo" /> <UIRef Id="WixUI_ErrorProgressText" /> <Property Id="PropertyThatDoesNotWork" Value="2"/> <UI Id="Mondo"> <TextStyle Id="DlgFont8" FaceName="Tahoma" Size="8" /> <TextStyle Id="DlgTitleFont" FaceName="Tahoma" Size="8" Bold="yes" /> <Dialog Id="PropertySelectionDlg" Width="370" Height="270" Title="[ProductName] Setup" NoMinimize="yes"> <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes"> <Text>{\DlgTitleFont}Please select one of the following:</Text> </Control> <Control Id="RadioButtonGroupID1" Type="RadioButtonGroup" X="30" Y="40" Width="305" Height="200" Property="PropertyThatDoesNotWork"> <RadioButtonGroup Property="PropertyThatDoesNotWork"> <RadioButton Value="0" X="0" Y="0" Width="200" Height="10" Text="Item 0" /> <RadioButton Value="1" X="0" Y="20" Width="200" Height="10" Text="Item 1" /> <RadioButton Value="2" X="0" Y="40" Width="200" Height="10" Text="Item 2" /> </RadioButtonGroup> </Control> <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back"> <Publish Event="NewDialog" Value="WelcomeDlg" Order="3">1</Publish> </Control> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next"> <Publish Event="NewDialog" Value="SetupTypeDlg" Order="3">1</Publish> </Control> <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel"> <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> </Control> </Dialog> <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="PropertySelectionDlg" Order="3">1</Publish> <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog" Value="PropertySelectionDlg" Order="3">1</Publish> </UI> <Binary Id="CustomActionsDll" src="$(var.WIX Property Issue Custom Actions.TargetDir)\$(var.WIX Property Issue Custom Actions.TargetName).CA.dll" /> <CustomAction Id="WixPropertyIssueInstall" Return="check" Execute="immediate" BinaryKey="CustomActionsDll" DllEntry="WixPropertyIssueInstallAction" /> <InstallExecuteSequence> <Custom Action="WixPropertyIssueInstall" Before="InstallFinalize" >NOT Installed</Custom> </InstallExecuteSequence> </Product> <Fragment> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="Example_Company" Name="Example Company"> <Directory Id="INSTALLFOLDER" Name="Sample Application"> <Directory Id="PropertyThatWorks"/> </Directory> </Directory> </Directory> </Directory> </Fragment> <Fragment> <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> <Component Id="Sample_Application" Guid="{A229C807-0827-475E-9AA2-674C968F5DC1}"> <File Id="Sample_Application" Name="$(var.Sample Application.TargetFileName)" Source="$(var.Sample Application.TargetPath)"/> </Component> </ComponentGroup> </Fragment> </Wix>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)