Jump to content

What's wrong with this RunOnceExe!?


Recommended Posts

Posted

the apps :

.NET Framework

Adobe Reader 6.02

Sun Java

just won't install! no error massages and no nothing!!

.NET & adobe reader are both SFX archives created by the user RyanVM , they are switchless , and when i asked him about the weird problem he didn't had a clue ..

and the paths allright! if they weren't a windows would popup saying "can't find the path specified"

here's my runonceex part for this apps :

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Applications Install By Adiel" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\003 /VE /D ".NET Framework 1.1"
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\Applications\DotNetFramework\netfxsp1.exe" /f >> %windir%\apps.log

REG ADD %KEY%\010 /VE /D "Adobe Reader 6.02"
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Applications\AdobeReader\acroread602.exe" /f >> %windir%\apps.log

REG ADD %KEY%\050 /VE /D "Sun Java 5.0 (1.5.0)"
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\SunJava\jre-1_5_0-windows-i586.exe /s /qn ADDLOCAL=ADD IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0" /f >> %windir%\apps.log


Posted

I HOPE ITS OK TO POST SAME PROBLEM IN TWO DIFFERENT FORUMS, IF NOT - ADMINS PLZ LOCK / DELETE.

here's the problem , those apps :

.NET Framework

Adobe Reader 6.02

Sun Java

just not installing. no error massage saying path ain't correct , and no other error massage. the path is alright! ..

.NET & adobe reader are both SFX archives created by the user RyanVM , they are switchless , and when i asked him about the weird problem he didn't had a clue ..

here's my runonceex part for this apps :

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Applications Install By Adiel" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\003 /VE /D ".NET Framework 1.1"
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\Applications\DotNetFramework\netfxsp1.exe" /f >> %windir%\apps.log

REG ADD %KEY%\010 /VE /D "Adobe Reader 6.02"
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Applications\AdobeReader\acroread602.exe" /f >> %windir%\apps.log

REG ADD %KEY%\050 /VE /D "Sun Java 5.0 (1.5.0)"
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\SunJava\jre-1_5_0-windows-i586.exe /s /qn ADDLOCAL=ADD IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0" /f >> %windir%\apps.log

Posted

Change

EG ADD %KEY%\010 /VE /D "Adobe Reader 6.02"

to

REG ADD %KEY%\010 /VE /D "Adobe Reader 6.02"

also I'm not sure if those >> redirections work.

Posted

I dont wish to sound like I'm belittling you, but are you sure you are calling the runonceex.cmd from cmdlines.txt or some such other place!

Posted

sorry Adiel, all points point to path error. Except for maybe JAVA. I think you're missing something. If i remember right...

REG ADD %KEY%\050 /VE /D "Sun Java 5.0 (1.5.0)"
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Applications\SunJava\jre-1_5_0-windows-i586.exe /s /v\" /qn ADDLOCAL=ADD IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0\"" /f >> %windir%\apps.log

should be correct. But I may be wrong.

Posted

Alanoll, I don't know whether it could be a path error (didn't think about this yet), bu he definitely doesn't need the switches.

@Adiel

RyanVM has a Java 5.0 package as well, get that. It will be switchless.

And is there any reason *WHY* you need this?

>> %windir%\apps.log

Just a suggestion, but remove those parts, and try again, it _might_ work properly.

I HOPE ITS OK TO POST SAME PROBLEM IN TWO DIFFERENT FORUMS
No, its *NOT* okay. Topics merged.
Posted

i've downloaded Ryavnm package , i'm gonna test it.

the .NET and Adobe Reader are made by ryanvm ..

i'm gonna remover those redirections and check again.

ans sorry about double post , won't happen again :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...