VirtualBox

Changeset 54119 in vbox


Ignore:
Timestamp:
Feb 10, 2015 9:16:52 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98129
Message:

#7571. broken desktop shortcut after repair installation was fixed.

File:
1 edited

Legend:

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

    r53156 r54119  
    199199
    200200    <Directory Id="TARGETDIR" Name="SourceDir">
    201             <Directory Id="INSTALLDIR">
     201        <Directory Id="$(var.Property_ProgramFiles)" Name="PFiles">
     202            <Directory Id="VENDOR" Name="$(env.VBOX_VENDOR_SHORT)">
     203                <Directory Id="INSTALLDIR" Name="VirtualBox">
    202204<?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?>
    203205                <Merge Id="msm_VBoxApp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeApp)" DiskId="1" />
     
    323325                                   Type="string" Value="installed" KeyPath="yes" />
    324326                </Component>
    325 
     327                </Directory>
    326328            </Directory>
     329        </Directory>
    327330    </Directory> <!-- TARGETDIR -->
    328331
     
    480483        <RemoveExistingProducts After="InstallValidate"><![CDATA[PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED]]></RemoveExistingProducts>
    481484
    482         <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
    483         <Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT Installed AND (NOT INSTALLDIR) AND EXISTINGINSTALLDIR]]></Custom>
     485        <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR)]]></Custom>
     486        <Custom Action="ca_DefaultTargetDir" Before="FileCost" ><![CDATA[NOT INSTALLDIR AND EXISTINGINSTALLDIR]]></Custom>
    484487
    485488        <!-- Check + unininstall old TAP instances - we  don't need them anymore -->
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