I'm trying to alter our existing installer for a web application, so that the files are located not at C:\Inetpub\wwwroot\OurProduct but rather under C:\Program Files\OurCompany\OurProduct, so far with little success.
我正在尝试更改Web应用程序的现有安装程序,以便文件不在C:\ Inetpub \ wwwroot \ OurProduct,而是在C:\ Program Files \ OurCompany \ OurProduct下,到目前为止收效甚微。
Any help/suggestions will be appreciated, thanks.
任何帮助/建议将不胜感激,谢谢。
2 个解决方案
#2
if you want to get the installation path from the user during setup, you could have a look at this project here: http://www.codeproject.com/KB/install/WebServieInstaller.aspx it explains how to get the local installation path from the user himself.
如果你想在安装过程中从用户那里获得安装路径,你可以在这里查看这个项目:http://www.codeproject.com/KB/install/WebServieInstaller.aspx它解释了如何获取本地安装路径来自用户自己。
#1
You need to change the physical path of the virtual directory content.
您需要更改虚拟目录内容的物理路径。
#2
if you want to get the installation path from the user during setup, you could have a look at this project here: http://www.codeproject.com/KB/install/WebServieInstaller.aspx it explains how to get the local installation path from the user himself.
如果你想在安装过程中从用户那里获得安装路径,你可以在这里查看这个项目:http://www.codeproject.com/KB/install/WebServieInstaller.aspx它解释了如何获取本地安装路径来自用户自己。