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!

maro158
Posts: 7
Joined: Sun Jul 23, 2006 8:18 am

Integrity check for external MSI-packages

As far as I understand, nothing prevents a digitally signed MSI-file which has been tampered with to get installed.

Of course, the digital signature would be broken, but this would become evident only if the user takes a closer look at the embedded digital signature itself.

In the scenario where the setup includes an external msi-file and an adjacent bootstrapper exe, would it be possible for the exe to check the integrity and validity of the MSI-package(s) prior to install?

In the current version of the bootstrapper exe (options: Create exe setup file / Leave install files outside/ Sign and check integrity using MD5) there is no integrity check whatsoever. I can modify the exe at will and ORCA-edit the msi-file without this affecting the installation (bug?).
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
In the scenario where the setup includes an external msi-file and an adjacent bootstrapper exe, would it be possible for the exe to check the integrity and validity of the MSI-package(s) prior to install?

In the current version of the bootstrapper exe (options: Create exe setup file / Leave install files outside/ Sign and check integrity using MD5) there is no integrity check whatsoever. I can modify the exe at will and ORCA-edit the msi-file without this affecting the installation (bug?).
That option is referring at the exe itself not at the files outside him. But what you say it is a good idea and we shall consider to implement it in a future version. We add it on our TODO list. Thank you for your suggestion.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
maro158
Posts: 7
Joined: Sun Jul 23, 2006 8:18 am

That's good news... But I'm afraid that the EXE itself is also not protected against tampering, when the msi is stored outside.

To observe this simply open the exe in a hex editor, delete let's say the last 16 bytes and save the file back to disk. The install will function normally, no integrity check is performed!

Return to “Feature Requests”