Jump to content

RunOnceEx problems


myuujikku

Recommended Posts

Hey everyone I'm in need of some help. I'm having some problems with my RunOnceEx.cmd file. I can't seem to get it to run completely silent. If anyone can help me out I'd greatly appreciate it.

RunOnceEX:

REG ADD %KEY%\005 /VE /D "7 Zip 4.18" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\7Zip\7zip.exe -y /S" /f

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

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Adobe\AdobeReader7.exe" /s /f

REG ADD %KEY%\015 /VE /D "Crimson Editor 3.7.0" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\CrimsonEditor\Crimson3.7.0.exe -s" /f

REG ADD %KEY%\020 /VE /D "FileZila 2.2.14a" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\FileZila\FileZila2.2.14.exe /s" /f

REG ADD %KEY%\025 /VE /D "Firefox 1.0.4" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Firefox\Firefox1.0.4.exe -ms" /f

REG ADD %KEY%\026 /V 1 /D "%systemdrive%\Install\Firefox\flashplayer7installer.exe -s" /f

REG ADD %KEY%\030 /VE /D "Ghost Script 8.51" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\GhostScript\setupgs.exe" /s /f

REG ADD %KEY%\035 /VE /D "GhostViewer 4.7" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\GhostViewer\setup.exe" /f

REG ADD %KEY%\040 /VE /D "Irfan Viewer 3.97" /f

REG ADD %KEY5\040 /V 1 /D "%systemdrive%\Install\Irfan\Irfan3.97.exe /silent /desktop=1 /group=1 /allusers=1 /assoc=1" /f

REG ADD %KEY%\041 /V 1 /D "%systemdrive%\Install\Irfan\plugins3.97.exe /silent" /f

REG ADD %KEY%\045 /VE /D "Java JRE 1.5.0.03" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\JavaJRE\JavaJRE1.5.0.03.exe REBOOT=REALLYSUPPRESS" /f

REG ADD %KEY%\050 /VE /D "Microsoft Office 2003 Professional" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.mst /qb-" /f

REG ADD %KEY%\055 /VE \D ".net Framework" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\netFramework\netframework_setup.exe" /f

REG ADD %KEY^\056 /V 1 /D "%systemdrive%\Install\netFramework\netframeworksp1.1.exe" /f

REG ADD %KEY%\060 /VE /D "Quicktime Player 6.5" /f

REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Quicktime\QuickTime6.5.exe /silent" /f

REG ADD %KEY%\065 /VE /D "Real Player 10.5" /f

REG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\RealPlayer\RealPlayer10.5.exe -s" /f

REG ADD %KEY%\070 /VE /D "Symantec Anti-Virus Coporate 10.0.359" /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\sav10\SymantecAntiVirus.msi /qb-! RUNLIVEUPDATE=0 REBOT=REALLYSUPPRESS ENABLEAUTOPROTECT=1" /f

REG ADD %KEY%\075 /VE /D "SAV Firewall Exceptions" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\sav10\savfw.bat" /f

REG ADD %KEY%\080 /VE /D "Spybot Search & Destory 1.4" /f

REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\Spybot\Spybot1.4.exe /silent /nocancel" /f

REG ADD %KEY%\085 /VE /D "Windows Media Player 10" /f

REG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\WMPlayer\MP10setup.exe /Q:A /R:N /C:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

Link to comment
Share on other sites


1. 7zip is already version 2.0

2. download netframework from ryanvm.net

3. QuickTime and RealPlayer. I suggest that u use mega codec pack instead

4. Search for Media Player 10 Integration.

Firefox installs with a simple -ms switch? I've been using Mozilla's setup.exe all along.

Edskes File Download Mirror is an excellent place to get the latest codec pack. (I have it bookmarked.  :thumbup )

Astalavista:

Thanks for the update on 7 Zip, the .net install from ryanvm.net, and informing me about the mega codec pack.

Larson:

So far I haven't had any problem with using the -ms switch for firefox and thanks for the site to grad the codec pack.

I still can't get Crimson Editor to install silently and I'm still getting a prompt from Java JRE that list command lines. Also, the irfan viewers are just being skipped - not even getting an error message telling me the path name is wrong. Any ideas? Thanks again for everyone's help.

Link to comment
Share on other sites

Also, the irfan viewers are just being skipped - not even getting an error message telling me the path name is wrong. Any ideas? Thanks again for everyone's help.
You have a bit of a typo in your line for Irfanview

REG ADD %KEY5\040 /V 1 /D "%systemdrive%\Install\Irfan\Irfan3.97.exe /silent /desktop=1 /group=1 /allusers=1 /assoc=1" /f

Should be %KEY%\ not %KEY5\

Would you let me know if the irfanview plugins work with the /silent switch , cause it didn't work for me with irfview_all_plugins.exe that I got from the irfanview web sight. I ended downloading the zip version and making a sfx archive out of it instead.

Also a typo in

REG ADD %KEY^\056 /V 1 /D "%systemdrive%\Install\netFramework\netframeworksp1.1.exe" /f

Should be%KEY%\ not %KEY^\

Also wrong switch for Crimson Editor 3.70

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\CrimsonEditor\Crimson3.7.0.exe -s" /f

Should be /S not -s (yes that's a capital "/S" ,the switch is case sensative ) I tested the Crimson Editor 3.70 = cedt370r.exe was the orig file name that I downloaded.

You also might like to have a look at THIS thread , there's a handy tool for finding switches for any installer exe .

Good Luck

Edited by smashly
Link to comment
Share on other sites

It all works now. Thank you everyone that helped and contributed with both advice and suggestion. I also hope that this will also help others. I will be posting a complete runonceex later today. Again thanks everyone.

Link to comment
Share on other sites

It all works now.  Thank you everyone that helped and contributed with both advice and suggestion. I also hope that this will also help others.  I will be posting a complete runonceex later today.  Again thanks everyone.

Glad to see you've figured it out.

When you do post your RunOnceEx file, make sure to use codebox tags to surround your code. It makes it much easier for us to read and keeps the thread clean.

i.e.

[codebox](insert code here)[/codebox]

Cheers!

Link to comment
Share on other sites

Sorry about the delay everyone. There was some twinking going, a one dayban for not using the code /code commands and then a family emergency. Long week. Anyways like I said here's the completed code. I hope it helps ppl. L8tz

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "7 Zip 4.20" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\7Zip\7zip4.20.exe -y /S" /f

REG ADD %KEY%\010 /VE /D "Adobe Reader 7.01" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Adobe\AdobeReader7.01.exe" /f

REG ADD %KEY%\015 /VE /D "Crimson Editor 3.7.0" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\CrimsonEditor\Crimson3.7.0.exe /S"  /f

REG ADD %KEY%\020 /VE /D "FileZila 2.2.14" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\FileZilla\FileZilla2.2.14.exe /S"  /f

REG ADD %KEY%\025 /VE /D "Firefox 1.0.4" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Firefox\Firefox1.0.4.exe -ms" /f
REG ADD %KEY%\026 /V 1 /D "%systemdrive%\Install\Firefox\flashplayer7installer.exe /s" /f

REG ADD %KEY%\030 /VE /D "Ghost Script 8.51 & GhostViewer 4.7" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Ghost\Installer.cmd" /f

REG ADD %KEY%\035 /VE /D "Irfan Viewer 3.97" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Irfan\Irfan3.97.exe /silent /desktop=1 /group=1 /allusers=1 /assoc=1" /f
REG ADD %KEY%\036 /V 1 /D "%systemdrive%\Install\Irfan\plugins3.97.exe /silent" /f

REG ADD %KEY%\040 /VE /D "Java JRE 1.5.0.03" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\JavaJRE\jre1.5.0.03.exe" /f

REG ADD %KEY%\045 /VE /D "Microsoft Office 2003 Professional" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.mst /qb-" /f

REG ADD %KEY%\050 /VE /D ".net Framework" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\netFramework\netfxsp1.exe" /f

REG ADD %KEY%\055 /VE /D "PDF Creator" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\PDFCreator\PDFCreator0.8.0.exe /SILENT /NOCANCEL /NORESTART" /f
REG ADD %KEY%\056 /V 1 /D "%systemdrive%\Install\PDFCreator\PDFCreator0.8.0patch.exe /SILENT /NOCANCEL /NORESTART" /f

REG ADD %KEY%\060 /VE /D "Quicktime Player 6.5" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Quicktime\QuickTimeFullInstaller.exe" /f

REG ADD %KEY%\065 /VE /D "Real Player 10.5" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\RealPlayer\RealPlayer10.5.exe -s" /f

REG ADD %KEY%\070 /VE /D "Symantec Anti-Virus Coporate 10.0.359" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\sav10\SymantecAntiVirus.msi /qb-! RUNLIVEUPDATE=0 REBOT=REALLYSUPPRESS ENABLEAUTOPROTECT=1" /f

REG ADD %KEY%\075 /VE /D "SAV Firewall Exceptions" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\sav10\savfw.bat" /f

REG ADD %KEY%\080 /VE /D "Spybot Search & Destory 1.4" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\Spybot\Spybot1.4.exe /silent /nocancel" /f

REG ADD %KEY%\085 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\WMPlayer\MP10setup.exe /Q:A /R:N /C:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\090 /VE /D "Hotfixes" /f
REG ADD %KEY%\090 /V 1 /D "%systemdrive%\Install\Hotfixes\KB867282.exe /Q /N /Z" /f
REG ADD %KEY%\091 /V 1 /D "%systemdrive%\Install\Hotfixes\KB885250.exe /Q / N/ Z" /f
REG ADD %KEY%\092 /V 1 /D "%systemdrive%\Install\Hotfixes\KB890830V1.4.EXE /Q" /f
REG ADD %KEY%\099 /V 1 /D "%systemdrive%\Install\Hotfixes\qchain.exe" /f

REG ADD %KEY%\100 /VE /D "Registry Keys: SUS Server and Login Security Popup" /f
REG ADD %KEY%\100 /V 1 /D "%systemdrive%\Install\regkeys\addRegKeys.cmd" /f

REG ADD %KEY%\105 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\105 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f

Edited by myuujikku
Link to comment
Share on other sites

observations:

1. adobe acrobat is already version 7.02

2. Media Player 10, can be integrated into I386

3. Why are u not integrating the hotfixes using the proper integration method?

4. I hate Real Player and Quicktime, they are memory hogs. I would suggest that u try K-Lite Mega Codec Pack. I recently made a repacked K-lite Mega Codec Pack 22MB. After you install it... it will install Real Player Alternative, and Quicktime Alternative.

5. Check AdAware SE pro instead of spybot.

Link to comment
Share on other sites

observations:

1. adobe acrobat is already version 7.02

2. Media Player 10, can be integrated into I386

3. Why are u not integrating the hotfixes using the proper integration method?

4. I hate Real Player and Quicktime, they are memory hogs. I would suggest that u try K-Lite Mega Codec Pack. I recently made a repacked K-lite Mega Codec Pack 22MB. After you install it... it will install Real Player Alternative, and Quicktime Alternative.

5. Check AdAware SE pro instead of spybot.

1) Thanks for that information on the update for Acrobate- apparently I messed up when I booked mark the page.

2) OK, don't know how to do that

3) I am, the hotfixies there are ones that don't want to integrate correctly into the DVD, this way they get installed regardless

4) I hate them as well, but the department wants them - work at a university, not much I can do there

5) Will look into AdAware SE pro and discuss with my boss, thanks for the suggestion

Again, your input is greatly appericated.

Edited by myuujikku
Link to comment
Share on other sites

Also, you might have notice that I wasn't able to get GhostScript and GhostViewer to run correctly via the RunOnceEx itself, instead I link it to a batch file. I'd like to thanks ravashaak for the code to do that (it's on page nine of the application switches thread), here's the batch code I used.

@echo off
title GhostScript and GhostViewer Installer Package

ECHO Installing GhostScript
ECHO Please wait...
cd\

cd install\Ghost\GhostScript
start /wait setup.exe "%systemdrive%\Program Files"
ECHO.

ECHO Installing GhostViewer
ECHO Please wait...

cd\
cd install\Ghost\Ghostviewer
start /wait setup.exe "%systemdrive%\Program Files"

Edited by myuujikku
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...