Link to home
Start Free TrialLog in
Avatar of Coralie Crumrine
Coralie CrumrineFlag for United States of America

asked on

Best Method to deploy and update application

I have an application that will require it to "Run As Administrator". And yes, before you ask, it has to have the elevated permissions.
I have deployed many programs with the ClickOnce built into visual studio. I love it. However, due to the restrictions of only being able to run "AsInvoker" this method is obviously not the right choice to deploy this application.
Does anyone have any suggestions on what would be the best way to not only deploy but also update the application?  I really like the automatic update functionality of the ClickOnce so if you have any ideas that get close to that it would be appreciated.
Right now, I am thinking of creating a "wrapper" type app that will shell call my app with the required permission level and letting the "wrapper" type app handle the updates. It seems kludgey to me though. Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of deer22
deer22
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Coralie Crumrine

ASKER

I don't mind the challenge of the UAC. I have written modified the manifests that ask for the permission to elevate and did all the signing etc, so that is not a worry.

I have never used patches or updates other than ClickOnce, and doing a search brings up a LOT of ClickOnce pages, thus my confusion.

Do you update by replacing the actual exe file? Thanks for the heads up about the files added afterwards. That is a good point.
Yes, I update any files that need updated including the main exe and the updater if needed.  I use the all users application data folder to download the needed files.
SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial