zeljko92
Posts: 6
Joined: Mon Jul 17, 2017 7:55 am

Error pops-up when installing application for current user only

If during install process I choose option install application only for me, install wizard shows next error:
"Could not write value applicationdescription to key \SOFTWARE\myApplication\myApplication\Capabilities. Verify that you have sufficient access to that key, or contact your support personnel".

At the time when message pops, installation status is: Writing system registry values.
It occur for both admin and non-admin users. Installer is built using Advanced Installer v13.1

Has anyone had any similar issues or has knowledge how to fix this problem?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error pops-up when installing application for current user only

Hello,

Can you please make sure that in "Registry" page you didn't add any registry resource under the "HKLM" hive? A per-user installation cannot access the per-machine registry hive. The registries that you want to be redirected under current user hive or under local machine hive depending on the installation type should be always added in our "Registry" page under the "Current User/Local Machine" hive.

If this doesn't help you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zeljko92
Posts: 6
Joined: Mon Jul 17, 2017 7:55 am

Re: Error pops-up when installing application for current user only

"Current User/Local Machine" hive is already there (no keys specified for any hive), also Installation Type is "Per-machine if admin, per-user otherwise", but per log - installer is trying to add key under HKLM. I have sent you a mail with attached log and aip. Thanks in advance.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error pops-up when installing application for current user only

Hello Željko,

Thank you for your sent files.

The error you encounter is generated by the Default Program entry you configured in the "File Associations" page of your project. Please keep in mind that the default program configured in Advanced Installer will be always installed under the per-machine context only. So, during a per-user installation the install process will fail.

The only way to avoid this behavior is to delete the Default Program entry you configured in the "File Associations" page.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zeljko92
Posts: 6
Joined: Mon Jul 17, 2017 7:55 am

Re: Error pops-up when installing application for current user only

Thank you for your time, we suspected that but weren't sure. Is there any chances that in some future release of AI this becomes a option (if per-user installation type - skip file assoc)?
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error pops-up when installing application for current user only

You're welcome.

I've forwarded your request to our development team, but they are very busy and such an improvement is quite unlikely in the future. Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”