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

Reading Properties in Deferred CA's


1 reply to this topic

gowen

gowen
  • Members
  • 15 posts

Posted 11 July 2001 - 16:00

Does anyone know how to read values from the property table in a Deferred InstallScript CA?   Even for public properties MsiGetProperty returns an empty string.

We have a number of scripts which need to be run deferred because they have corresponding rollback scripts which are always run deferred.

As far as  I can see, there are two workarounds.
1.  Store the values in the registry instead of properties.
2. Have a script which copies the properties into global variables before the deferred scripts are run and hope they stay in scope.

Does anyone know a better way?


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 July 2001 - 17:34

See topic "Obtaining Context Information for Deferred Execution Custom Actions" in MSI Help.