Choose install path for ClickOnce application during setup

后端 未结 3 559
醉梦人生
醉梦人生 2021-01-23 12:25

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 ca

相关标签:
3条回答
  • 2021-01-23 12:37

    Not sure if it is changed, but ClickOnce applications are installed per user in the user application cache. You cant change that location. This means that if 2 different user share the same machine there are 2 different copies of your application.

    0 讨论(0)
  • 2021-01-23 12:41

    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

    0 讨论(0)
  • 2021-01-23 12:44

    No, you can't. ClickOnce install the application in a user's AppData folder it's not installed like a traditional application. If you want to have more control over stuff like this you need to write your own installer.

    0 讨论(0)
提交回复
热议问题