Alex99
Posts: 42
Joined: Thu Feb 14, 2013 9:28 am

Error 4020. There was an error during the IIS configuration

Hello,
I have an Advanced Installer 11.0 build 55831.
Installation process often fails in different OS on IISConfiguration.
Untitled.jpg
Untitled.jpg (44.78 KiB) Viewed 5905 times
Below part of installer's logs:

Code: Select all

MSI (s) (FC:68) [13:03:32:149]: Executing op: SetBaseline(Baseline=0,)
MSI (s) (FC:68) [13:03:32:149]: Executing op: SetBaseline(Baseline=1,)
MSI (s) (FC:68) [13:03:32:149]: Executing op: ActionStart(Name=AI_IIsRollback,Description=Rolling back IIS configuration,Template=Restoring metabase configuration.)
Action 13:03:32: AI_IIsRollback. Rolling back IIS configuration
MSI (s) (FC:68) [13:03:32:149]: Executing op: CustomActionSchedule(Action=AI_IIsRollback,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (FC:68) [13:03:32:149]: Executing op: ActionStart(Name=AI_IIsConfig,Description=Configuring Internet Information Services,Template=Installing "[1]")
Action 13:03:32: AI_IIsConfig. Configuring Internet Information Services
MSI (s) (FC:68) [13:03:32:149]: Executing op: CustomActionSchedule(Action=AI_IIsConfig,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (FC:60) [13:03:32:149]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIBCF5.tmp, Entrypoint: OnIIsConfig
AI_IIsConfig: Installing "Test ApplicationName"
Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
MSI (s) (FC!14) [13:03:35:961]: Product: TestSite -- Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.

CustomAction AI_IIsConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 13:03:35: InstallFinalize. Return value 3.
MSI (s) (FC:68) [13:03:35:961]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (FC:68) [13:03:35:961]: User policy value 'DisableRollback' is 0
MSI (s) (FC:68) [13:03:35:961]: Machine policy value 'DisableRollback' is 0
MSI (s) (FC:68) [13:03:35:961]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1150773361,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (FC:68) [13:03:35:961]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (FC:68) [13:03:35:961]: Executing op: DialogInfo(Type=1,Argument=TestSite)
MSI (s) (FC:68) [13:03:35:961]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 13:03:35: Rollback. Rolling back action:
1: Configuring Internet Information Services 
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error 4020. There was an error during the IIS configurat

Hello,

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

Just replace the original iis.dll from the install folder of Advanced Installer with this one, then restart the 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, can you 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?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phil.durand
Posts: 5
Joined: Thu Oct 09, 2014 8:20 pm

Re: Error 4020. There was an error during the IIS configuration

It's disappointing that the forums are filled with these posts where a user has a problem, the staff reply and tell them to take the conversation offline. You really should put the actual resolution replies for all to see so we can actually make use of the forums. Most of the real issues, are taken offline in private.

I could have used the details of how to solve this issue. This is part of the primary reason we did not renew our subscription to Advanced Installer. You don't have good customer service and it's really hard to get assistance with problems.

I'm getting the exact same problem with the 12.1 version of Advanced Installer (the 4020 error with the 1603 code), we never used to have this problem... seems new even though we never upgraded anything. I wonder if this product is not staying compatible with new versions of windows and IIS. :evil:
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error 4020. There was an error during the IIS configuration

Hello Phil,

Thank you for your feedback, even is not a positive one. We apologize for any inconveniences you might had in getting a resolution to your support tickets, but I can assure you we do all our best to be responsiveness to all our customer issues and to get a positive resolution to their requirements.

We didn't post any further reply to this ticket because the issue was not caused by our IIS support, but by a customer related problem. After the user used our debug module he found out that the IIS installation error was caused by a missing dependency of its web application at install time.

Generally we encourage all our users to post the resolution to their tickets when found, however this should be entirely their choice. We cannot disclose details at our initiative from our user side. Also, when we require resources from our users we do require them to send us by email only due to privacy reasons. Usually our customers don't want to publicly disclose private resources.

However, we do appreciate your feedback and in the future we'll try to be more transparent when a resolution to a forum ticket is found.
I'm getting the exact same problem with the 12.1 version of Advanced Installer (the 4020 error with the 1603 code), we never used to have this problem... seems new even though we never upgraded anything. I wonder if this product is not staying compatible with new versions of windows and IIS. :evil:
The only way to investigate the root cause of this behavior will be to first check your project settings and a failing installation log. So, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them? Moreover, if you could isolate the issue in a sample which consistently replicates the problem this will be great.

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

Return to “Common Problems”