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

Empty <UninstallerIniFile> tag leads to weird behavior

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 1.5.0, 1.6.0 (1.6 branch)
    • Fix Version/s: 2.0.0
    • Component/s: General
    • Environment:
      Ubuntu 14.04
    • Commits:
      858d39554cc2709213d4b403637dd38e0e172a34

      Description

      When the config.xml contains empty <UninstallerIniFile> tag, installer will show "sudo prompt" and installation is cancelled even password is entered correctly.

      If the tag is not defined or it contains some data this problem can't be seen anymore.

      Here is the modified config.xml(taken from tutorial example) which cause the problem:

      <?xml version="1.0" encoding="UTF-8"?>
      <Installer>
          <Name>Your application</Name>
          <Version>1.2.3</Version>
          <Title>Your application Installer</Title>
          <Publisher>Your vendor</Publisher>
          <StartMenuDir>Super App</StartMenuDir>
          <TargetDir>@HomeDir@/InstallationDirectory</TargetDir>
          <UninstallerIniFile></UninstallerIniFile>
      </Installer>
      

        Attachments

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

          Activity

            People

            Assignee:
            heimrich Karsten Heimrich
            Reporter:
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes