简体   繁体   English

InstallShield XML文件更改-在安装时更改iis端口

[英]InstallShield XML File Changes - Change iis port on install

I am building a web application installation using InstallShield 2015, and I need to modify the Web.config file of my app based on user input. 我正在使用InstallShield 2015构建Web应用程序安装,并且需要根据用户输入修改应用程序的Web.config文件。 The user can insert the port that will be used in the IIS later on. 用户可以稍后插入将在IIS中使用的端口。 how can I change the web.config file depending on the insertion of the user ? 如何根据用户的插入来更改web.config文件?

在此处输入图片说明

Here is the location of insertion the ports. 这是插入端口的位置。

在此处输入图片说明

how can I replace any IP inserted by the user during the installation in the xml file "Web.config"? 如何替换安装过程中用户在xml文件“ Web.config”中插入的任何IP?

loginUrl的值应类似于...

http://localhost:[IISSSOPORT]/User/Login

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM