MSFN Forum: Sun Java - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sun Java Reg Add for RunOnceEX Rate Topic: -----

#1 User is offline   codeblue 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 305
  • Joined: 14-July 03

Posted 22 March 2004 - 02:54 PM

Just switched from Main Batch to RunOnceEx. All is hunky dorie except Sun Java. This is what i have:

REG ADD %KEY%\050 /VE /D "Sun Java VM 1.4.2" /f
REG ADD %KEY%\050 /V 1 /D "\"%SYSTEM%\Software\SunJava\j2re-1_4_2_03-windows-i586-p.exe\" /s /v "/qn ADDLOCAL=jrecore IEXPLORER=1"

Can someone tell me why it isn't working?


#2 User is offline   nartac 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 01-September 02

Posted 22 March 2004 - 03:31 PM

here is mine and it works just fine:

REG ADD %KEY%\065 /VE /D "Sun Java 1.4.2" /f
REG ADD %KEY%\065 /V 1 /D "%CDROM%\applications\SunJava\j2re-1_4_2_03-windows-i586-p.exe /s /v/qn" /f

you also don't have that /f at the end

#3 User is offline   codeblue 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 305
  • Joined: 14-July 03

Posted 22 March 2004 - 03:39 PM

The /f just allows the reg entry to overwrite entries all ready thier. Put it in but it still didn't work.

#4 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 22 March 2004 - 03:39 PM

if %System% doesn't have any spaces in it, then you don't need quotes around
%SYSTEM%\Software\SunJava\j2re-1_4_2_03-windows-i586-p.exe


you also forgot to escape the embedded quotes by /qn and end it with a quote.

Fix line:
REG ADD %KEY%\050 /V 1 /D "\"%SYSTEM%\Software\SunJava\j2re-1_4_2_03-windows-i586-p.exe\" /s /v \"/qn ADDLOCAL=jrecore IEXPLORER=1\""


#5 User is offline   codeblue 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 305
  • Joined: 14-July 03

Posted 22 March 2004 - 03:49 PM

Thank you Alanoll, that did the job. :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy