Problem writing to registry with installer - Advanced Installer Community
ahmedA
Posts: 3
Joined: Fri Sep 12, 2014 5:37 pm

Problem writing to registry with installer

The account I'm using has local admin, UAC is even disabled.

When I use the resources>Registry>Target computer to write registry keys it fails saying failed to write value to key make sure you have sufficient access.

I tried current user/local machine, tried curentuser and tried also hkey_users\.default\

On all it fails.. whats up?

I am creating two strings and three dwords...
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem writing to registry with installer

Hello Ahmed and welcome to Advanced Installer forums,

Since the UAC is off then the installation will be launched with the current log-on user right.
If the log on user is a guest and the installer require administrator privileges then the installation will fail because it doesn't have sufficient privileges to complete this installation for all users of the machine. You can take a look on the User Account Control article which may be useful to you.

Can you please try to see if it makes any difference setting the UAC on in order to get the credentials prompt?

Also, in order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”