Hi WiX experts, before I wave the "bug" flag, being relatively new to WiX, I am asking you to review this problem, and probably give me advice how to circumvent the following weirdness:
my xml is: <CustomAction Id="Rebuild" FileKey="_Update.exe" ExeCommand="/Path:"[MyDataPath]"" Return="asyncWait">NOT Installed</CustomAction> <InstallExecuteSequence> <Custom Action="Rebuild" After="InstallFinalize">NOT Installed</Custom> </InstallExecuteSequence> Since [MyDataPath] does most likely point to a "documents and settings\...." subfolder, I enclosed the command line parameter in double quotes by adding ". The installation runs through, but when my program "update.exe" gets executed, it complains about a non-existing path passed via tha /Path parameter: "Unable to find directory: "C:\documents" It's obvious, that the msi did not pass the path enclosed in "..." like I intended, but instead passed " literally to the called program, messing up its command line parser. This is somehow strange, because there are lots of samples around showing ExeCommand attributes with enclosed " expressions. Either nobody ever actually tried this, or there is something really weird going on in my machine ... but I cannot see any obvious reason, the source code above is, in my opinion, correct, and the symptoms are clear. Candle.exe and Light.exe are both 3.0.5419.0. Any hints? Thanks, AL. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users