Introducing the Installer Cheat Sheets

Cheat sheets serve as great references, offering fast help in different areas of life. A great resource for our development team has been, which covers most major programming languages.

Recently, the Revenera team took the opportunity to develop cheat sheets for a few software installer related tasks to help you get your job done better and faster. Below are topics of the cheat sheets we will share with you:

Common MSI Conditions Cheat Sheet
To kick off, the Common MSI Conditions Cheat Sheet gives you some of the most common conditions used in MSI projects for custom actions, features, components, etc. It also serves as a quick reference for most of what you need to know about Conditional Statement Syntax.

InstallScript Reference Cheat Sheet
The second in the Cheat Sheet is the InstallScript Reference Cheat Sheet, a guide on the basics of InstallScript syntax.

Installer Folders Cheat Sheet
Most packagers and setup developers have had that moment when they knew where a file needed to go, but weren’t quite sure how to get it there. This Installer folders Cheat Sheet is for the translation between how the common folder paths resolve, and the variables you’re most likely to need to map those values to in the installation.

Note that the behavior of InstallScript variables is somewhat more complex than this chart suggests, changing based on project type and other conditions on the operating system. I would recommend reading the individual documents when using these to ensure you are getting expected behavior.

Feel free to leave us suggestions for additional cheat sheets you’d like to see. 

5 comments on “Introducing the Installer Cheat Sheets

  1. Stefan Krueger on

    I believe there’s an error in condition “Feature installing or installed”. It should be:
    &FeatName = 3 OR (&FeatName 2 AND !FeatName=3)
    (while this is still ignoring Advertised and Run from Source).

    And I think the “64” doesn’t make sense in “XP 64”, “Server 2003 64” etc.

  2. Jenne Beauvais on

    Oh, how I wish this had been published years ago. Most of these our install group figured out over the years, but you have answered a couple of things that we’d never figured out. Thank you!

  3. Cary Roys on

    Arguably, the XP 64 and the 2003 64 doesn’t make sense as the Server conditions dosn’t check VersionNT64 (which would be how to differentiate between x86 and x64 Server).

    I guess it makes sense in context of comparing XP 64 against Server 2003 x64, though. Would you agree, Stefan?

  4. Stefan Krueger on

    MsiNTProductType tells the difference between a desktop OS (like Windows XP) and a server OS (like Windows Server 2003) – regardless of bitness. To check for bitness I’d recommend using the VersionNT64 property.


Leave a Reply

Your email address will not be published.