File Destination causing UAC for wyUpdate

I've read the various posts on UAC but I have not found a solution to my problem. I'm hoping someone can help!

Here is how we are using wyUpdate:

Our application is installed via an msi. The application reads xml files from the Public folder on the users machine. These xml files are updated regularly and we're using wyUpdate to copy those files to the Public folder.

Our users do NOT have privileges on their systems. When I use wyBuild to copy the files to the c:\users\public folder, it requests elevation. But if I change wyBuild to copy to the users Roaming folder, there is no elevation requested and the files are copied.

I verified that the Public folder has full control for everyone.

Any ideas?

If wyUpdate is sitting inside of that C:\User\public folder, and your files are in "Your program's folder" inside of wyBuild, then, and only then, will wyUpdate scan the folder and try to determine the file and folder permissions and whether UAC is needed.

Note: if that's what you're doing, then you haven't given enough permissions for that folder to the current user running wyUpdate.

wyUpdate is in the public folder and my files in wyBuild are in that same public folder (c:\users\public)

The more I think about this, it has to be a permissions problem. I'm not even sure that wyUpdate can help us now. Here is our scenario:

Our customers share a machine. Our app is installed by an Admin but is used by multiple non-privileged users on the same machine. We want to update peripheral files in the app when the users close the app. We kept running in to UAC problems because of the limited user profiles. So I kept trying to move the files around, including wyUpdate and client.wyc, so that the update would work. I keep hitting various snags.

Can wyUpdate do this? Is there something I need to do with accounts/permissions during the Admin install?

As we've talked about in other forum posts, you need to give full permissions (all the permissions) to the folder, subfolders, and files for any users that will be running wyUpdate, and for cases where you don't want the UAC prompt to show up.

That's just how Windows works. If you want to modify something then you need permission to do it. Even if you create your own updater the same thing is true.

If you're still having trouble with it then you need to provide a lot more information:

1. Exactly where wyUpdate.exe and the client.wyc are sitting. (hint: it should be in the folder you're trying to update).

2. Where you're trying to update files. (it should be in the same folder, or a subfolder from where wyUpdate.exe is sitting)

3. Where in wyBuild you're putting the files in wyBuild (hint: put them in "Your program's folder").

4. Screenshot(s) listing the permissions for the folder, and which users have the permissions.