IIS SSL PFX Fails - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

TomCox
Posts: 12
Joined: Wed Sep 07, 2011 9:59 pm

IIS SSL PFX Fails

Greetings... Allowing user to create self signed cert PFX file and browsing for it. Once IIS gets to that part of the MSI installation, it crashes. See log below.

===============================
Action 21:57:42: AI_IIsConfig. Configuring Internet Information Services
Action start 21:57:42: AI_IIsConfig.
AI_IIsConfig: Installing "Configuring Internet Information Services"
Action ended 21:57:42: AI_IIsConfig. Return value 1.
MSI (s) (F8!7C) [21:57:42:520]: PROPERTY CHANGE: Deleting AI_IIsConfig property. Its current value is '2 SSLW AdministratorIIS=312405v2.0-1-1-1-1-1-1-1-1-1-1-1-1-1-1-10Default Web SiteC:\Inetpub\wwwroot\1:80:049761513index.html, index.htm, default.htm2 SSLW AdministratorC:\Inetpub\wwwroot\\IIS=3:80:localhost:443:001622625513index.aspx, index.html, index.htm, default.htm SSLW Administrator0ROOT0C:\Program Files (x86)\TechToolbox\test.test.com.pfx4899BEA4D793F1031280A353AD42A311ProductNameProductCode{16C36C1A-4F6B-43F8-A85C-13C80079B5E3}IISOPENMMCIISBACKUPAFTER'.
Action ended 21:57:42: AI_IIsInstall. Return value 1.
MSI (s) (F8:88) [21:57:42:520]: Doing action: InstallFinalize
Action 21:57:42: InstallFinalize.
Action start 21:57:42: InstallFinalize.
MSI (s) (F8:88) [21:57:42:520]: Running Script: C:\Windows\Installer\MSI926F.tmp
MSI (s) (F8:88) [21:57:42:520]: User policy value 'DisableRollback' is 0
MSI (s) (F8:88) [21:57:42:520]: Machine policy value 'DisableRollback' is 0
MSI (s) (F8:88) [21:57:42:520]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1063694134,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (F8:88) [21:57:42:520]: Executing op: ProductInfo(ProductKey={16C36C1A-4F6B-43F8-A85C-13C80079B5E3},ProductName=,PackageName=_Installer.msi,Language=1033,Version=16842759,Assignment=1,ObsoleteArg=0,ProductIcon=TTB_ICONs_Full.exe,,PackageCode={20A65767-5957-49E1-83BD-9DE487929D00},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
MSI (s) (F8:88) [21:57:42:520]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (F8:88) [21:57:42:520]: Executing op: DialogInfo(Type=1,Argument=)
MSI (s) (F8:88) [21:57:42:520]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (F8:88) [21:57:42:520]: Executing op: SetBaseline(Baseline=0,)
MSI (s) (F8:88) [21:57:42:520]: Executing op: SetBaseline(Baseline=1,)
MSI (s) (F8:88) [21:57:42:520]: Executing op: ActionStart(Name=AI_IIsRollback,Description=Rolling back IIS configuration,Template=Restoring metabase configuration.)
Action 21:57:42: AI_IIsRollback. Rolling back IIS configuration
MSI (s) (F8:88) [21:57:42:520]: Executing op: CustomActionSchedule(Action=AI_IIsRollback,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (F8:88) [21:57:42:520]: Executing op: ActionStart(Name=AI_IIsConfig,Description=Configuring Internet Information Services,Template=Installing "[1]")
Action 21:57:42: AI_IIsConfig. Configuring Internet Information Services
MSI (s) (F8:88) [21:57:42:520]: Executing op: CustomActionSchedule(Action=AI_IIsConfig,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (F8:44) [21:57:42:567]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI9280.tmp, Entrypoint: OnIIsConfig
MSI (s) (F8:28) [21:57:42:567]: Generating random cookie.
MSI (s) (F8:28) [21:57:42:567]: Created Custom Action Server with PID 15184 (0x3B50).
MSI (s) (F8:40) [21:57:42:582]: Running as a service.
MSI (s) (F8:40) [21:57:42:582]: Hello, I'm your 32bit Elevated custom action server.
AI_IIsConfig: Installing " SSLW Administrator"
AI_IIsConfig: Installing " SSLW Administrator"
Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
MSI (s) (F8!68) [21:57:45:671]: Product: -- 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 21:57:45: InstallFinalize. Return value 3.
MSI (s) (F8:88) [21:57:45:686]: User policy value 'DisableRollback' is 0
MSI (s) (F8:88) [21:57:45:686]: Machine policy value 'DisableRollback' is 0
MSI (s) (F8:88) [21:57:45:686]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1063694134,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (F8:88) [21:57:45:686]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (F8:88) [21:57:45:686]: Executing op: DialogInfo(Type=1,Argument=)
MSI (s) (F8:88) [21:57:45:686]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 21:57:45: Rollback. Rolling back action:
1: Configuring Internet Information Services
MSI (s) (F8:88) [21:57:45:686]: Executing op: ActionStart(Name=AI_IIsConfig,Description=Configuring Internet Information Services,Template=Installing "[1]")
MSI (s) (F8:88) [21:57:45:686]: Executing op: ProductInfo(ProductKey={16C36C1A-4F6B-43F8-A85C-13C80079B5E3},ProductName=,PackageName=_Installer.msi,Language=1033,Version=16842759,Assignment=1,ObsoleteArg=0,ProductIcon=TTB_ICONs_Full.exe,,PackageCode={20A65767-5957-49E1-83BD-9DE487929D00},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
1: Rolling back IIS configuration
MSI (s) (F8:88) [21:57:45:686]: Executing op: ActionStart(Name=AI_IIsRollback,Description=Rolling back IIS configuration,Template=Restoring metabase configuration.)
MSI (s) (F8:88) [21:57:45:686]: Executing op: CustomActionRollback(Action=AI_IIsRollback,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (F8:D8) [21:57:45:718]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI9EE0.tmp, Entrypoint: OnIIsRollback
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IIS SSL PFX Fails

Hi,

I am not sure why is the web site installations fails, can you please send us by e-mail the .aip file you've created along with the complete verbose log
at support at advancedinstaller dot com, so we can look for more details?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TomCox
Posts: 12
Joined: Wed Sep 07, 2011 9:59 pm

Re: IIS SSL PFX Fails

Greetings!

Im looking into options as much propriotary information exists in the file you asked for. Will keep you posted.
Notch
Posts: 1
Joined: Tue Dec 20, 2011 5:25 pm

Re: IIS SSL PFX Fails

Hi TomCox,
did you ever find a solution to this? I am getting the same error (4020) when trying to install an application on IIS 7.
Thanks!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IIS SSL PFX Fails

From what I can see we've never received an e-mail on this subject from Tom. If we get no reply from him maybe you can send us the same resources by e-mail so we can try to investigate this further more.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”