Hi,
I am launching a JRE.exe installshield installer in silent mode:
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Silent install + INSTALLDIR property
Started by
galevsky
, Nov 26 2007 16:32
2 replies to this topic
Posted 26 November 2007 - 16:32
CODE |
jre.exe /s /v" /quiet /norestart" |
and it works fine.
But I would like also specify the installdir.
The problem is
CODE |
jre.exe /s /v" /quiet /norestart INSTALLDIR=C:\JRE" |
works but
CODE |
jre.exe /s /v" /quiet /norestart INSTALLDIR=C:\Program Files\Java\JRE " |
since I need to protect the install path with quotes. The problem is I have already started a quoted sentence with /v", so how can I deal with blanks in the INSTALLDIR ?
Many thanks for any help,
Gal'
Posted 26 November 2007 - 18:15
Gal,
Please try this:
Please try this:
CODE |
jre.exe /s /v" /quiet /norestart INSTALLDIR=\"C:\Program Files\Java\JRE\"" |
Hope it helps,
M. Nouryan
Posted 26 November 2007 - 18:20
Ya, many thanks, I can't tell you why, but I thought back-slashing didn't work on windows.
Gal'
Gal'