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

MSIGETFEATURESTATE function in Deferred CA


1 reply to this topic

ritesh0783

ritesh0783
  • Full Members
  • 1 posts

Posted 03 January 2011 - 20:14

Can we use MSIGETFEATURESTATE function in Deferred Custom action in system context.

I have modified some Immediate Custom action to deferred custom action in my "Basic MSI" project. Earlier I was getting the right values for all the MSIGETFEATURESTATE function in the "Immediate execution" Custom action as 3 which I used to right the entries in log files, after updating the Custom Action into Deferred Execution in System context I am not getting the right values.

I am using InstallShield 2010

KathyMorey

KathyMorey
  • Full Members
  • 111 posts

Posted 04 January 2011 - 15:17

That's because deferred custom actions do not have access to all the values in the MSI database. Do a search for "CustomActionData" in the IS and Windows Installer documentation to get the instructions you'll need to pass data into a deferred custom action.
Kathy Morey
Synergy Software Engineer
ProfitStars, a Jack Henry Company
kmorey@profitstars.com