PDA

View Full Version : Vista standard user errors


x1ejm
05-20-2009, 12:11 PM
Hi - we are running Setup Factory 7.0.6.1 and today we've been testing problems reported by customers relating to when they are logged into Vista as a Standard (not Admin) user type with User Account Control turned off.

1. If they attempt to install our app into the default location - i.e. inside the Program Files directory - as soon as files start to get installed, they get the following message...

"Could not create uninstall data folder:
C:\Program Files\[our app name]\uninstaller"

If they click OK the install is abandoned.

2. If they now try to install the app in a different location - i.e. outside the Program Files directory - then right at the end of the process, after all the files have been copied across, they get the following message...

"Could not open uninstall Registry key for writing:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Uninstall\[our app name]"

They can click the OK button to continue but it's a bit discerting plus as a result there is no option to uninstall our program from the Programs control panel.

What's going wrong - is it Setup Factory or us?

Ulrich
05-22-2009, 04:51 PM
What's going wrong - is it Setup Factory or us?

It's you. If your setup needs to deploy files under Program Files, or set entries in the registry under HKLM, you must run the installer with elevation.

Project Settings > Advanced > Requested User Privilege Level > Require administrator (default).

Ulrich

x1ejm
05-26-2009, 02:33 AM
>> Project Settings > Advanced > Requested User Privilege Level > Require administrator (default).

I have checked this setting and it is set to "Require Administrator". Any other thoughts what might be going wrong?

x1ejm
06-01-2009, 09:51 AM
Hi again - can anyone help with this? It does look poor at the end of the installation process having an error message displayed.

Staggan
08-13-2009, 11:22 AM
Hello

We are having the same issue

What we have tried to do is not enter the Unistall into the control panel, which seems to prevent the writing of the registry key...

Might be worth a try