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

Unnecessary questions about the administrator password

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.0
    • General
    • None
    • Windows

    Description

      The installer unnecessarily asks for the administrator password in following cases:

      1. After clicking the "ok" button with the message "Another instance is running"

      2. When canceling authorization after clicking the Finish button



      This is due to the fact that at the end of the work the installer tries to save the log file in a targetDir(password-protected directory, ex: C:\Program Files).

      I code it's in:

      PackageManagerCore::~PackageManagerCore(){
      ..
      QString logFileName = targetDir.absoluteFilePath(value(QLatin1String("LogFileName"),
      ..
      VerboseWriter::instance()->flush(&adminOutput)
      

      My config.xml like that:

      <?xml version="1.0" encoding="UTF-8"?>
      <Installer>
          <Name>Sigillum Manager 1.0.5</Name>
          <Version>1.0.5</Version>
          <Title>Sigillum Manager</Title>
          <Publisher></Publisher>
          <TargetDir>@ApplicationsDirX64@/myApplication</TargetDir>
      </Installer>
      
      

      Adding targetDir to config.xml is needed to reproduce the situation from point 1.

      Attachments

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

        Activity

          People

            installerteam Installer Team
            linusklan Krzysztof Guc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes