Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Deferred CAs and Installscript Variables


1 reply to this topic

Dave I

Dave I
  • Members
  • 195 posts

Posted 12 April 2001 - 10:35

I have a number of Deferred CA's which require a lot of information (i.e. PROPERTIES.)  

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