any way for deferred custom action to tell where the heck he is?

  • Thread starter Thread starter EP
  • Start date Start date
E

EP

Assuming "CustomActionData" doesn't exist and isn't an acceptable
solution....

I have a merge module with a deferred custom action. How the heck can he
tell where the module (retargetable directory or a component destination)
has been installed to?
 
Hello Mr. EP,

Cool down a little first. Nobody is going to listen if you keep yelling like
this!

First of all CustomActionData is not a global property as you mentioned in
your previous posting. You don't have to be worried about somebody
overwriting your value with theirs. Becuse you don't set the
CustomActionData, rather you set the custom action name to whatever value
you want and use CustomActionData to read the value back inside the custom
action.

Just go to the link
http://msdn.microsoft.com/library/en-us/msi/setup/obtaining_context_informat
ion_for_deferred_execution_custom_actions.asp
At the bottom of the page you should see a sub-title "To write the value of
a property into the installation script for use during a deferred execution
custom action". Read that section carefully. If something is not clear pls
post back.
--

Regards,
Sajan.

PS: Please don't send me direct emails, use the newsroom.
 
Back
Top