Writing a script for a custom msi installer action. When my script is invoked by an Installer you can get Installer properties via Session.Property("PropName")
If you don't invoke via installer you get a runtime exception. I want to make my script so I can develop and debug w/o the Installer so how do I catch this error?
I want to do something like:
if Session != null
setting=Session.Property("prop1")
else
setting="SomeOtherSetting"
end if