This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Passing CutomActionData
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2008
05:30 AM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2008
09:48 AM
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()?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2008
01:45 AM
Thanks it is working now,the problem was that the name of the custom action
was different(MyUnregisterComPlus)
was different(MyUnregisterComPlus)