Jump to content


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.
Photo

Silent install + INSTALLDIR property


2 replies to this topic

galevsky

galevsky
  • Full Members
  • 2 posts

Posted 26 November 2007 - 16:32

Hi,

I am launching a JRE.exe installshield installer in silent mode:

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'


m.nouryan

m.nouryan
  • Full Members
  • 23 posts

Posted 26 November 2007 - 18:15

Gal,

Please try this:

CODE

jre.exe /s /v" /quiet /norestart INSTALLDIR=\"C:\Program Files\Java\JRE\""


Hope it helps,
M. Nouryan

galevsky

galevsky
  • Full Members
  • 2 posts

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.

smile.gif

Gal'