cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
pokkireddy
Flexera beginner

Add new Tag in webconfig file in install shield

Hi,

I am trying to add new tag in the web config file using install shield script, but is not success. please help on this

<limits connectionTimeout="00:40:00" /> is the tag has to be added in the below config.

<site name="UDE-WebAPI" id="24">
<application path="/" applicationPool="UDE-WebAPI">
<virtualDirectory path="/" physicalPath="C:\Program Files (x86)\Panasonic\UDE\WebAPI\" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:8011:" />
</bindings>
<limits connectionTimeout="00:40:00" />
</site>

 

I am using Install shield 2014 version

 

Thanks

Srini

Labels (1)
0 Kudos
3 Replies
Flexera banna_k
Flexera

Re: Add new Tag in webconfig file in install shield

Hi @pokkireddy,

You can add the new tag to web.config file through the "XML File Changes" view in  InstallShield. 

As well InstallShield IIS view is having a setting to configure the application session time out :

Session Timeout (minutes)

Specify the number of minutes that a session can remain idle before the server terminates it automatically. If the end user does not refresh or request a page within the timeout period, the session ends. The default value is 20 minutes.

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/IIS-WebSiteNode.htm

0 Kudos
pokkireddy
Flexera beginner

Re: Add new Tag in webconfig file in install shield

HI,

This is not session timeout

 

i need to modify the config file from c":\\windows\system32\inetsrv\config\applicationHost.config "

so cannot use "XML File Changes"

 

Please share the installshield script to add the new tag.

0 Kudos
Flexera banna_k
Flexera

Re: Add new Tag in webconfig file in install shield

Hi @pokkireddy,

In that case, you have to write your own custom action to update the "applicationHost.config" file and sequence it after InstallShield configure your web sites.

 

0 Kudos