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

Qt ifw, error message: "Could not write installer configuration "

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.4.0
    • 1.3.0
    • General
    • None
    • Windows 7
    • d02ffbdbdb2ce5a0adc5066fe5ff5143114a55ed

    Description

      Hi,

      I'm using QT installer framework (the binary release 1.3.0) to distribute (offline) my Windows application. The default target directory is set to C:\Program files (x86)\MyApp. When I run the installer on a computer with windows 7 the "User Account Control" window is displayed right before any files will install. I Press Yes, and the installation continues. When the progressbar hits 99 % en error message is displayed; "Could not write installer configuration to C:\Program files (x86)\MyApp/uninstall.ini: Access error", not the forward slash after MyApp (don't think this is the problem). If a make some investigations before I press the OK button in the error message, I can see that the installer installed the files to the correct directory. When I hit the OK button the installation is aborted and all files are removed again.

      If I run the installer by right clicking on it and select "Run as administrator", the installation will finish without a problem. This is only a workaround.

      I have attached an example to demonstrate this problem. It is based on the example tutorial. i have just removed translation file and modified the config file to allow space in paths. Try to install it to c:\program files\...

      Best regards,
      Niclas

      Attachments

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

        Activity

          People

            installerteam Installer Team
            niclask Niclas Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes