Search code examples
c#windows-installercustom-action

MSI Installer Data Properties


I'm playing around with MSI installation for a large project I'm working on and im intresting to know more about this properties that i see around.

They are things like [TARGETDIR] or anything wrapped in "[PROPERTNAMEHERE]". I'm trying to find out if their is a list of these anywhere?

On a side note, is there anyway to access all of these properties from a custom action. I've looked in the Context.Parameters collection but not seeing anything in there. I've been passing /name="[TARGETDIR]\" as CustomActionData to a customaction but this isn't sufficient.

Thanks

Steve


Solution

  • Seconds after I posted this I found what I'm looking for in regards to the property list: http://msdn.microsoft.com/en-us/library/windows/desktop/aa370905(v=vs.85).aspx

    Now I'm after a way to access these from code?