cgilley
Posts: 11
Joined: Thu Nov 29, 2012 1:45 pm

Corrupt MSI file - ideas?

When I first started using AI, it was the free version, so all I could create was an MSI file. I'm at Professional grade now, so I can go back to the .exe approach - just documentation changes. But, we did have a user encounter a really odd problem that I hope you could shed some light on.

This user downloaded my MSI file (about 60MB). Unknown to him, he didn't quite get all of it. Amazingly, the MSI worked. It just so happens that most of the MSI file is made up of about 5% executable at the beginning and a large data file at the end). Basically, he was missing the last xyz bytes of the MSI file which effectively truncated the data file.

Is there something available to validate the MSI file when installation begins? I'm stunned Windows would even process the file, but you learn something new every day.
Also, would building a .exe prevent this from happening, essentially generating an invalid .exe file when attempting to run?

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

Re: Corrupt MSI file - ideas?

Hello,
Is there something available to validate the MSI file when installation begins?
I'm afraid we don't have support for this.
Also, would building a .exe prevent this from happening, essentially generating an invalid .exe file when attempting to run?
In order to achieve this you can build an EXE installation package, and enable the "Sign and check integrity using MD5" option from "Media -> Configuration -> Bootstrapper Options" section.

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

Return to “Building Installers”