IIS 7 agent install error

Document ID : KB000052217
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Customer Env:
------------
OS: win2008 64 bits
web server : IIS 7.0 64 bits
web agent version and platform: 6 QMR5 CR 35 64 bits

Problem:
--------------
Can not get web agent installed, Getting multiple errors.
The error/warnings during the install tell you to check the install log.
Custom Action: com.netegrity.brlib.registry.DeleteKeyAtInstall
Status: ERROR
Additional Notes: ERROR - class
com.netegrity.brlib.registry.DeleteKeyAtInstall.install() Unexpected Fatal
Error:
Custom Action:
Status: WARNING
Additional Notes: WARNING - Unable to copy file from: D:\Program Files
(x86)\netegrity\webagent\samples_default\forms\login.fcc to D:\Program Files
(x86)\netegrity\webagent\samples\forms\login.sfcc.
Custom Action:
The error during the Configurtation is:"An error has occured: Unable to create new file: %SystemDrive%\inetpub\wwwroot\web.config"

Solution:

First of all web agent bits need to match with web server bits. The first two errors were caused due to software incompatible. Once we loaded 64 bits web agent installer.
The top two errors went away.

Web agent installer can not create file in IIS, normally you would think this is windows permission issue, however user already has local admin privileges. The True cause here is %SystemDrive% is a variable defined in IIS local settings, the installer can not find the REAL location of directory \inetpub\wwwroot. %SystemDrive% . This needs to be replaced with TRUE value, such as C: or D:.

This settings is modified through IIS-->Default Web Site-->Local Settings.