What account is used to apply updates? - 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!

testout
Posts: 3
Joined: Tue Oct 23, 2007 4:41 pm

What account is used to apply updates?

Your website indicates that the advanced installer updater can apply updates without getting UAC elevation prompts on Vista if the install is signed with an authenticode signature.

What I think that you are saying is that Windows will still run the update with administrative privileges, it just won't prompt the user for permission to do so.

But I am wondering what account is used to do this? Does it use the current user account and elevate it without prompting, or does it use Local System or something like that.

The reason I am asking is because I am concerned that when the updater is launched, a different user may be logged in to the system than the original user that performed the original install. What if the current user doesn't have an account with administrative privileges or the ability to elevate. Will the update still succeed? Will it just prompt for elevation in this case because it's a different account and can't elevate without different credentials?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
Your website indicates that the advanced installer updater can apply updates without getting UAC elevation prompts on Vista if the install is signed with an authenticode signature.
This happens only for digitally signed patches (MSP), not for any signed update package.

If the Updater uses a digitally signed MSI then the Vista UAC will prompt the user for elevation if that user does not have enough privileges.
What if the current user doesn't have an account with administrative privileges or the ability to elevate. Will the update still succeed? Will it just prompt for elevation in this case because it's a different account and can't elevate without different credentials?
If the current user has write access to the "Downloads Folder" specified in the "Updater" page (the folder which contains the "updates.ini" file) then the update will be successful, otherwise the update will fail.
In order to allow all the users to update the installation then here is how you can do this:
- you modify the "Downloads Folder" to a location accessible by all the users, for example the Common Application Data folder:

Code: Select all

[CommonAppDataFolder][Manufacturer]\[ProductName]\updates\
- in the "Files and Folders" page you set permissions for this folder; in the "Permissions" tab you will have the following options checked for the "Administrators" and "Everyone" generic usernames:

Code: Select all

READ_CONTROL
DELETE
WRITE_DAC
WRITE_OWNER
SPECIFIC_RIGHTS_ALL
GENERIC_EXECUTE
GENERIC_WRITE
GENERIC_ALL
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”