C# - Automatically Update My .NET Application In Vista Without Admin Rights?Apr 16, 2009
I am trying to build a self-updating .NET application that will run in an environment with limited user accounts. No admin rights here. The application must run on Vista and XP, and probably Win 7 when it comes out.An X-copy deployment would be fine. I would prefer NOT to use click-once.So far I have tried a system where the application checks a manifest and downloads updated binaries, which worked great in development, but not so much when the app was installed.Vista refuses to to let me copy files to Program Files. After that, I tried downloading an updated .msi, which works except that the MSI has a UAC prompt -- no go if the user does not have an account with local admin privileges.
running the program in AppData and using the x-copy method might work, but I have not seen anyone say that they have tried it and it did work. Will that work for an account without admin rights? Can anyone vouch for this method before I start writing more code?