Choose install path for ClickOnce application during setup

David picture David · Jun 26, 2012 · Viewed 7.1k times · Source

Can I ask the user WHERE to install the application during install time? Most setups prompt the user where to install the application, I'm sure you are familiar with it. How can I do this with the visual studio publisher? (If it cannot be done from the VS publisher could you reccommend a program that can do it? Or do I have to do it manually?

Answer

ssis_ssiSucks picture ssis_ssiSucks · Jun 26, 2012

As per this MSDN post: "ClickOnce application 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 specifed location such a Program Files... you should use MSI or some other installer technology."

The other deployment methodologies supported by Visual Studio are discussed here