Hi,
In the Initialize method from IEmbeddedUI I try to use
session.GetTargetPath("INSTALLLOCATION") but:
session.GetTargetPath("INSTALLLOCATION")' threw an exception of type
'System.ArgumentException'
base {System.SystemException}: {"The directory name is invalid.
INSTALLLOCATION"}
Message: "The directory name is invalid. INSTALLLOCATION"
ParamName: null
However, when querying the Directory table the INSTALLLOCATION is there:
Session.Database.ExecuteQuery("select * from Directory")
Count = 9
[0]: "INSTALLLOCATION"
[1]: "ProgramFilesFolder"
[2]: "ycaro0uj|SampleWix"
[3]: "ProgramFilesFolder"
[4]: "TARGETDIR"
[5]: "."
[6]: "TARGETDIR"
[7]: ""
[8]: "SourceDir"
Have anyone else tried this method ?
Thanks
P.S. The examples are from an Immediate Window and a breakpoint in the
Initialize method
--
View this message in context:
http://n2.nabble.com/DTF-GetTargetPath%28%29-tp2681812p2681812.html
Sent from the wix-devs mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs