New WebSite Fails - Advanced Installer Community
pimboden40
Posts: 22
Joined: Wed Jun 04, 2014 3:42 pm

New WebSite Fails

Hello.
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:
....
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.

......
As soon as I remove the new website, the setup works...
What am I doing wrong?

Thanks for the help
MSI3CC4.zip
(69.99 KiB) Downloaded 315 times
Chbits.Tms.ServiceInstaller.zip
(21.84 KiB) Downloaded 309 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New WebSite Fails

Hello,

First of all I apologize for my delayed reply. Last week we had a release and were quite busy.

I'm not sure why this happens. Unfortunately the installation log doesn't contain to much info about this error. Can you please send us an email to support at advancedinstaller dot com regarding this issue so we can offer you a debug version of our IIS module? This way you will be able to log more information about this failure.

Also, for testing purposes only, can you rebuild a copy of your project by using the latest version of AI (12.2) and see if the error still persists? If your maintenance plan doesn't cover the last version of AI, the you can install it in trail mode and build a copy of your project to check if the error still replicates.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pimboden40
Posts: 22
Joined: Wed Jun 04, 2014 3:42 pm

Re: New WebSite Fails

Well. Since I'm not able to rebuild to a newer version of AI just now, because we have some standard software in our company that we have to use.. and i'm not allowed to just upgrade.
I decided to split my Windows Service Installation and my Web-Site Installation in 2 different installers... and that DID work.
So somehow it doesn't work if I Install a Website AND a Windows Service simultaneously...

I can live with that...
Thank you for trying to help.

My little son wants me to send you these: :mrgreen: :lol:
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: New WebSite Fails

Hello,
Well. Since I'm not able to rebuild to a newer version of AI just now, because we have some standard software in our company that we have to use.. and i'm not allowed to just upgrade.
I decided to split my Windows Service Installation and my Web-Site Installation in 2 different installers... and that DID work.
So somehow it doesn't work if I Install a Website AND a Windows Service simultaneously...

I can live with that...
Thank you for trying to help.
You're welcome. I'm not sure why the unified installation fails. I tested the scenario using AI 11.7.1 on our side and everything went fine. Most likely there was something specific only to your installation files/scenario.

Just let us know if there is anything we can help you with.
My little son wants me to send you these: :mrgreen: :lol:
:D

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”