Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Feature Id='MainProgram' Title='MainExe' Description='This application stores and displays information from our hardware.'
- ConfigurableDirectory='INSTALLDIR' Level='4'
- AllowAdvertise='no'>
- <ComponentRef Id='MainExecutable' />
- <ComponentRef Id='SQLLibrary' />
- <ComponentRef Id='ProgramIcon' />
- <ComponentRef Id='RemovePluginsFolder'/>
- <Property Id='ShowFinalCheckbox'>1</Property> #<--This won't work, but I'd like it to.
- </Feature>
- <SetProperty Id="ShowFinalCheckBox" Value="1" After="CostFinalize">?MainExecutableComponent>2 OR $MainExecutableComponent>2</SetProperty>
- <Dialog Id="ExitDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">
- <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17"
- Default="yes" Cancel="yes" Text="Finish">
- <Publish Event="EndDialog" Value="Return">1</Publish>
- <Publish Event="DoAction" Value="LaunchFile">(NOT Installed) AND (LAUNCHPRODUCT = 1) AND (&MainExecutable = 3)</Publish>
- </Control>
- <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="Cancel" />
- <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[DialogBitmap]" />
- <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="Back" />
- <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="20" Transparent="yes" NoPrefix="yes">
- <Text>Click the Finish button to exit the Wizard.</Text>
- </Control>
- <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
- <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes">
- <Text>{VerdanaBold13}Completing the [ProductName] Wizard</Text>
- </Control>
- <Control Id="Launch" Type="CheckBox" X="135" Y="120" Width="150" Height="17"
- Property="LAUNCHPRODUCT" CheckBoxValue="1">
- <Text>Launch [ProductName]</Text>
- <Condition Action="hide">
- NOT (&MainProgramFeature = 3)
- </Condition>
- </Control>
- </Dialog>
Add Comment
Please, Sign In to add comment