> I'm generating a number of shortcuts to programs/scripts/etc that take > arguments. One tester has noticed that a shortcut set up like: > > <Shortcut Id="SHORTCUT_logconf" Directory="ProgramMenuDir" > > Name="logconf" LongName="Log Configuration Tool" > > Target="[INSTALLDIR]bin\wish.exe" > > Arguments="[INSTALLDIR]bin\logconfig" > > WorkingDirectory="DATADIR"/> > > fails because at install-time [INSTALLDIR] becomes C:\Program > Files\Foo, and so the expected single argument gets split into > "C:\Program" and "Files\Foo\bin\logconfig". > > Should something be properly escaping/quoting the argument? I can slip > a couple of "s into my arguments string, but that feels like a > layering hack.
WiX and MSI have no way of knowing that your argument is a path that needs to be quoted if it contains a space. You're going to have to add the "s. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users