renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Installer fails on Vista

Hi,

I can run the installer successfully on the following operating systems: XP S3, Windows 7, 8.0, and 8.1.

The installer fails when trying to install on Windows Vista SP2.

I have the professional version and I am using virtual machines for testing.

On the Vista operating system, when you press the install button the following message appears: Are you sure you want to cancel <name> installation?

What is up?

Rene
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer fails on Vista

Hello Rene,

The behavior may be triggered if you are using a SHA256 based certificate to sign your setup project. Please keep in mind that packages signed with SHA256 will not have their digital signature recognized on XP and Vista machines, and it seems this could trigger an automatic installation abort. If you still target XP and Vista machines it is recommend to use a SHA1 based certificate.

Also, please make sure you leave unchecked the "Use SHA256 as digest algorithm" option from "Digital Signature" page.

So, can you please try to use a SHA1 based certificate to sign your setup package and see if the behavior still persists (or don't sign at all the setup)?

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Hi Daniel,

Thanks for your reply. I already read the post about SHA256 digital signing. I do not have the checkbox checked and my setup works fine on Windows XP S3. So I do not think that this is the answer. I can send you a project file and my setup file. But where do I send it?

Rene
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Hi,

I emailed my project and setup files.

Rene
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer fails on Vista

Hello Rene,

I've performed some quick test for your setup on a Windows Vista SP1 machine and on a Windows XP SP2 machine. Indeed, I've replicated the behavior only on the Vista machine. Please give us some time to investigate this further and I'll get back to you when I'll have a conclusive answer.

In the meantime, can you please try to not digitally sign your setup and test again the installation (with an unsigned setup) on the failing Vista machine and see if this helped?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Have you fixed this bug yet?

Rene
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer fails on Vista

Hello Rene,

I apologize for my delayed reply.

We have tested your installation scenario by using a new project with the same settings, but unfortunately we were unable to replicate the behavior. Can you please try to isolate the behavior in a buildable sample (.aip + its referenced source files) and send it us to support at advancedinstaller dot com so we can test on our side? I'm afraid that in order to be able to investigate this further we need to replicate the behavior in a buildable sample which could be tested on our side.

Also, can you please tell us if you can replicate the behavior when using an unsigned installation setup? Just go to "Digital Signature" page, uncheck the "Enable Signing" option, build and test again the installation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Hi,

First you say you replicated the behaviour, then you say you were not able to replicate the behaviour.

It sounds to me like this bug will never be fixed.

Now I am going to have to use another installer from another company just for the Vista downloads.

Rene
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer fails on Vista

Hello Rene,

I apologize if I was not clear enough, but I think there is a misunderstanding. I was able to replicate the behavior only by using your sent setup package. When I test the scenario using a using a new test project (which is not signed) with the same settings (excepting the "Digital Signature" page) as your installation project I cannot replicate the behavior anymore. The only major difference between the new test project and your installation project is that our test project is left unsigned.

Would it be possible for you to build an unsigned setup package and test it on your Vista machine and let us know if the behavior still persists? If so, in order to investigate this further you can try to send us a buildable sample (.aip + its referenced file) which replicates the behavior on Vista machines so we can test and closer analyze it on our side.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Hi Daniel,

Sorry for this late reply. I will build and test a separate unsigned version for Vista. If it works I will just have to deliver an unsigned version to my Vista users. I will post back here with my results.

Rene
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Hi,

The installer works on Vista when NOT signing an application. This is too bad and represents a bug. Now I know the argument you will use will be to use another type (read less secure) of code signing certificate (not sha256). The problem is that sha1 has been deprecated for a variety of reasons. Also you claim that sha256 will not work under Windows XP S3. Guess what - IT DOES WORK?

Therefore I conclude that this is a bug in Advanced Installer.

Workarounds to get around this bug:

1) Deliver an unsigned program to your customer, or

2) Use another installer from another company.

Respectfully,

Rene
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer fails on Vista

Hello Rene,

In order to have better insights for this issue I've opened a task in our bug tracking system to investigate this scenario further. We'll update this thread as soon as we'll have a conclusive answer.

Thank you for your patience and understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Re: Installer fails on Vista

Hi Daniel,

Thanks for your reply. Looking forward to your report.

Rene
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer fails on Vista

Hello Rene,

Testing the scenario using a test SHA-256 based certificate we were not able to replicate the behavior. Also, trying to search for a Windows platform list having support for processing SHA-256 based signatures, we didn't find any official document. Unofficially, it seems that starting with Windows XP SP3 and above Microsoft has included support for handling SHA-256 based certificates. However, it seems there is a Windows documented issue about an application that is signed with a SHA-256 certificate on a computer that is running Windows Vista SP2 or Windows Server 2008 SP2. Can you please download the update from the "Resolution" section of the msdn linked article, install it on your Vista machine, test again the installation scenario using a signed setup package and see if this fixed the issue?

Also, only if you agree, because we really want to investigate this issue a bit further, it would be very useful for us if you could send us a sample project (.aip + its built outputs - MSI and EXE) signed with your certificate file. In this way we can perform a set of complete tests on our end. For example, you can download and build a signed setup using the following sample project attached to this thread. You can send us to support at advancedinstaller dot com a setup package (EXE and MSI) built having the "Use SHA256 as digest algorithm" option enabled (from "Digital Signature" page) and another setup package built without enabling the above option.
sample.zip
(3.16 KiB) Downloaded 716 times
All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DCFx
Posts: 2
Joined: Tue Nov 25, 2014 5:45 pm

Re: Installer fails on Vista

I just stumbled across this article and had the EXACT same issue as described by renejdm. I ran the MS update from the link provided by Daniel and it worked.

Return to “Common Problems”