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!

blindberg74
Posts: 5
Joined: Wed Oct 12, 2016 5:46 pm

Install PFX Certificate Fails

Hello,
I'm installing a pfx certificate that the user can browse to during installation but it fails to install the certificate in IIS. See the below logs.

MSI (s) (B4:2C) [12:29:48:934]: Doing action: AI_IIsInstall
Action 12:29:48: AI_IIsInstall. Generating actions to configure Internet Information Services
Action start 12:29:48: AI_IIsInstall.
MSI (s) (B4:28) [12:29:48:943]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI406C.tmp, Entrypoint: OnIIsInstall
MSI (s) (B4:4C) [12:29:48:968]: PROPERTY CHANGE: Adding AI_ISMAINTENANCE property. Its value is '0'.
MSI (s) (B4:4C) [12:29:48:977]: Note: 1: 2205 2: 3: AI_IIsWebDeploy
MSI (s) (B4:4C) [12:29:48:978]: Note: 1: 2228 2: 3: AI_IIsWebDeploy 4: SELECT * FROM `AI_IIsWebDeploy`
MSI (s) (B4:4C) [12:29:48:978]: Note: 1: 2205 2: 3: AI_IIsWebDeploy
MSI (s) (B4:4C) [12:29:48:978]: Note: 1: 2228 2: 3: AI_IIsWebDeploy 4: SELECT * FROM `AI_IIsWebDeploy`
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2205 2: 3: AI_IIsVirtualDirectory
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2228 2: 3: AI_IIsVirtualDirectory 4: SELECT * FROM `AI_IIsVirtualDirectory`
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2205 2: 3: AI_ISAPIFilter
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2228 2: 3: AI_ISAPIFilter 4: SELECT * FROM `AI_ISAPIFilter`
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2205 2: 3: AI_IIsFastCgi
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2228 2: 3: AI_IIsFastCgi 4: SELECT * FROM `AI_IIsFastCgi`
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2205 2: 3: AI_IIsFastCgiEnvParameters
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2228 2: 3: AI_IIsFastCgiEnvParameters 4: SELECT * FROM `AI_IIsFastCgiEnvParameters`
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2205 2: 3: AI_IIsApplicationMapping
MSI (s) (B4!4C) [12:29:49:010]: Note: 1: 2228 2: 3: AI_IIsApplicationMapping 4: SELECT * FROM `AI_IIsApplicationMapping`
MSI (s) (B4!4C) [12:29:49:011]: Note: 1: 2205 2: 3: AI_IIsMime
MSI (s) (B4!4C) [12:29:49:011]: Note: 1: 2228 2: 3: AI_IIsMime 4: SELECT * FROM `AI_IIsMime`
MSI (s) (B4!4C) [12:29:49:011]: Note: 1: 2205 2: 3: AI_IIsHttpHeader
MSI (s) (B4!4C) [12:29:49:011]: Note: 1: 2228 2: 3: AI_IIsHttpHeader 4: SELECT * FROM `AI_IIsHttpHeader`
MSI (s) (B4!4C) [12:29:49:011]: Note: 1: 2205 2: 3: AI_IIsHttpError
MSI (s) (B4!4C) [12:29:49:011]: Note: 1: 2228 2: 3: AI_IIsHttpError 4: SELECT * FROM `AI_IIsHttpError`
MSI (s) (B4!4C) [12:29:49:018]: Note: 1: 2205 2: 3: AI_IIsCustomProperties
MSI (s) (B4!4C) [12:29:49:018]: Note: 1: 2228 2: 3: AI_IIsCustomProperties 4: SELECT * FROM `AI_IIsCustomProperties` ORDER BY `Order`
MSI (s) (B4!4C) [12:29:49:018]: Note: 1: 2205 2: 3: AI_IIsWebDeploy
MSI (s) (B4!4C) [12:29:49:018]: Note: 1: 2228 2: 3: AI_IIsWebDeploy 4: SELECT * FROM `AI_IIsWebDeploy`
MSI (s) (B4!4C) [12:29:49:019]: Note: 1: 2205 2: 3: AI_IIsWebDeployParams
MSI (s) (B4!4C) [12:29:49:019]: Note: 1: 2228 2: 3: AI_IIsWebDeployParams 4: SELECT * FROM `AI_IIsWebDeployParams`
MSI (s) (B4!4C) [12:29:49:019]: Note: 1: 2205 2: 3: AI_IIsWebDeployDestSettings
MSI (s) (B4!4C) [12:29:49:019]: Note: 1: 2228 2: 3: AI_IIsWebDeployDestSettings 4: SELECT * FROM `AI_IIsWebDeployDestSettings`
MSI (s) (B4!4C) [12:29:49:019]: PROPERTY CHANGE: Adding AI_IIsRollback property. Its value is 'ProductNameMy Website Web UIProductCode{47A0120C-624A-4645-A580-A3EEA5531940}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITEAI_ISMAINTENANCE00MyCo ASP.NET v4.014209v4.0-1-1-1-1-1-1-1-1-1-1-1-1-1-1-10C:\Program Files\MyCo Technologies\149761513index.html, index.htm, default.htmDefault Web Site:80:0-1-1-1-11C:\Program Files\MyCo Technologies\My Website Client Web UI\1320097513index.html, index.htm, default.htmMyCo ASP.NET v4.04.0.30319My Website Web UI:8081:400-1-1-1-10Root0C:\Software\myco.website.com.pfx6899ADA49493E5031780A953AC42B411D2FB7D7AA080'.
MSI (s) (B4!4C) [12:29:49:019]: Doing action: AI_IIsRollback
Action 12:29:49: AI_IIsRollback. Rolling back IIS configuration
Action start 12:29:49: AI_IIsRollback.
MSI (s) (B4!4C) [12:29:49:023]: Note: 1: 2205 2: 3: MsiPatchCertificate
MSI (s) (B4!4C) [12:29:49:023]: LUA patching is disabled: missing MsiPatchCertificate table
Action 12:29:49: GenerateScript. Generating script operations for action:
GenerateScript: Rolling back IIS configuration
Action ended 12:29:49: AI_IIsRollback. Return value 1.
MSI (s) (B4!4C) [12:29:49:036]: PROPERTY CHANGE: Deleting AI_IIsRollback property. Its current value is 'ProductNameMy Website Web UIProductCode{47A0120C-624A-4645-A580-A3EEA5531940}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITEAI_ISMAINTENANCE00MyCo ASP.NET v4.014209v4.0-1-1-1-1-1-1-1-1-1-1-1-1-1-1-10C:\Program Files\MyCo Technologies\149761513index.html, index.htm, default.htmDefault Web Site:80:0-1-1-1-11C:\Program Files\MyCo Technologies\My Website Client Web UI\1320097513index.html, index.htm, default.htmMyCo ASP.NET v4.04.0.30319My Website Web UI:8081:400-1-1-1-10Root0C:\Software\myco.mycert.com.pfx6899ADA49493E5031780A953AC42B411D2FB7D7AA080'.
MSI (s) (B4!4C) [12:29:49:036]: PROPERTY CHANGE: Adding AI_IIsConfig property. Its value is 'ProductNameMy Website Web UIProductCode{47A0120C-624A-4645-A580-A3EEA5531940}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITEAI_ISMAINTENANCE00MyCo ASP.NET v4.014209v4.0-1-1-1-1-1-1-1-1-1-1-1-1-1-1-10C:\Program Files\MyCo Technologies\149761513index.html, index.htm, default.htmDefault Web Site:80:0-1-1-1-11C:\Program Files\MyCo Technologies\My Website Client Web UI\1320097513index.html, index.htm, default.htmMyCo ASP.NET v4.04.0.30319My Website Web UI:8081:400-1-1-1-10Root0C:\Software\myco.mycert.com.pfx6899ADA49493E5031780A953AC42B411D2FB7D7AA080'.
MSI (s) (B4!4C) [12:29:49:037]: Doing action: AI_IIsConfig
Action 12:29:49: AI_IIsConfig. Configuring Internet Information Services
Action start 12:29:49: AI_IIsConfig.
AI_IIsConfig: Installing "Configuring Internet Information Services"
Action ended 12:29:49: AI_IIsConfig. Return value 1.
MSI (s) (B4!4C) [12:29:49:048]: PROPERTY CHANGE: Deleting AI_IIsConfig property. Its current value is 'ProductNameMy Website Web UIProductCode{47A0120C-624A-4645-A580-A3EEA5531940}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITEAI_ISMAINTENANCE00MyCo ASP.NET v4.014209v4.0-1-1-1-1-1-1-1-1-1-1-1-1-1-1-10C:\Program Files\MyCo Technologies\149761513index.html, index.htm, default.htmDefault Web Site:80:0-1-1-1-11C:\Program Files\MyCo Technologies\My Website Client Web UI\1320097513index.html, index.htm, default.htmMyCo ASP.NET v4.04.0.30319My Website Web UI:8081:400-1-1-1-10Root0C:\Software\myco.mycert.com.pfx6899ADA49493E5031780A953AC42B411D2FB7D7AA080'.
Action ended 12:29:49: AI_IIsInstall. Return value 1.
MSI (s) (B4:2C) [12:29:49:052]: Doing action: AI_AiRestoreDeferred
Action 12:29:49: AI_AiRestoreDeferred. Executing restore operation
Action start 12:29:49: AI_AiRestoreDeferred.
AI_AiRestoreDeferred: Path: Executing restore operation
Action ended 12:29:49: AI_AiRestoreDeferred. Return value 1.
MSI (s) (B4:2C) [12:29:49:059]: Skipping action: AI_DeleteLzma (condition is false)
MSI (s) (B4:2C) [12:29:49:059]: Doing action: InstallFinalize
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install PFX Certificate Fails

Hello,

I can't say why this happens.

Can you please send us the .AIP (project file) and a full verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

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

Return to “Common Problems”