VirtualBox

Changeset 86798 in vbox


Ignore:
Timestamp:
Nov 3, 2020 2:18:48 PM (4 years ago)
Author:
vboxsync
Message:

Windows host installer: Streamlined checking for the Python dependencies by calling the appropriate custom actions before spawning the next dialogs. bugref:9855

File:
1 edited

Legend:

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

    r86782 r86798  
    306306        <?else ?>
    307307                <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
    308                     <Publish Event="NewDialog" Value="VBoxWarnPythonDlg"><![CDATA[(&VBoxPython=3 AND (VBOX_PYTHON_DEPS_INSTALLED="0"))]]></Publish>
    309                     <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[((&VBoxPython<3) OR (VBOX_PYTHON_DEPS_INSTALLED="1"))]]></Publish>
     308                    <!-- Check for the Python core package and other dependencies first.
     309                         The install helper code will set the public properties VBOX_PYTHON_INSTALLED / VBOX_PYTHON_DEPS_INSTALLED. -->
     310                    <Publish Event="DoAction" Value="ca_IsPythonInstalled" Order="0" />
     311                    <Publish Event="DoAction" Value="ca_ArePythonAPIDepsInstalled" Order="1" />
     312                    <Publish Event="NewDialog" Value="VBoxWarnPythonDlg"><![CDATA[(&VBoxPython=3) AND (VBOX_PYTHON_DEPS_INSTALLED="0")]]></Publish>
     313                    <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg"><![CDATA[(&VBoxPython<3) OR (VBOX_PYTHON_DEPS_INSTALLED="1")]]></Publish>
    310314                <?else ?>
    311315                    <Publish Event="NewDialog" Value="VBoxVerifyReadyDlg">1</Publish>
     
    12381242            <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
    12391243            <Custom Action="ca_DefaultTargetDir" After="FileCost"><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
    1240 <?if $(env.VBOX_WITH_PYTHON) = "yes" ?>
    1241             <Custom Action="ca_IsPythonInstalled" After="FileCost" />
    1242             <Custom Action="ca_ArePythonAPIDepsInstalled" After="ca_IsPythonInstalled" />
    1243 <?endif?>
     1244
    12441245            <FindRelatedProducts Suppress="no">1</FindRelatedProducts>
    12451246
Note: See TracChangeset for help on using the changeset viewer.

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