Can a WinForms exe be installed to program files instead of the user profile dir?
I can have the app installed once in the program files and later all updates should go in the same location.
Can a WinForms exe be installed to program files instead of the user profile dir?
I can have the app installed once in the program files and later all updates should go in the same location.
The following thread should answer your question.
How to control the location of ClickOnce installation?
ClickOnce applications are installed per user in the user application cache. These applications are managed by the ClickOnce service. If you want to install to a user specified location such as C:\Program files\ ... you should use MSI or some other installer technology.
More about ClickOnce on MSDN:
ClickOnce Deployment Overview (See the ClickOnce and Windows Installer Comparison Table)
Just curious, why do you care where it's installed, since the user doesn't need to access the deployment files?