Error with CustomActionData set to [TARGETDIR]

Giganews Newsgroups
Subject: Error with CustomActionData set to [TARGETDIR]
Posted by:  Dany C. (Dan…
Date: Fri, 13 Apr 2007

We added an installer class to the application and we need to know the
install directory of the application. We have create a Install Custom Action
and we have  set the CustomActionData to /Destination=[TARGETDIR] in order
pass the information to the installer.

The installation fails wit this error:

Exception occured while initializing the installation:
System.IO.FileNotFoundException. Could not load file or assembly

If we pass other information to the installer like
/Language=[SystemLanguageID]. Everything works fine.

Any help will be appreciated,