How do I set the installation location in ClickOnce?

0

I'm developing an application in VS2012 using WPF, I'm using ClickOnce itself to install the application, but it always installs in the users' folders, type:

  

C: \ Users \ USERNAME \ AppData \ Local \ Apps \ 2.0 \ GT ?? 4KXX.PRJ \ EGV ??????????????????????????????????????????????????????????????????????????????????? 0002_1dae ???? 89111c35

I would like to know if I have a specific path to install my application or unless it installs in C: \ Program Files \     

asked by anonymous 04.08.2014 / 19:15

1 answer

1

There is no way to change, ClickOnce was meant to be so, because it was made for any user of the computer to be able to install the program, even without having administrator permissions, unless the user does not have the .Net Framework installed .

If you want to have control over where the program is installed then you need to create a normal installer yourself, either the installer project included with VS.Net or some other third party such as InnoSetup.

    
04.08.2014 / 19:56