Edited by Glytzhkof, 02 January 2004 - 23:13.
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.
Get CustomActionData with Session.Property
Started by
Glytzhkof
, Jan 02 2004 23:12
1 reply to this topic
Posted 02 January 2004 - 23:12
Is it possible to get a handle to the running installation database in a deferred Installscript custom action? I know it can be done in VBScript, but I just can't find a way to do the same in Installscript...
Regards
-Stein Åsmul
-Stein Åsmul
Posted 04 January 2004 - 06:18
Yes you can. Since the custom action is executing outside the context in which the original MSI handle was created, you cannot do a lot of stuff with it. You cannot access the properties, directory variables or access the database in a deferred custom action.
At the risk of stating the obvious, you need a deferred custom action only if the custom action is altering the system. This would make sure that your custom action runs in the same security context of the standard actions thus enabling it to run using elevated privileges.
-Neo
At the risk of stating the obvious, you need a deferred custom action only if the custom action is altering the system. This would make sure that your custom action runs in the same security context of the standard actions thus enabling it to run using elevated privileges.
-Neo