VirtualBox

Changeset 34199 in vbox


Ignore:
Timestamp:
Nov 19, 2010 1:52:20 PM (14 years ago)
Author:
vboxsync
Message:

VBoxStub: Fixed broken path handling caused by RTPathAppend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp

    r34195 r34199  
    460460            vrc = RTPathAppend(szExtractPath, sizeof(szExtractPath), "VirtualBox");
    461461            AssertMsgRCBreak(vrc, ("Could not construct temp directory!\n"));
     462
     463            /* Convert slahes; this is necessary for MSI routines later! */
     464            RTPathChangeToDosSlashes(szExtractPath, true /* Force conversion. */);
    462465        }
    463466        if (!RTDirExists(szExtractPath))
     
    507510             */
    508511            char *pszPathCustomDir = RTPathJoinA(szPathExe, ".custom");
     512            pszPathCustomDir = RTPathChangeToDosSlashes(pszPathCustomDir, true /* Force conversion. */);
    509513            if (pszPathCustomDir && RTDirExists(pszPathCustomDir))
    510514            {
     
    548552                        {
    549553                            char *pszLog = RTPathJoinA(szExtractPath, "VBoxInstallLog.txt");
     554                            /* Convert slahes; this is necessary for MSI routines! */
     555                            pszLog = RTPathChangeToDosSlashes(pszLog, true /* Force conversion. */);
    550556                            AssertMsgBreak(pszLog, ("Could not construct path for log file!\n"));
    551557                            UINT uLogLevel = MsiEnableLog(INSTALLLOGMODE_VERBOSE,
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