VirtualBox

Changeset 55102 in vbox


Ignore:
Timestamp:
Apr 6, 2015 1:56:30 PM (9 years ago)
Author:
vboxsync
Message:

pr7780. VBox install checks for OEM installs using file dependency.dep in VBox installation folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r54119 r55102  
    108108    </Condition>
    109109
     110   
    110111    <!-- *************************** Upgrade packages only ******************************* -->
    111112    <!-- Minimum and Maximum specify the range of versions we are supposed to update with this upgrade.
     
    164165                  DllEntry="UninstallTAPInstances" Execute="deferred" Return="check" Impersonate="no"/>
    165166
     167    <Property Id="VBOXDEPENDENCY" Secure="yes">
     168        <DirectorySearch Id="VBoxInstallDir" Path="[EXISTINGINSTALLDIR]">
     169            <FileSearch Name="dependency.dep"/>
     170        </DirectorySearch>
     171    </Property>
     172   
     173    <!--
     174                            install upgrade uninstall
     175    VBOXDEPENDENCY             0      1/0      1/0
     176    UPGRADINGPRODUCTCODE       0       1        0
     177    final                      0       1        0
     178    not final                  1       0        1
     179    -->
     180
     181    <Condition Message="It was detected an application which has been using currently installed VirtualBox version.
     182    You must remove this application before continuing installation.
     183    See the file dependency.dep in the VirtualBox installation directory for details. ">
     184        NOT (VBOXDEPENDENCY AND UPGRADINGPRODUCTCODE)
     185    </Condition>
     186   
    166187    <!-- Detect old Sun installation -->
    167188    <!-- Force a manual uninstall of an already installed Sun VirtualBox version first -->
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