write protected ini File - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Andreas
Posts: 6
Joined: Mon Nov 02, 2009 11:50 am

write protected ini File

Hi all.

I have a Problem with a repacked installation. If I try to deinstall my new Package, the Installer notify that he cannot access an .ini File under document & settings/administrator/...
The Problem is, the ini File is write protected. When I delete the ini manually, the msi package could deinstall sucsessfully.
So I try to delete the "write protect" checkbox on this ini File, but can´t find it. How I have to search? I found only "Edit Ini File" Option, but no checkbox from the general Register.
I also try to checkout the write protection during the original installation, but Advanced Installer seems to ignore this setting.

Please Help
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: write protected ini File

Hello,

How did the .ini file get installed under "documents and settings/administrator/"?
Is administrator an admin user account or is this the default administrator account? Are you installing the package per-user? If so, this may be the problem. Try changing the installation type to "Per-machine" from the Install Parameters page and see if that works.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Andreas
Posts: 6
Joined: Mon Nov 02, 2009 11:50 am

Re: write protected ini File

Hi Garbiel,

in the meanwhile I found out that the programm itselfs change the inifile to writeprotected during the runtime. I get in contact with the manufacturer.

Thanks for your investigation.

But I have another question... What Permissions on a registry string I have to set, so that all users of a computer where installed the package can write in it?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: write protected ini File

Hello,

The following permissions set for "Everyone" should suffice:
KEY_QUERY_VALUE, KEY_SET_VALUE, KEY_CREATE_SUB_KEY, KEY_ENUMERATE_SUB_KEYS,
KEY_NOTIFY, KEY_CREATE_LINK, DELETE, WRITE_DAC, WRITE_OWNER, READ_CONTROL

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Andreas
Posts: 6
Joined: Mon Nov 02, 2009 11:50 am

Re: write protected ini File

Works, thanks.

Return to “Common Problems”