Deployment project - Custom Action

R

runningdog

Hi


What I want to do is execute a cdm script created from a DataBase project
with the Create Command File option. It doesn't appear that I can call this
cmd file directly as a custom action. So I have created a Custom Action
project and added it to my Deployment project. I pass the necessary
parameters to it from CustomActionData. I can't work out how to access
[TARGETDIR] to call the script.


TIA Steve
 
F

Felix Wang

Hi Steve,

Thanks for posting.

To pass TARGETDIR, we need to use the following format:

/name="[TARGETDIR]\"

Please make sure that we do not miss any quotation marks or slash. You may
also refer to the following link:

CustomActionData Property
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/ht
ml/vxgrfcustomactiondataproperty.asp?frame=true

I hope this helps.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
F

Felix Wang

Hi Steve,

Please feel free to post here if you have any futher concerns regarding
this issue.

Have a nice day.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

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