发布Windows窗体应用程序如何更改安装路径 [英] Publish Windows form application how change the installation path

查看:278
本文介绍了发布Windows窗体应用程序如何更改安装路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个Windows窗体应用程序,并已发布用于客户端安装。在安装安装文件时,应要求用户选择安装目录路径。而是安装在默认路径中,如下所示:

I have built one windows forms application and I published for client installation. While installing the setup file, it should ask the user to select the installation directory path; instead, it's installing in default path as below :

C:\Users\Mysys_t\AppData\Local\Apps\2.0\434YBBVC.Z2H\TNYPR09N.1JZ

有任何设置可以执行此操作,这样在安装时,用户可以选择安装目录吗?

Is there any settings to do this, so that, while installing, user is able to select the installation directory?

推荐答案

这可以通过

使用Visual Studio安装项目为C#Windows应用程序创建MSI包

Creating an MSI Package for C# Windows Application Using a Visual Studio Setup Project

pls请点击以下链接:

pls follow the link below :

http://www.c-sharpcorner.com/UploadFile/1492b1/creating-an-msi-package-for-C-Sharp-windows-application-using-av/

这篇关于发布Windows窗体应用程序如何更改安装路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆