Jump to content

Help needed!RunOnceEx porblem!


Recommended Posts

I've just finished my CD and ... I have a problem with my runonceex part.

It installs SOME :) apps but not all.I have no idea what to do.

O yeah,using the old start.cmd all works perfectly so the switches can't be wrong.

PLS HELP!!!

Link to comment
Share on other sites


@maxXPsoft

I made that start folder in disperation,i was trying everything.

Actully the drivers in the start folder WERE in install.That didn't worked either.

Sorry for the confussion.I'll be more clear in the future.

I also copyed the install folder to c: and tryed to run the apps from there.

No good.

Link to comment
Share on other sites

Are those name with this "%CDROM%\start in a Start folder? I'd rename and put in Install folder. Which ones don't work or where does it stop? The rest look ok to me maybe someone else can pick something out.

Link to comment
Share on other sites

:)

I can't exactly tell you which ones won't install.

For example the nVidia and Intel driver(these have never been installed)

but for the other its like this:if winamp is installed then WinZip isn't and so on.

The name and paths of the apps are all OK.I triple checked.

But still if you find any errors tell me.

Link to comment
Share on other sites

:) OK here it is

cmdow @ /HID@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:IF EXIST K:\CD.txt set CDROM=K:IF EXIST L:\CD.txt set CDROM=L:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\000 /VE /D "Preparing Installation..." /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\install\Prepare.cmd" /f
REG ADD %KEY%\001 /VE /D "Intel driver" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\start\INTEL\setup.exe -s -f1 setup.iss" /f
REG ADD %KEY%\002 /VE /D "nVidia driver" /fREG ADD %KEY%\002 /V 1 /D "%CDROM%\start\NV\setup.exe -s -f1 setup.iss" /f
REG ADD %KEY%\007 /VE /D "Visual Basic 6" /fREG ADD %KEY%\007 /V 1 /D "%CDROM%\install\VR6.exe /Q:A /R:N" /f
REG ADD %KEY%\008 /VE /D "Windows Media Player 9" /fREG ADD %KEY%\008 /V 1 /D "%CDROM%\install\WMP9\MPSetupXP.exe /Q:A /R:N" /f
REG ADD %KEY%\009 /VE /D "Internet Explorer 6 SP1" /fREG ADD %KEY%\009 /V 1 /D "%CDROM%\install\SP1\IE6SETUP.exe /Q:A /R:N" /f
REG ADD %KEY%\010 /VE /D "DivX 5.1.1" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\install\DivX.exe" /f
REG ADD %KEY%\011 /VE /D "Ace Mega CodeCs Pack 5.95" /fREG ADD %KEY%\011 /V 1 /D "%CDROM%\install\ACE.exe" /f
REG ADD %KEY%\012 /VE /D "AC3 CodeC" /fREG ADD %KEY%\012 /V 1 /D "%CDROM%\install\ac3f.exe /S" /f
REG ADD %KEY%\013 /VE /D "Nero Burning Rom" /fREG ADD %KEY%\013 /V 1 /D "%CDROM%\install\NERO.exe /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN /SILENT /NOREBOOT /DISABLE SMARTSTART" /f
REG ADD %KEY%\014 /VE /D "Alcohol 120%" /fREG ADD %KEY%\014 /V 1 /D "%CDROM%\install\120\setup.exe /qn REBOOT=Suppress" /f
REG ADD %KEY%\015 /VE /D "Daemon Tools 3.46" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\install\DT.msi REBOOT=SUPPRESS /qn" /f
REG ADD %KEY%\016 /VE /D "Winrar 3.30" /fREG ADD %KEY%\016 /V 1 /D "%CDROM%\install\WinRar\WinRar.msi /qn" /f
REG ADD %KEY%\017 /VE /D "WinAce 2.5" /fREG ADD %KEY%\017 /V 1 /D "%CDROM%\install\WinAce\WinAce.msi /qn" /f
REG ADD %KEY%\018 /VE /D "WinZip 9.0" /fREG ADD %KEY%\018 /V 1 /D "%CDROM%\install\WinZip\WinZip.msi /qn" /f
REG ADD %KEY%\019 /VE /D "Arni Tools for Daemon Tools" /fREG ADD %KEY%\019 /V 1 /D "%CDROM%\install\avx.exe /S" /f
REG ADD %KEY%\020 /VE /D "ACDSee 6.0" /fREG ADD %KEY%\020 /V1 /D "%CDROM%\install\ACD.exe" /f
REG ADD %KEY%\021 /VE /D "BS Player 1.00" /fREG ADD %KEY%\021 /V 1 /D "%CDROM%\install\BSPlay\BSPlay.msi /qn" /f
REG ADD %KEY%\022 /VE /D "MV2 Player" /fREG ADD %KEY%\022 /V 1 /D "%CDROM%\install\MV2P.exe" /f
REG ADD %KEY%\023 /VE /D "ASUS DVD Player" /fREG ADD %KEY%\023 /V 1 /D "%CDROM%\install\ASUSDVD.exe" /f
REG ADD %KEY%\024 /VE /D "WinAmp 5.03a Pro" /fREG ADD %KEY%\024 /V 1 /D "%CDROM%\install\WAMP.exe" /f
REG ADD %KEY%\025 /VE /D "Sun Java 2" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\install\SunJava\j2re-1_4_2_02-windows-i586-p.exe /s /v/qn" /f
REG ADD %KEY%\026 /VE /D "Total Comander" /fREG ADD %KEY%\026 /V 1 /D "%CDROM%\install\TC.exe" /f
REG ADD %KEY%\027 /VE /D "Adobe Acrobat Reader 6" /fREG ADD %KEY%\027 /V 1 /D "%CDROM%\install\AR6\AR6.msi /QB" /f
REG ADD %KEY%\028 /VE /D "Opera 7.5" /fREG ADD %KEY%\028 /V 1 /D "%CDROM%\install\opera75.exe /s" /f
REG ADD %KEY%\029 /VE /D "Flash Player Opera" /fREG ADD %KEY%\029 /V 1 /D "%CDROM%\install\flash.exe /s" /f
REG ADD %KEY%\030 /VE /D "Flash Get 1.6" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\install\fgf.exe /SREG ADD %KEY%\030 /V 2 /D "REGEDIT /S %CDROM%\install\fgreg.reg" /f
REG ADD %KEY%\031 /VE /D "Flash Get Opera Plug-in" /fREG ADD %KEY%\031 /V 1 /D "%CDROM%\install\npfg.exe /S" /f
REG ADD %KEY%\032 /VE /D "nVidia Screen Saver" /fREG ADD %KEY%\032 /V 1 /D "%CDROM%\install\NBL\setup.exe -s -f1"%CDROM%\install\NBL\setup.iss" /f
REG ADD %KEY%\033 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\033 /V 1 /D "REGEDIT /S %CDROM%\install\RegT.reg" /f
REG ADD %KEY%\034 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\034 /V 1 /D "%CDROM%\install\Cleanup.cmd" /f
EXIT
Link to comment
Share on other sites

OK now delete your other post please too much scrolling. Just edit and delete and type a 1. The Start in the ones I mentioned may make it try to start something, may be confusing. You're saying they never install and that may be it. May need to try again after that cause that may be the whole problem ok. Start is a command like Start /wait

Link to comment
Share on other sites

@maxXPsoft

I made that start folder in disperation,i was trying everything.

Actully the drivers in the start folder WERE in install.That didn't worked either.

Sorry for the confussion.I'll be more clear in the future.

I also copyed the install folder to c: and tryed to run the apps from there.

No good. :)

Link to comment
Share on other sites

With the setup.iss it should read something like this

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\ATI_driver\Setup.exe -s -f1\"%systemdrive%\Install\ATI_driver\setup.iss\" /f

and yes thats all one line.

Link to comment
Share on other sites

OK.I think I made it using install.exe(i've used ver 2214).

I've just have to tested it on vrtual PC.

Later:IT WORKED!FINALLY!My CD is working! :)

(Still the Runonceex method doesn't work but thats it I'm using from now on install.exe).

Thanks to all for support.

Link to comment
Share on other sites

though you have it working.....

these are the programs I can eye, that won't work....

REG ADD %KEY%\001 /VE /D "Intel driver" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\start\INTEL\setup.exe -s -f1 setup.iss" /f
REG ADD %KEY%\002 /VE /D "nVidia driver" /fREG ADD %KEY%\002 /V 1 /D "%CDROM%\start\NV\setup.exe -s -f1 setup.iss" /f
REG ADD %KEY%\020 /VE /D "ACDSee 6.0" /fREG ADD %KEY%\020 /V1 /D "%CDROM%\install\ACD.exe" /f
REG ADD %KEY%\025 /VE /D "Sun Java 2" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\install\SunJava\j2re-1_4_2_02-windows-i586-p.exe /s /v/qn" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\install\fgf.exe /S
REG ADD %KEY%\032 /VE /D "nVidia Screen Saver" /fREG ADD %KEY%\032 /V 1 /D "%CDROM%\install\NBL\setup.exe -s -f1"%CDROM%\install\NBL\setup.iss" /f

do those not install at all? I'm betting no.

and this one

REG ADD %KEY%\030 /V 1 /D "%CDROM%\install\fgf.exe /S

could be screwing up your last 4-5 entries as well..

Link to comment
Share on other sites

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