Is there a property or variable that I can use to reference the location where the msi is launched from ? for example:
In c:\temp\app , I have c:\temp\app\test.msi and c:\temp\app\server.ini . I am creating a installscript and custom action to read a server name from server.ini and set a property for the msi to use. But how do I reference c:\temp\app without having to hard-code it?
Never mind, I figured it out. For anyone who may have the same question, you've gotta set a ResolveSource Action and then use a MsiGetProperty to get SOURCEDIR.
Besides MsiGetProperty on the SourceDir property, there is also the Directory table which stores directory heirarchy information. For more information see: