Setup produces IIS Error 4020 on Customer System - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Setup produces IIS Error 4020 on Customer System

Hi,

I have seen a couple of forum entries related to this issue, most of them are older. Currently a customer is reporting exactly the same issue while installing our product on a Windows Server 2003 SP2 server. He tries to install a feature, which contains some IIS components. The component uses a "Windows Feature Configuration" task, which basically adds IIS 6 Metabase compatibility, but this step should not be executed on this OS (see screenshot).
IIS_Config.png
IIS_Config.png (45.42 KiB) Viewed 6457 times
Do you have a glue, why this happens? (MSI Log is attached in zip)

Regards,

Roland
Attachments
error message.zip
(185.87 KiB) Downloaded 425 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Setup produces IIS Error 4020 on Customer System

Hi Roland,

From the log file, it seems that the issue is on the OnIIsConfig custom action.
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 10.9.1 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 10.9.1\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
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Setup produces IIS Error 4020 on Customer System

Hi Dan,

we tried to reproduce the issue inhouse, but without success. The customer refused to use a test version of the setup on his productive server and used a different server with a newer OS instead. This seems to work now.

I am sorry.

Regards,

Roland
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Setup produces IIS Error 4020 on Customer System

No problem Roland.

I'm glad you got this working. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Setup produces IIS Error 4020 on Customer System

Hi Dan,

the customer suddenly wants more details here and a solution. Could you send me a debug iis.dll for AI 11.1?

After receiving the debug results, I will forward it to you.

Regards,

Roland
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Setup produces IIS Error 4020 on Customer System

Hi Roland,

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.1 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 11.1\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

Return to “Common Problems”