Hi again,
Tried again with the default iis.dll file and now installs without an error.
Now the basic installation works I have implemented the additional features needed; leaving just two final steps. Implementing the IIS configuration batch file executions and setting IIS_IUSRS permissions to Full control.
I have an error free installation without implementing the above changes but adding either I encounter problems.
Adding IIS user permissions to my APPDIR, I am no longer able to view asp.net settings or reach the launchpage at localhost/MyIISName due to insufficient permissions - despite setting full control to IIS_IUSRS in the files and folders view. I actually need to be able to add IIS_IUSRS access to the parent folder of my APPDIR (IE. allowing IIS_IUSRS full control of CompanyName and subfolders instead of just ProductName and subfolders (C:/CompanyName/ProductName))
Adding the scripts in separate batch files (couldn't resolve temporary file in Advanced Installer so i installed the batch files to appdir)
I used the custom action of "Launch File" with the settings below ( I tried using the help files online but the pages appear to be outdated and reference custom actions which have been superseded in newer AI versions?)
File to launch: [#disableCache.bat]
Batch file content: appcmd.exe set config /section:staticContent /clientCache.cacheControlMode:DisableCache
Command Line: left blank
Working Directory: [SystemFolder]\inetsrv
Deferred, No Impersonation
File to launch: [#scriptTimeout.bat]
Batch file content: appcmd.exe set config /section:asp /scriptTimeout:00:00:03
Command Line: left blank
Working Directory: [SystemFolder]\inetsrv
Deferred, No Impersonation
EDIT: I have found that the scripting problem is to do with the "scriptTimeout" batch file; installing and executing the disable cache script runs fine on install and the changes are reflected in IIS Manager.
I am still having problems with assigning permissions to the C:/CompanyName folder, any help you can give is, as always, greatly appreciated.
Thanks again,