cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tomerdr
Level 6

Passing CutomActionData

Hi,

I am having an immediate action to fill a CutomActionData for 2 actions

function MyInitialize(hMsi)

STRING szCustomActionData;
begin

szCustomActionData=ListPackages(); //List com+ packages

//make the data available for both actions?!

MsiSetProperty(hMsi, "MyRegisterComPlus",szCustomActionData);
MsiSetProperty(hMsi, "MyUnRegisterComPlus",szCustomActionData);


end;


The action is scheduled before InstallInitialized

When trying to retrieve the custom data from the deferred actions I get an empty string


I am using installshield 2008.

Thanks in advance
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

That side looks good; how does the other side (the reading side) look? Also what does a verbose log indicate for CustomActionData on actions MyRegisterComPlus and MyUnRegisterComPlus - specifically, is it blank, or do you see the expected output from ListPackages()?
0 Kudos
tomerdr
Level 6

Thanks it is working now,the problem was that the name of the custom action

was different(MyUnregisterComPlus)
0 Kudos