Pass [TARGETDIR] in your CustomActionData.
http://www.simple-talk.com/dotnet/visual-studio/visual-studio-setupprojects-and-custom-actions/