Instead of repeatedly using the "CustomActionData" property for each function I have created an Immediate CA - GetProperties() which assigns the value of the PUBLIC PROPERTIES to installscript variables. The function has lots of calls similar to the one below:
MsiGetProperty(hMSI, "INSTALLED", szInstalled, nBuffer);
Now this all works peachy without any problems, I basically just want to know is it OK to use global variables in this way or are there hidden dangers I have missed.
Everything works it just seems too good to be true.
Thanks in advance,
Dave