[Interest] Qt ifw, error message: "Could not write installer configuration "
Niclas Karlsson
Niclas.Karlsson at xdin.com
Wed Jul 3 08:51:52 CEST 2013
>>Did not you mentioned how to fix a problem yourself?
>>You have to run program which is changing files in system folders as an administrator, having administrator account is not enough..
I mentioned a workaround. I can't distribute an installer which don't work as an user expects. The normal way to install is just to double click on the installer and follow the wizard.
As I wrote, I'm prompted by a UAC window, if I press yes, I can see that all my files is installed in the correct directory but when the installer tries to install uninstall.ini (which it creates itself during installation) it can't. When the installer detect the error it removes all the files.
/Niclas
From: Alex Malyushytskyy [mailto:alexmalvtk at gmail.com]
Sent: den 3 juli 2013 03:27
To: Niclas Karlsson
Cc: interest at qt-project.org
Subject: Re: [Interest] Qt ifw, error message: "Could not write installer configuration "
>>If I run the installer by right clicking on it and select "Run as administrator", the installation will finish without a problem.
>> How can I make this work?
Did not you mentioned how to fix a problem yourself?
You have to run program which is changing files in system folders as an administrator, having administrator account is not enough..
Alex
On Tue, Jul 2, 2013 at 7:51 AM, Niclas Karlsson <Niclas.Karlsson at xdin.com> wrote:
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.
How can I make this work?
Best regards,
Niclas
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list