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!

korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Update IIS Https Binding/SSL Certificate

Since I recently have ran into some issues with items updating when running modify through maintenance mode (which have been resolved), I figured I would come ask here before attempting this on a project :

I have an installer that does IIS setup, and uses a certificate thumbprint (from a property) for its HTTPS Binding / SSL. The certificates will expire and we need a way to update the certificate in IIS through the MSI. I have been unable to find a feature (for calling a reinstall on) for IIS, and would just like to confirm that if I change the property for the certificate thumbprint IIS during modify it will be updated or what extra steps need to be taken to get this to happen
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Re: Update IIS Https Binding/SSL Certificate

Any information available for my question?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Update IIS Https Binding/SSL Certificate

Hello,

If you have your software installed on a computer, you change the setup (EXE or MSI) then try to run it on the same computer => you'll get the "Another version of this product is already installed" message.

However, if you set that property dynamically at install time through a command line for example, and the setup is not modified in any way, you won't have this problem.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Re: Update IIS Https Binding/SSL Certificate

Thanks, but that is not the information I am asking for :

what I am asking is if in maintenance mode, during a modify sequence I update the certificate thumbprint property (used for IIS HTTPS Bindings) will it update the IIS instance.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update IIS Https Binding/SSL Certificate

Hello,

We apologize for our delayed reply.

Unfortunately, if your web site is already installed, then it won't be reinstalled (updated) on maintenance mode. The only solution would be to build a new version (major upgrade) of your product installation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
korr
Posts: 48
Joined: Tue Sep 09, 2014 3:13 pm

Re: Update IIS Https Binding/SSL Certificate

Daniel wrote:Hello,

We apologize for our delayed reply.

Unfortunately, if your web site is already installed, then it won't be reinstalled (updated) on maintenance mode. The only solution would be to build a new version (major upgrade) of your product installation.

All the best,
Daniel
If I make changes during a repair instead of modify, would this force an update?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update IIS Https Binding/SSL Certificate

I'm afraid not.

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

Return to “Common Problems”