How to set the installation location in Clickonce?

Asked

Viewed 963 times

0

I am developing an application in VS2012 using WPF, I am using Clickonce itself to install the application, only it always installs in users' folders, like:

C: Users USERNAME Appdata Local Apps 2.0 GT?? 4KXX.PRJ EGV???? 1G.?? C prin.. tion_7???? 5a2?????? 74b6_0000.0002_1dae????? 89111c35

I would like to know if I can set a specific path to install my application or at least install it in C: Files and Programs

1 answer

1

There is no way to change, Clickonce was made to be like this, because it was made so that any computer user could install the program, even though they do not have administrator permissions, except in case 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, whether it be the installer project included in VS.Net or some other third party like Innosetup.

  • I get it, so I don’t have that possibility at all?

  • With the use of Clickonce no

Browser other questions tagged

You are not signed in. Login or sign up in order to post.