Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1106

DesktopDir variable returns Mac OS Desktop path instead of Windows Destop path when running on a VM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 3.0.1, 3.0.2
    • General
    • None
    • macOS

    Description

      If I execute a QT installer on a Windows VM that runs on a Macintosh, the @DesktopDir@ returns the Mac Desktop path (\\Mac\Home\Desktop) instead of the Windows Desktop path (C:\users\username\desktop).

      Then it fails to create a desktop shortcut: "Error during installation process (com.xxx.yyy):\nCannot create link \"\\\\Mac\\Home\\Desktop\\maintenancetool.lnk\"

      VM: Parallels Desktop 11 for Mac, v11.2.3 (32663)
      Guest OS: Windows 10 x64 (whatever the latest patches are as of today 2018-03-12)

       

      This happens when the VM is configured to share the Desktop folder with the Mac. However, it should still work I believe.

       

      Note the following interesting behavior:

      If I type "%UserProfile%\Desktop" in the Windows Explorer, it shows the folder at \\Mac\Home\Desktop

      If I open a command prompt and type "echo %UserProfile%\Desktop", it returns: C:\users\username\Desktop

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            studiobods Matthias Baudot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes