Tatyana Mykhnevych
Posts: 40
Joined: Thu Feb 13, 2020 4:47 pm

Some libraries are not upgraded when use not signed installer.exe

Wed Mar 23, 2022 1:08 pm

Hello,

My Advanced Installer version is 19.1.
I have Advanced Installer project. Result .exe file is signed with Code Sign Certificate. Also I can upgrade my project by installing newer version over the old one.
And the case is:
1. I have installed version 1.0.0 of my product on my PC.
2. My Code Sign Certificate is expired so I remove it from .aip project and build version 1.0.1. This is the only one change I made.
3. I install version 1.0.1 over 1.0.0 and get the error because 2 libraries are missing in product folder: Microsoft.IdentityModel.Protocols and Microsoft.IdentityModel.Protocols.OpenIdConnect.

I looked into install log and found this for them: action: Null.

Please, note the following:
1) If not upgrade but install version 1.0.1 on clean machine everything is fine.
2) If build not signed version 1.0.2 and install it over 1.0.1 everything is fine.
3) I have two different products and the second has the same issue but product is completely different.

So I have several questions:
1) Is the missing certificate the reason of this issue?
2) Which can be the reasons to have action: Null for components?
3) Can such issue appear if I replace one Code Sign Certificate with another?

Looking forward to hearing from you.

Best regards,
Tanya
Attachments
Screenshot_1.png
Screenshot_1.png (67.95KiB)Viewed 2840 times

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

Re: Some libraries are not upgraded when use not signed installer.exe

Wed Mar 23, 2022 4:43 pm

Hello Tanya,

Please have a look over the following FAQ which I believe might answer your question here:

Why do one or more files disappear after an upgrade is performed?

Short answer, this is not due to the certificate, but rather the versioning of your .DLL files.

Hope this helps!

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

Tatyana Mykhnevych
Posts: 40
Joined: Thu Feb 13, 2020 4:47 pm

Re: Some libraries are not upgraded when use not signed installer.exe

Thu Mar 24, 2022 3:13 pm

Thank you!

Always overwrite existing file option helps.
What a strange coincidence with the certificate.

Best regards,
Tanya

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

Re: Some libraries are not upgraded when use not signed installer.exe

Thu Mar 24, 2022 5:47 pm

You are always welcome, Tanya!

Glad it helped.

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

Return to “Building Installers”