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.

CustomActionData broken for Installscript?

2 replies to this topic


  • Members
  • 4 posts

Posted 16 April 2003 - 19:50

running into a strange issue.
Have done several custom actions which are deferred to system context in vbscript and they all work fine and dandy getting their parameters through "CustomActionData" property.
When i tried to convert one of those to installscript from vbscript, "CustomActionData" is blank now (but thanks to the dev 7 i still can read the properties i want directly).
So i guess my question is did Installshield break "CustomActionData" property for Installscript language when they created a workaround where installscript custom actions that are deferred can access any normal public properties?

Thanks in advance for any response.


Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 16 April 2003 - 20:53

They didn't actually "break" it. They decided to use a different method to pass in the data, so CustomActionData won#t work in this case.


  • Members
  • 13 posts

Posted 22 April 2003 - 18:19

Use MsiGetProperty;
nResult = MsiGetProperty( hMSI, "ASPNETBuildVer", szASPNETBuildVer, nBuffSize);