I'm building an Installer which installs a Windows Service and (should install) a website.
Up to the part of the windows service everything was perfect. It installed correctly and the windows service was running.
Then I added the websites compiled files under "IIS WWW Root" /TMS
The files where copied correctly.
I manualy created in the IIS Manager an Application Pool (.net 40 /integrated pipline, application pool idenity) and a Website (windows authetication) and the site runned perfectly
Now I wanted to create the website via AI:
I register a new WebSite (Called TMS) with a new Application pool (called TMS)
The Application Pool should run with Identity "ApplicationPoolIdentity" , the .netFramwork 4.0 and Pipeline Mode Integrated ;
The Website should use this Application Pool. and only enable Windows Authentication (default anonymous). The Folder it is referencing to is "IIsWWWRootFolder\TMS". Also the binding I changed to run under port 8080. (Same as I did manually)
Now my setup crashes:
As soon as I remove the new website, the setup works.......
MSI (s) (D4:C8) [17:41:10:487]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=46432491)
Action ended 17:41:10: InstallExecute. Return value 1.
MSI (s) (D4:C8) [17:41:10:502]: Doing action: AI_WinOptFeaturesCheckReboot
Action 17:41:10: AI_WinOptFeaturesCheckReboot.
Action start 17:41:10: AI_WinOptFeaturesCheckReboot.
MSI (s) (D4:70) [17:41:10:549]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI77ED.tmp, Entrypoint: OnWinOptFeaturesCheckReboot
Action ended 17:41:10: AI_WinOptFeaturesCheckReboot. Return value 1.
MSI (s) (D4:C8) [17:41:10:565]: Doing action: AI_IIsInstall
Action 17:41:10: AI_IIsInstall. Generating actions to configure Internet Information Services
Action start 17:41:10: AI_IIsInstall.
MSI (s) (D4:8C) [17:41:10:627]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI782C.tmp, Entrypoint: OnIIsInstall
CustomAction AI_IIsInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:41:10: AI_IIsInstall. Return value 3.
......
What am I doing wrong?
Thanks for the help
FOLLOW US
Get the latest news in Application Packaging