Error 4034 while the installer is trying to create a website with HTTPS binding (2024)

Post Reply

6 posts• Page 1 of 1

agyorgyi
Posts: 8
Joined: Thu Jan 09, 2020 4:28 pm

Error 4034 while the installer is trying to create a website with HTTPS binding

  • Quote

Mon Mar 09, 2020 10:33 am

Dear Support,
the installer can't create the necessary website with HTTPS binding.

The SSL setting in the attached ssl.png
The value of [CERTHUMBPRINT] is passed by command-line argument, the proper certificate is stored in Trusted Roots

The error message in log:

Error 4034. There was an error during the IIS configuration process while trying to install Web site 'prognozis-nfm-teszt4.griffsoft.hu'.
Your original IIS configuration will be restored.
MSI (s) (78!0C) [10:08:53:354]: Termék: Prognózis -- Error 4034. There was an error during the IIS configuration process while trying to install Web site 'prognozis-nfm-teszt4.griffsoft.hu'.

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)

The whole log is attached (log.log).
I couldn't figure out that is the real reason for the error, I need help.

Thank you!

Attachments
Error 4034 while the installer is trying to create a website with HTTPS binding (1)
ssl.png (17.3 KiB) Viewed 8123 times
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact:Website

Re: Error 4034 while the installer is trying to create a website with HTTPS binding

  • Quote

Tue Mar 17, 2020 7:47 am

Hi,

We apologize for the delayed reply on this.

Unfortunately(not sure why), it seems your log file was not attached to this thread. Could you please send it by email at support at advancedinstaller dot com so we can fully investigate it?

All the best,
Daniel

Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Nerdiculous
Posts: 7
Joined: Tue Jul 28, 2020 9:23 pm

Re: Error 4034 while the installer is trying to create a website with HTTPS binding

  • Quote

Wed Sep 09, 2020 5:42 pm

We are having the same issue. I've attached our log file to continue the troubleshooting started in this thread. Any feedback is much appreciated.

Attachments
Enterprise_2020.3.1_(x64).exe_12.28.39.56.zip
(380.89 KiB) Downloaded 236 times
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact:Website

Re: Error 4034 while the installer is trying to create a website with HTTPS binding

  • Quote

Tue Sep 22, 2020 7:16 am

Hi,

Please accept our apologies for the delayed reply on this.

Looking over your sent log there seems to be a problem when trying to install the SSL certificate you configured into your setup project. Can you please make sure a certificate with the hash you configured into your setup project does indeed exist on target machine?

Please proceed like this:

1. open your setup project in Advanced Installer and go to "IIS" page
2. select your web site entry and in the right pane navigate to "Bindings / SSL" tab
3. check the Thumbpring (Hash) you set for the "Use existing server certificates)" option
4. open on target machine (where the installation failed) the IIS Manager (inetmgr.exe) and go to "Server Certificates" section
5. here search and make sure that under "Personal" store there exists a certificate with the above hash

Hope this helped.

All the best,
Daniel

Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Nerdiculous
Posts: 7
Joined: Tue Jul 28, 2020 9:23 pm

Re: Error 4034 while the installer is trying to create a website with HTTPS binding

  • Quote

Fri Oct 23, 2020 3:48 pm

Hey Dan, I was able to resolve this by adding a custom action that performs data validation of the user input. Basically, what was happening, is that the field techs were copying the cert thumbprint directly from the cert properties window which had hidden special characters that were later revealed by using a code editor and switching encoding to ANSI and/or UTF-8. In my opinion, the text input box for dialogs should have the option to set encoding.

Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Error 4034 while the installer is trying to create a website with HTTPS binding

  • Quote

Fri Oct 23, 2020 4:23 pm

Hello,

Thank you for your followup on this and for sharing the solution with us.

We are glad everything works as expected now!

Basically, what was happening, is that the field techs were copying the cert thumbprint directly from the cert properties window which had hidden special characters that were later revealed by using a code editor and switching encoding to ANSI and/or UTF-8.

This issue with the copy-paste mechanism is quite often occuring and it is pretty hard to track it down, indeed.

In my opinion, the text input box for dialogs should have the option to set encoding.

Unfortunately, the "Edit Box" control is a predefined Windows Installer control and we do not have much power over modifying it.

Best regards,
Catalin

Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply

6 posts• Page 1 of 1

Return to “Common Problems”

Jump to

  • Advanced Installer Software
  • Feature Requests
  • Common Problems
  • Building Installers
  • Installer Analytics
  • Sample Projects
  • Silent Install Command Line
Error 4034 while the installer is trying to create a website with HTTPS binding (2024)

References

Top Articles
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 5886

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.