Hi EJS,

> <install cmd="%SOFTWARE%\gimp.exe  SP- /SILENT /NORESTART \
> /DIR=%PROGRAMFILES%\GIMP" />

If you leave %ProgramFiles% to be set to c:\Program Files (without the 
quotes), %ProgramFiles% will be expanded by WPKG and therefore have a 
space in it. (If you have " characters in the variable, Bad Things will 
happen generally because WPKG will treat the " characters as part of the 
file name but Windows won't.)

The solution is to have %ProgramFiles%=C:\Program Files (No quotes) and 
then to quote the file path:
/DIR="%ProgramFiles%\GIMP"

I would have the install command as:

<install cmd='%Software%\gimp.exe SP- /SILENT /NORESTART \
/DIR="%ProgramFiles%\GIMP" ' />

i.e. use single quotes for the contents of the cmd entity which leaves you 
free to include double-quotes around arguments which have spaces in.

Yours,

Frank

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to