wyUpdate Administration Rights

Hi

The users that is going to use our application in our company only and must only have User rights. These are rules that is enforce by the company. They are only in the Users group, which now gives me a problem as wyUpdate now need Administrative Privileges to update because we have installed our application in Program Files. We are only allowed to install applications in Program Files.

Do someone maybe have a solution on how I can accomplish successful auto updates in the this scenario?

You can make a dummy "LocalSystem" service that does the updating. This way you're bypassing the UAC system (i.e. limited user can update your app in the Program Files folder without getting admin permission). For instance, you can use the AutomaticUpdaterBackend in a C# or VB.NET service or you can use wyUpdate as a standalone updater from a service written in any other language.

There are a few caveats you need to be aware of:

  1. You can't update your app while it's running -- you'll have to wait for main app to close before the dummy service commences updating.
  2. Any applications you execute as part of your update will run in the "System" context. That is, even GUI programs won't be visible to the user.

Tell me if this helps.