VirtualBox

Changeset 38778 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 16, 2011 1:25:08 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74071
Message:

Installer/win: 2nd shot at the 2869 error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/UserInterface.wxi

    r38763 r38778  
    543543        </Dialog>
    544544
    545         <!-- This dialog is called after an error during installation -->
    546         <Dialog Id="VBoxFatalErrorDlg" ErrorDialog="yes" Width="270" Height="150" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
     545        <!-- This dialog is called via the ErrorDialog property on an installation error. -->
     546        <Dialog Id="VBoxErrorDlg" ErrorDialog="yes" Width="270" Height="150" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
    547547            <!-- Do *not* change the control IDs in the dialog! -->
    548548            <Control Id="ErrorText" Type="Text" X="75" Y="20" Width="155" Height="80" TabSkip="no" NoPrefix="yes" Text="Error information text" />
     
    568568            <Control Id="R" Type="PushButton" X="20" Y="110" Width="80" Height="18" TabSkip="yes" Text="!(loc.ButtonText_Retry)">
    569569                <Publish Event="EndDialog" Value="ErrorRetry">1</Publish>
     570            </Control>
     571        </Dialog>
     572
     573        <!-- Used to signal a fatal error in the 'OnExit="error"' fashion. -->
     574        <Dialog Id="VBoxFatalErrorDlg" Width="370" Height="270" Title="[ProductName] !(loc.Setup)" NoMinimize="yes">
     575            <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.ButtonText_Finish)">
     576                <Publish Event="EndDialog" Value="Exit">1</Publish>
     577            </Control>
     578            <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Cancel)" />
     579            <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="[ExclamationMark]" />
     580            <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.ButtonText_Back)" />
     581            <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
     582            <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="80" Transparent="yes" Text="!(loc.FatalErrorDescription1) !(loc.FatalErrorDescription2)" />
     583            <Control Id="Build" Type="Text" X="20" Y="247" Width="220" Height="10" Transparent="yes" NoPrefix="yes">
     584                <Text>[Version_text] $(var.Property_Version)</Text>
    570585            </Control>
    571586        </Dialog>
     
    896911
    897912        <!-- Dialog property table. -->
    898         <Property Id="ErrorDialog" Value="VBoxFatalErrorDlg"/>
     913        <Property Id="ErrorDialog" Value="VBoxErrorDlg"/>
    899914
    900915        <!-- Define some textstyles used for formatting dialog items. -->
     
    10871102             skips the actions in this table if the user interface level is set to basic UI or no UI. -->
    10881103         <AdminUISequence>
    1089             <!-- bird: VBoxFatalErrorDlg is an error dialog, apparently that's not what we're supposed to use for OnExit="error". See ./src/ext/UIExtension/wixlib/FatalError.wxs -->
    10901104            <Show Dialog="VBoxFatalErrorDlg" OnExit="error" />
    10911105            <Show Dialog="VBoxUserExitDlg" OnExit="cancel" />
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette