Jump to content

converted to RunonceEX, need verification


Recommended Posts

hi all, i converted my batch files to RunOnceEX, but i need verification i anything is alright:

and, some Install apps ( like DU meter) says that i have to many Switches, all those progs say that ( the one's with the same Install APP), i think because of my DIR switch

can u guys give me tips on that?

this like:

No rebooting

the switches are correct

my .CMD is in \install\ , right place?

thnx!

//edit//

OOPS!, deleted Nero Sr NR

//

@echo off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /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%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

REG ADD %KEY%\010 /VE /D "Alcohol 120" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Alcoholl120\setup.msi INSTALLDIR="H:\Brander\Alcohol 120" /qn" /f

REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\Install\Alcoholl120\Alcohol120reg.reg" /f

REG ADD %KEY%\015 /VE /D "WinRar 3.30 Corporate" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\WinRAR\WinRaR3.30Corp.exe /s /v/qn" /f

REG ADD %KEY%\020 /VE /D "DU Meter 3" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\DUMeter\dumeter3.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\Install\DUMeter\Dumeter.reg" /f

REG ADD %KEY%\025 /VE /D ".NET Framework 1.1" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\NetFramework\netfx.msi /qn" /f

REG ADD %KEY%\030 /VE /D "Sun Java VM 1.4.2" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%install\Applications\SunJava\j2re-1_4_2_05-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=ReallySuppress" /f

REG ADD %KEY%\035 /VE /D "Windows Media Player 9" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N" /f

REG ADD %KEY%\040 /VE /D "MSN Messenger 6.2.0137" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\MSN\MsnMsgs.msi /qn" /f

REG ADD %KEY%\045 /VE /D "MSN PLus! 3.01.94 (NoSponsor)" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Applications\MSNP\MSNPlus!_3.01.94.exe /silentinstallnosponsor" /f

REG ADD %KEY%\050 /VE /D "TweakUI 2.10" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\PowerToys\TweakUI.msi /qn" /f

REG ADD %KEY%\055 /VE /D "ImageResizer" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\PowerToys\ImageResizerPowertoySetup.exe /s /v/qn" /f

REG ADD %KEY%\060 /VE /D "Google Toolbar" /f

REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\googletoolbar\GoogleToolbarInstaller.exe /q /d" /f

REG ADD %KEY%\065 /VE /D "Audigy 2 Driver" /f

REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Audigy\CTZAPXX.exe /q /o /r" /f

REG ADD %KEY%\070 /VE /D "Spybot &D 1.3" /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\spybot\spybotsd13.exe /SILENT /SP /DIR="H:\Onderhoud\Spybot S&D\" /NORESTART" /f

REG ADD %KEY%\075 /VE /D "Nero Burning ROM v6.3.1.17" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\Nero6.31.17\setup.exe /SN=removed-7277 /WRITE_SN /SILENT /NOREBOOT" /f

REG ADD %KEY%\080 /VE /D "Aida32 3.93" /f

REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\aida32\AIDA32_3.93.exe /SILENT /SP /DIR="H:\Onderhoud\Aida32\" /NORESTART" /f

REG ADD %KEY%\085 /VE /D "Netlimiter 1.30" /f

REG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\Netlimiter\nlv130.exe D="H:\Internet\Netlimiter\"" /f

REG ADD %KEY%\090 /VE /D "Winamp 5.0.4" /f

REG ADD %KEY%\090 /V 1 /D "%systemdrive%\Install\Winamp504\winamp.msi /INI="%systemdrive%\install\Winamp504\winamp.ini" /qn" /f

REG ADD %KEY%\095 /VE /D "UltraVNC 1.0 RC11b" /f

REG ADD %KEY%\095 /V 1 /D "%systemdrive%\Install\ultravnc\UltraVNC-100-RC11b-Setup.exe /SP /VERYSILENT /DIR="H:\Internet\UltraVNC\" /NORESTART" /f

REG ADD %KEY%\100 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\100 /V 1 /D "REGEDIT /S %systemdrive%\install\RegTweaks.reg" /f

REG ADD %KEY%\105 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Link to comment
Share on other sites


nobody ?

i found some

Netlimiter 1.30, gives the normal Install wizard when starting form runonceEX

really weird

i got three disks ( 2x 120 gb 1 x 6gb)

nromally i got C D E F G H ( 1 time 120 Gb)

I ( the other 120GB)

J (60GB)

normally it works fine, but in windows setup where u select partitions, berfore he copy's the $OEM$ folders, he mess up my Hard disks

C i alright but D and E are that two other disk ( 120 gb and 60 gb)

when i go back to windows ( just a reset)t is allright again

but the point is, after an fresh install of Wxp ( Sp1 integrated), my drive letters ARE messed up, and my script sux, because it points to install to H:, what s a other partition now....

who knows a answer ? ( sorry for my bad english and maybe unreadable text :)

Link to comment
Share on other sites

Wat is eigenlijk het voordeel van RunOnce?

What is the advantage of Runonce? Because at the moment i am working on creating a big start.cmd but if someone tells me there is some big difference i might stop now in the middle and convert...

Also, what do you need for RunOnce? Where do you need to state it... I read the instructions clearly ofcourse but I think I skipped something...

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