Search code examples
batch-fileinstallshieldchecksum

Checking installation integrity with installshield


For Linux packages, specifically RPMs with stored checksums, we always can check two things: the contents of package is ok and the installation from this package is ok. When someone modifies parts of the installation he shouldn't, we can see it by running rpm -Vp my-precious-package. In our busyness it is not only recommended, but obligatory to provide our packages with tools for this purpose and for Linux these are just simple bash scripts.

Now I have to do something similar for Windows. Basically what I want is to provide some batch file by running which one can get assured, the installation is the same as it meant to be in the package. I'm using InstallShield for packaging, and yet it has some great visual tools, I still haven't found a way to verify package checksums in the command line.

Is it even possible, or should I reinvent the wheel writing my own checking utils?


Solution

  • Take a look at MakeCat and SignTool from Microsoft, both in SDK

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa386967%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/aa387764%28v=vs.85%29.aspx