- Timestamp:
- Mar 28, 2022 10:11:20 AM (3 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/UserInterface.wxi
r87623 r94380 531 531 <Dialog Id="VBoxExitDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes"> 532 532 <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Finish)"> 533 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> <!-- Only expose action to start VirtualBox if we also ship FE/Qt with it. --> 533 534 <Publish Event="DoAction" Value="ca_StartVBox"><![CDATA[VBOX_START]]></Publish> 535 <?endif ?> 534 536 <Publish Event="EndDialog" Value="Return">1</Publish> 535 537 </Control> … … 547 549 </Control> 548 550 551 <!-- Only show the checkbox to start VirtualBox if we also ship FE/Qt with it. --> 552 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 549 553 <!-- Note the gray background behind the checkboxes. Unfortunately there's no easy way to 550 554 fix this, without fixing it in the WiX source code. Because the control's background … … 562 566 </Condition> 563 567 </Control> 564 568 <?endif ?> 565 569 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> 566 570 <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes"> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r93242 r94380 234 234 </Condition>--> 235 235 236 <!-- Note: When we don't include FE/Qt, we just start *something* (e.g. Windows' calc.exe) to see if the custom action works. --> 237 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 238 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 239 <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" /> 240 <?else ?> 241 <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand='"[INSTALLDIR]\VBoxBugReport.exe"' Return="asyncNoWait" Impersonate="yes" /> 242 <?endif ?> 243 <?else ?> 244 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 245 <CustomAction Id="ca_StartVBox" Directory="file_VBoxBugReport.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" /> 246 <?else ?> 247 <CustomAction Id="ca_StartVBox" Directory="INSTALLDIR" ExeCommand='"[INSTALLDIR]\VBoxBugReport.exe"' Return="asyncNoWait" Impersonate="yes" /> 248 <?endif ?> 236 <!-- Note: Only if we include FE/Qt, we offer to start VirtualBox at the end of a successful installation. --> 237 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 238 <CustomAction Id="ca_StartVBox" FileKey="file_VirtualBox.exe" ExeCommand="" Return="asyncNoWait" Impersonate="yes" /> 249 239 <?endif ?> 250 240
Note:
See TracChangeset
for help on using the changeset viewer.