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!

prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

unable to bind certificate to https

Hi,

Im unable to add certificate to https binding in IIS, Im am getting an error while installing
kindly guide me further

Also im unable to delete the default website, we need to delete it because our application use default ports 80 and 443 but if default website is not deleted we cannot start the website.
Attachments
IIS configuration in Advanced Installer
IIS configuration in Advanced Installer
error 2.JPG (123.68 KiB) Viewed 6159 times
Error while installing
Error while installing
error 1.JPG (31.25 KiB) Viewed 6159 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: unable to bind certificate to https

Hello,

I'm not sure why you encountered this behavior.
Can you please try to use the latest version of Advanced Installer and see if the behavior still persist?

Please note that there is no need to delete the Default Web Site. During installation, if the Default Web Site is using the same port as the Web Site from the installation package and the Default Web Site is ON then we stop it first and then turn on your Web Sites after the installation process.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: unable to bind certificate to https

Hi Dan,

Tried all the possible ways in Advanced Installer but it it fails have also tried in older versions :cry:

I'm using Advanced Installer 11.3 Enterprise.

and regarding default website it worked thank you dan.

Please help me with binding the certificate it is very important for my installer to be total automated.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: unable to bind certificate to https

Hello,

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.3 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 11.3\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
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: unable to bind certificate to https

Dear Dan,

I enabled debug mode will this log file be helpful.
Attachments
installerlog.rar
Log file is compressed
(292.4 KiB) Downloaded 371 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: unable to bind certificate to https

Hello,

I'm afraid the Windows Installer log is not the most helpful in this case.
We need the log file created by the debug version of the iis.dll. Please send us the related log.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: unable to bind certificate to https

Dear Dan,

have sent an email as requested...

Please find the attached file below too..
Attachments
AI_IIS.log
(201.73 KiB) Downloaded 321 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: unable to bind certificate to https

Hi Prashanth,

As far as I can see from the log, the installation fails with the A specified logon session does not exist. It may already have been terminated error message. Googling it, there were other users that complain about this.

Also, your certificate is already in the System Store. So, can you please remove it first and then try to run your installation package once again and see if the behavior still persist?

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: unable to bind certificate to https

Hi Dan,

I tried installing in new system its the same error for the certificate :( im reaching my deadline for the project as this is the important part of it.

Return to “Building Installers”