Digitally signing failed, yet AI claims up-to-date - Advanced Installer Community

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!

canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Digitally signing failed, yet AI claims up-to-date

Hello everyone.

When building the installer fails because the digital signing fails, pressing the "Build" button again AI brings up the "Force Rebuild? The build "xyz" is up to date. Do you really want to rebuild it anyway?" message dialog.

It might be a matter of differing expectations, but my expectation of AI is to assume the build to have failed and to build again without showing this message dialog.



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Digitally signing failed, yet AI claims up-to-date

Hi Clemens,

I am unable to reproduce this behavior on my test machines. Can you please specify the exact error you are receiving?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: Digitally signing failed, yet AI claims up-to-date

Hello Cosmin,

if the signing that is being attempted by Advanced Installer fails (for whatever reason, I see signing fail at random here), it still thinks that the installer that it build so far is up to date. There is no error message. But when I tell it to build again (because I know that the installer isn't complete) it tells me that the build is up to date. But it isn't up to date. It lacks the digital signature. (Of course in that situation I know better than AI and click the "yes, really build again" button, but AI is wrong about the installer anyway.)

My guess is that AI only considers the file modification dates of all project related files. And given these, the latest installer is really up to date. But it lacks the digital signature, and thus it is incomplete.



With best regards

Clemens Anhuth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Digitally signing failed, yet AI claims up-to-date

Hi Clemens,
There is no error message. But when I tell it to build again (because I know that the installer isn't complete) it tells me that the build is up to date.
Please note that if the build process is completed successfully and you try to build it again, the package will be up to date. This is because nothing was changed.
But it isn't up to date. It lacks the digital signature.
Please note that Advanced Installer does not verify if the MSI has a digital signature or not. However, if the digital signing fails, an error message should be shown and the build process would stop. Since the build process completes successfully, I'm not sure what exactly happens, but nothing seems to fail.
My guess is that AI only considers the file modification dates of all project related files. And given these, the latest installer is really up to date. But it lacks the digital signature, and thus it is incomplete.
Please note that up to date does not mean "complete". It means that nothing was changed since the last time you built the project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”