- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Logic condition on IIS Application Pool Identity and Web Site Path Credentials
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Our default values are...
Application Pool, Identity = NetworkService, but some customers change this value to a use a service account.
Web Site, Path Credentials = Application User, but some customers change this value to a use a service account.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @neualex ,
Yeah could get the usecase you had added.As i mentioned the values of AppPool,Website,Application will be saved in file "applicationHost.config" which you could find under C:\Windows\System32\inetsrv\config.
You can try adding custom action(Probably via Managed custom action) to check if the values aren't default,if so dont modify those.But you have to be careful in sequencing where actual IIS setting changes values,the custom action you would add should handle that as well.
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @neualex ,
There is no way you can do it from Internet Information Services view.
When you say customers change these values?Do they change those by editing configuration file?Else how do they change?
But you can try via custom-actions to validate entries of C:\Windows\System32\inetsrv\config\applicationHost.config.If not default values you can try resetting to desired value.
Managed custom action which is via .Net dll or script based custom action can aid to proceed with this.Again it is based on what is your requirement(Means Why you want it to be with default values)
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @neualex ,
Yeah could get the usecase you had added.As i mentioned the values of AppPool,Website,Application will be saved in file "applicationHost.config" which you could find under C:\Windows\System32\inetsrv\config.
You can try adding custom action(Probably via Managed custom action) to check if the values aren't default,if so dont modify those.But you have to be careful in sequencing where actual IIS setting changes values,the custom action you would add should handle that as well.
Thanks,
Jenifer