Deployment project - Custom Action

  • Thread starter Thread starter runningdog
  • Start date Start date
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
 
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.
 
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.
 
Back
Top