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

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?
 
K

Kallely Sajan

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top