Darqer
Darqer

Reputation: 2887

InstallShield, .msi, custom action and global variables

I want to implement global variable in InstallShield, basic msi project (2011). I know that according to manual engine is being initialized during start of every custom action so global variables are initialized too. Currently I use MsiSetProperty and MsiGetProperty in order to pass values between custom actions calls (information about success of installation / some data gathered from configuration files etc). is there some faster way of passing these values ?

Upvotes: 0

Views: 1285

Answers (1)

On Freund
On Freund

Reputation: 4436

Properties are the correct way to pass values between custom actions. Note, however, that deferred custom actions are limited in that sense, and the only general purpose property they can access is CustomActionData (each CA gets its own instance).

Upvotes: 3

Related Questions