Installation Error - Advanced Installer Community
eitanElmalam
Posts: 29
Joined: Wed Jul 30, 2014 12:02 pm

Installation Error

Hello,

I have few questions:

1. When I donload the msi file I get the error from chrome:
"file.msi is not commonly download and could be dangerous."
Do you have solution for this prblem ??
If I sign the file with digital sign , it will be help ??

2. the digital sign of the file , how it can help ?
do I can prevent copy and hacking the file with digital sign ??

3. I try to sign and got the follow error:

Preparing files... done.
Signing files from project... error.
The digital signing of some files failed. Error Message:digisign.exe error. The certificate is missing or it cannot be used for signing.

Build finished because an error was encountered.
what is the problem ??

Thanks
Eitan Elmalam
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installation Error

Hello Eitan,

What Advanced Installer version are you on? Can you upgrade to our latest and see if the issue persists?

If it does try to change the signing tool to SignTool.exe instead.

File -> Options -> External Tools -> Use an external tool:

Code: Select all

C:\Program Files (x86)\Windows Kits\8.0\bin\x86\signtool.exe
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eitanElmalam
Posts: 29
Joined: Wed Jul 30, 2014 12:02 pm

Re: Installation Error

Hello

Please answer me about question 1,2.
I did not inderstand your guide about external tool please be more specific.

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

Re: Installation Error

Hello Eitan,

We apologize for our delayed answer. We are quite busy at the moment.
1. When I donload the msi file I get the error from chrome:
"file.msi is not commonly download and could be dangerous."
Do you have solution for this prblem ??
If I sign the file with digital sign , it will be help ??
Please take a look on the Program Download - IE CHROME - “is not commonly downloaded and could be dangerous.” thread which debates in depth this warning.
2. the digital sign of the file , how it can help ?
do I can prevent copy and hacking the file with digital sign ??
Yes, digitally signing your installation package will prevent third party dangerous application from tampering your setup file.
3. I try to sign and got the follow error:

Preparing files... done.
Signing files from project... error.
The digital signing of some files failed. Error Message:digisign.exe error. The certificate is missing or it cannot be used for signing.

Build finished because an error was encountered.
By default Advanced Installer uses a proprietary tool (digisign.exe) to sign the installation project with the certificate you've used in "Digital Signature" page. However, you can also instruct Advanced Installer to use an external tool (i.e. SignTool.exe or SignCode.exe) for signing the installation projects. In order to enable this setting you should go to "Options -> External Tools" menu option and then check "Use an external tool" check box and add the path pointing to SignTool.exe and/or SignCode.exe in the corresponding fields.

So, can you please enable the "Use an external tool" option and add the path to SignTool in Advanced Installer and see if the signing error still persists when building the project?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eitanElmalam
Posts: 29
Joined: Wed Jul 30, 2014 12:02 pm

Re: Installation Error

Hello,

I install the signTool.exe in external tool, and get the follow exception:

Signing files from project... error.
The digital signing of some files failed. Error Message:SignTool Error: No certificates were found that met all the given criteria.

Build finished because an error was encountered.

Please assist.

Thanks
Eitan Elmalam
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installation Error

Hello Eitan,

Please keep in mind that in order to digitally sign an installation package you should first acquire a code signing certificate from a certificate provider. Please take a look on our "Tutorial to sign applications" thread which debates a similar topic.

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

Return to “Common Problems”