R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Problems with IIS after updating to AI 10.5

Hi Advanced Installer Support,

I have just updated our projects to 10.5 (from 10.3), and now we experience massive problems with the IIS configuration (“There was an error during the IIS configuration process. Your original IIS configuration will be restored.”).

We have problems on all virtual machines while installing web sites, except on Windows Server 2012 machines. All virtual machines have been reset to a snapshot prior testing and they have been working in the past with the same setups created with AI 10.3 (so, its not machine related). To verify that explicitly, I got an older version from Source Control, just updated it, rebuild the setup and tested it - with exactly the same behavior.

The log files are showing these messages:

Code: Select all

MSI (s) (50:B8) [12:13:44:565]: Doing action: AI_IIsInstall
Action 12:13:44: AI_IIsInstall. Generating actions to configure Internet Information Services
Action start 12:13:44: AI_IIsInstall.
MSI (s) (50:24) [12:13:44:565]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI49.tmp, Entrypoint: OnIIsInstall
MSI (s) (50!30) [12:13:44:940]: Note: 1: 2205 2:  3: AI_IIsCertificate 
MSI (s) (50!30) [12:13:44:940]: Note: 1: 2228 2:  3: AI_IIsCertificate 4: SELECT * FROM `AI_IIsCertificate` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AI_ISAPIFilter 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AI_ISAPIFilter 4: SELECT * FROM `AI_ISAPIFilter` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AI_IIsApplicationMapping 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AI_IIsApplicationMapping 4: SELECT * FROM `AI_IIsApplicationMapping` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AI_IIsMime 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AI_IIsMime 4: SELECT * FROM `AI_IIsMime` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AI_IIsHttpHeader 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AI_IIsHttpHeader 4: SELECT * FROM `AI_IIsHttpHeader` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AI_IIsHttpError 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AI_IIsHttpError 4: SELECT * FROM `AI_IIsHttpError` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AI_IIsCertificate 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AI_IIsCertificate 4: SELECT * FROM `AI_IIsCertificate` 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: AII_IIsCustomProperties 
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2228 2:  3: AII_IIsCustomProperties 4: SELECT * FROM `AII_IIsCustomProperties` 
MSI (s) (50!30) [12:13:44:956]: PROPERTY CHANGE: Adding AI_IIsRollback property. Its value is 'ProductNameOurProductName ServerProductCode{00000000-0000-0000-0000-000000000000}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITE0OurProductName&TheWebAccess=312385v4.00-1-1-100-1-1-1-1-1-1-1-1-11C:\Program Files\Product\149761513index.html, index.htm, default.htmDefault Web Site:80:00C:\Inetpub\wwwroot\TWA\&TheWebAccess=3848417513default.aspxOurProductName4.0.30319TWA11C:\Inetpub\wwwroot\TWA\Client\&TheWebClient=33241295134.0.30319Client102C:\Inetpub\wwwroot\TWA\MFP\&TheMFPWebPrint=33241295134.0.30319MFP10'.
MSI (s) (50!30) [12:13:44:956]: Doing action: AI_IIsRollback
Action 12:13:44: AI_IIsRollback. Rolling back IIS configuration
Action start 12:13:44: AI_IIsRollback.
MSI (s) (50!30) [12:13:44:956]: Note: 1: 2205 2:  3: MsiPatchCertificate 
MSI (s) (50!30) [12:13:44:956]: LUA patching is disabled: missing MsiPatchCertificate table
Action 12:13:44: GenerateScript. Generating script operations for action:
GenerateScript: Rolling back IIS configuration
Action ended 12:13:44: AI_IIsRollback. Return value 1.
MSI (s) (50!30) [12:13:44:956]: PROPERTY CHANGE: Deleting AI_IIsRollback property. Its current value is 'ProductNameOurProductName ServerProductCode{00000000-0000-0000-0000-000000000000}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITE0OurProductName&TheWebAccess=312385v4.00-1-1-100-1-1-1-1-1-1-1-1-11C:\Program Files\Product\149761513index.html, index.htm, default.htmDefault Web Site:80:00C:\Inetpub\wwwroot\TWA\&TheWebAccess=3848417513default.aspxOurProductName4.0.30319TWA11C:\Inetpub\wwwroot\TWA\Client\&TheWebClient=33241295134.0.30319Client102C:\Inetpub\wwwroot\TWA\MFP\&TheMFPWebPrint=33241295134.0.30319MFP10'.
MSI (s) (50!30) [12:13:44:956]: PROPERTY CHANGE: Adding AI_IIsConfig property. Its value is 'ProductNameOurProductName ServerProductCode{00000000-0000-0000-0000-000000000000}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITE0OurProductName&TheWebAccess=312385v4.00-1-1-100-1-1-1-1-1-1-1-1-11C:\Program Files\Product\149761513index.html, index.htm, default.htmDefault Web Site:80:00C:\Inetpub\wwwroot\TWA\&TheWebAccess=3848417513default.aspxOurProductName4.0.30319TWA11C:\Inetpub\wwwroot\TWA\Client\&TheWebClient=33241295134.0.30319Client102C:\Inetpub\wwwroot\TWA\MFP\&TheMFPWebPrint=33241295134.0.30319MFP10'.
MSI (s) (50!30) [12:13:44:956]: Doing action: AI_IIsConfig
Action 12:13:44: AI_IIsConfig. Configuring Internet Information Services
Action start 12:13:44: AI_IIsConfig.
AI_IIsConfig: Installing "Configuring Internet Information Services"
Action ended 12:13:44: AI_IIsConfig. Return value 1.
MSI (s) (50!30) [12:13:44:956]: PROPERTY CHANGE: Deleting AI_IIsConfig property. Its current value is 'ProductNameOurProductName ServerProductCode{00000000-0000-0000-0000-000000000000}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITE0OurProductName&TheWebAccess=312385v4.00-1-1-100-1-1-1-1-1-1-1-1-11C:\Program Files\Product\149761513index.html, index.htm, default.htmDefault Web Site:80:00C:\Inetpub\wwwroot\TWA\&TheWebAccess=3848417513default.aspxOurProductName4.0.30319TWA11C:\Inetpub\wwwroot\TWA\Client\&TheWebClient=33241295134.0.30319Client102C:\Inetpub\wwwroot\TWA\MFP\&TheMFPWebPrint=33241295134.0.30319MFP10'.
Action ended 12:13:44: AI_IIsInstall. Return value 1.
MSI (s) (50:B8) [12:13:44:971]: Doing action: AI_AiRestoreDeferred
Action 12:13:44: AI_AiRestoreDeferred. Executing restore operation
Action start 12:13:44: AI_AiRestoreDeferred.
AI_AiRestoreDeferred: Path: Executing restore operation
Action ended 12:13:44: AI_AiRestoreDeferred. Return value 1.
MSI (s) (50:B8) [12:13:44:971]: Doing action: DisableAllInstalledServices
Action 12:13:44: DisableAllInstalledServices. 
Action start 12:13:44: DisableAllInstalledServices.
DisableAllInstalledServices: 
Action ended 12:13:44: DisableAllInstalledServices. Return value 1.
MSI (s) (50:B8) [12:13:44:971]: Doing action: AI_DATA_SETTER_6
Action 12:13:44: AI_DATA_SETTER_6. 
Action start 12:13:44: AI_DATA_SETTER_6.
MSI (s) (50:B8) [12:13:44:971]: PROPERTY CHANGE: Adding SetWebAccessAuth property. Its value is 'C:\Inetpub\wwwroot\TWA\'.
Action ended 12:13:44: AI_DATA_SETTER_6. Return value 1.
MSI (s) (50:B8) [12:13:44:971]: Doing action: SetWebAccessAuth
Action 12:13:44: SetWebAccessAuth. 
Action start 12:13:44: SetWebAccessAuth.
SetWebAccessAuth: 
Action ended 12:13:44: SetWebAccessAuth. Return value 1.
MSI (s) (50:B8) [12:13:44:987]: Skipping action: AI_ConfigureChainer (condition is false)
MSI (s) (50:B8) [12:13:44:987]: Skipping action: AI_LaunchChainer (condition is false)
MSI (s) (50:B8) [12:13:44:987]: Doing action: InstallFinalize
Action 12:13:44: InstallFinalize. 
Action start 12:13:44: InstallFinalize.
MSI (s) (50:B8) [12:13:44:987]: Running Script: C:\WINDOWS\Installer\MSI4A.tmp
MSI (s) (50:B8) [12:13:45:002]: User policy value 'DisableRollback' is 0
MSI (s) (50:B8) [12:13:45:002]: Machine policy value 'DisableRollback' is 0
MSI (s) (50:B8) [12:13:45:002]: Executing op: Header(Signature=1397708873,Version=405,Timestamp=1126457783,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (50:B8) [12:13:45:002]: Executing op: ProductInfo(ProductKey={00000000-0000-0000-0000-000000000000},ProductName=OurProductName Server,PackageName=TheServer.msi,Language=1033,Version=184614913,Assignment=1,ObsoleteArg=0,ProductIcon=CompanyLogo_1.exe,,PackageCode={C8C229DD-2410-444D-91CE-6A3C16F396C7},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
MSI (s) (50:B8) [12:13:45:002]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (50:B8) [12:13:45:002]: Executing op: DialogInfo(Type=1,Argument=OurProductName Server)
MSI (s) (50:B8) [12:13:45:002]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (50:B8) [12:13:45:002]: Executing op: SetBaseline(Baseline=0,)
MSI (s) (50:B8) [12:13:45:002]: Executing op: SetBaseline(Baseline=1,)
MSI (s) (50:B8) [12:13:45:002]: Executing op: ActionStart(Name=AI_IIsRollback,Description=Rolling back IIS configuration,Template=Restoring metabase configuration.)
Action 12:13:45: AI_IIsRollback. Rolling back IIS configuration
MSI (s) (50:B8) [12:13:45:002]: Executing op: CustomActionSchedule(Action=AI_IIsRollback,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (50:B8) [12:13:45:002]: Executing op: ActionStart(Name=AI_IIsConfig,Description=Configuring Internet Information Services,Template=Installing "[1]")
Action 12:13:45: AI_IIsConfig. Configuring Internet Information Services
MSI (s) (50:B8) [12:13:45:018]: Executing op: CustomActionSchedule(Action=AI_IIsConfig,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (50:2C) [12:13:45:018]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI4C.tmp, Entrypoint: OnIIsConfig
Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
MSI (s) (50!38) [12:15:47:853]: Product: OurProductName Server -- Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
Any ideas?

Regards,

Roland

P.S.: Of course, I did a research in forum and internet before posting this, but it seems, that I neither have problems with https certificates or other things mentioned together with error code 4020. In fact, nothing has changed, except the AI version.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problems with IIS after updating to AI 10.5

Hello Roland,

I'm not sure why this happens. In order to get more details about what generates this failure can you please download the following debug DLL, replace the original one from the install folder of Advanced Installer 10.5 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 10.5\custact\x86) on your machine, then restart the Advanced Installer application and rebuild the package?

This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_IIS.log), which can give us more details about the problem. So, please send us the AI_IIS.log file, to support at advancedinstaller dot com, after you will build and test your installation package using the debug iis.dll.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hi Daniel,

hm, please check the attached log, as far as I understand it, something must be wrong with the application pool:

Code: Select all

[..\src\iis\IISManager.cpp:506] -> IIS::IIsManager::ConfigureIIS()          | Installing Application Pools...
[..\src\iis\IISCore.cpp:94] -> IIS::IISCore::InstallApplicationPool()       | Installing ApplicationPool: [AppPool™] ...
[..\..\common\Exception.cpp:87] -> Exception::TraceException()              | ..\src\iis\IISCore.cpp:263 ->  COM Error [0x80070057]: (The parameter is incorrect.)
[..\src\iis\IISData.cpp:382] -> IIS::IIsData::SaveEntityInfo()              | SaveEntityInfo: APPPOOL[0] - SKIPPED - ResolvedName: AppPool™; Data: ;
[..\src\Main.cpp:396] -> OnIIsConfig()                                      | OnIIsConfig end.
[..\src\iis\WebCertificateMgr.cpp:30] -> IIS::WebCertificateMgr::~WebCertificateMgr() | Cleaning-up the web certificate temporary cache...
But there seems to be more errors. Please see the attached log file for more details.

Regards,

Roland
Attachments
AI_IIS.zip
(2.67 KiB) Downloaded 790 times
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hi Dan,

to make sure, there is no problem with the ­™-sign (Trademark), I created an Application Pool without this sign, but it doesn't work either. We are using the ™-sign since AI 9.7, this was not a recent change.

Regards,

Roland
Attachments
AI_IIS_Win2008.zip
(8.32 KiB) Downloaded 721 times
AI_IIS_2_no_TM.zip
(4.14 KiB) Downloaded 936 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problems with IIS after updating to AI 10.5

Hello Roland,

We investigated this, and indeed it seems to be caused by an Advanced Installer issue. A fix for it was already included in the 10.5.1 version of Advanced Installer which should be out soon. Thank you for bringing this to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problems with IIS after updating to AI 10.5

Hello Roland,

This was fixed in version 10.5.1 of Advanced Installer released on September 06, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hello Daniel,

IT IS NOT FIXED IN AI 10.5.1!

The IIS configuration works now on Windows 2003 and Windows 2012, but not on Windows 2008 or Windows 2008 R2. So, the most important OSes are not fixed yet.
IIS_2003.png
IIS_2003.png (11.4 KiB) Viewed 13659 times
IIS_2008.png
IIS_2008.png (21.31 KiB) Viewed 13659 times
IIS_2K8R2.png
IIS_2K8R2.png (21.46 KiB) Viewed 13659 times
This becomes urgent now, I need a fix for Windows 2008 and Windows 2008 R2 as well! (And maybe everybody else using AI also).

Regards,

Roland
Last edited by R.Mueller on Mon Sep 09, 2013 11:25 am, edited 3 times in total.
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Here is a screenshot of Windows 2012 also (could only add three screenshots):
IIS_2012.png
IIS_2012.png (27.54 KiB) Viewed 13659 times
Regards,

Roland
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hello Daniel,

Here is a msi log file:
MSI_IIS_2K8R2.zip
(829.18 KiB) Downloaded 891 times
Do you need another IIS debug log file? In that case, please provide me an updated debug dll and I will send you the IIS_log immediately.

Regards,

Roland
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problems with IIS after updating to AI 10.5

Hello Roland,

Here's a download link for an IIS debug dll. Please send us the AI_IIS.log file to support at advancedinstaller dot com after you will build and test your installation package using this debug dll.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hi Daniel,

I have sent the log file to support.

Regards,

Roland
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problems with IIS after updating to AI 10.5

Hello Roland,

Indeed, this seems to be caused by an Advanced Installer issue. We apologize for this inconvenience. A fix for it will be available in the next version of Advanced Installer, thank you for bringing this to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hi Daniel,

when is the next version of AI scheduled?

Regards,

Roland
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problems with IIS after updating to AI 10.5

Hello Roland,

It is scheduled at the end of this month. I've sent you an e-mail containing a fix for this issue, so you can use it until we release the next version.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Problems with IIS after updating to AI 10.5

Hi Daniel,

thanks, I have seen it. I am testing it right now.

Regards,

Roland

Return to “Common Problems”