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

Calling installer.gainAdminRights() causes an error: "You have selected an existing file or symlink, please choose a different target for installation"

    XMLWordPrintable

Details

    • Qt Installer Sprint 45, Qt Installer Sprint 46

    Description

      Calling installer.gainAdminRights() in a script causes the error "You have selected an existing file or symlink, please choose a different target for installation" when selecting the target installation directory. Seems to occur no matter the directory.

      Example script:

      function Component()
      {
          installer.gainAdminRights();
      }
      

      Steps to reproduce the problem:

      • binarycreator -p packages -c config/config.xml sample_installer.exe
      • run the installer
      • attempt to install anywhere as per usual

      Attachments

        Issue Links

          Activity

            People

              arttu.tarkiainen Arttu Tarkiainen
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: