Limited user - access denied to selfUpdate.sup

Hi, I'm trying to accomplish limited user update scenario.When running wybuild.exe it tries to elevate itself ('RUN AS' dialog) during Extraction step. When I force it to use current user account, it gives following error:

Client file failed to load. The client.wyc file might be corrupt.Access to the path 'C:\Documents and Settings\test\Local Settings\Temp\w027\selfUpdate.sup' is denied.

The limited user has full access rights to application folder under "C:\Program Files\..." and "C:\Documents and Settings\test\..." too.selfUpdate.sup file exists in given folder along with client.wys and wyserver.wys.There are only application files to update in the update package - no other actions.I'm executing wyUpdate.exe with 'server' and 'updatepath' parameters.Testing environment is Windows XP Professional SP3.On admin account it works great.

Why wyUpdate is trying to elevate permissions in the first place?

wyUpdate tries to do the right thing. And in this case the right thing is to elevate itself because your limited user account does not have permission to read, write, set ACL settings, etc. for the folders specified. wyUpdate detects this and tries to elevate itself.

Because you're forcing wyUpdate to run as a limited user, it's failing (because it obviously doesn't have the necessary permissions).

If you want to allow non-admin updates for your customers then install to a folder that the user has complete control over (e.g. the desktop, the %appdata% folder, the documents folder, etc., etc.). Don't try to frankenstein your limited user account into a fake-admin account -- wyUpdate doesn't allow that (and for good reasons).

Or just install to a "protected" folder (e.g. C:\Program Files\... ) and let wyUpdate ask for elevation.