myuujikku Posted June 21, 2005 Share Posted June 21, 2005 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" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\7Zip\7zip.exe -y /S" /fREG ADD %KEY%\010 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Adobe\AdobeReader7.exe" /s /fREG ADD %KEY%\015 /VE /D "Crimson Editor 3.7.0" /fREG 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" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\FileZila\FileZila2.2.14.exe /s" /fREG ADD %KEY%\025 /VE /D "Firefox 1.0.4" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Firefox\Firefox1.0.4.exe -ms" /fREG ADD %KEY%\026 /V 1 /D "%systemdrive%\Install\Firefox\flashplayer7installer.exe -s" /fREG ADD %KEY%\030 /VE /D "Ghost Script 8.51" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\GhostScript\setupgs.exe" /s /fREG ADD %KEY%\035 /VE /D "GhostViewer 4.7" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\GhostViewer\setup.exe" /fREG ADD %KEY%\040 /VE /D "Irfan Viewer 3.97" /fREG ADD %KEY5\040 /V 1 /D "%systemdrive%\Install\Irfan\Irfan3.97.exe /silent /desktop=1 /group=1 /allusers=1 /assoc=1" /fREG ADD %KEY%\041 /V 1 /D "%systemdrive%\Install\Irfan\plugins3.97.exe /silent" /fREG ADD %KEY%\045 /VE /D "Java JRE 1.5.0.03" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\JavaJRE\JavaJRE1.5.0.03.exe REBOOT=REALLYSUPPRESS" /fREG ADD %KEY%\050 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.mst /qb-" /fREG ADD %KEY%\055 /VE \D ".net Framework" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\netFramework\netframework_setup.exe" /fREG ADD %KEY^\056 /V 1 /D "%systemdrive%\Install\netFramework\netframeworksp1.1.exe" /fREG ADD %KEY%\060 /VE /D "Quicktime Player 6.5" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Quicktime\QuickTime6.5.exe /silent" /fREG ADD %KEY%\065 /VE /D "Real Player 10.5" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\RealPlayer\RealPlayer10.5.exe -s" /fREG ADD %KEY%\070 /VE /D "Symantec Anti-Virus Coporate 10.0.359" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\sav10\SymantecAntiVirus.msi /qb-! RUNLIVEUPDATE=0 REBOT=REALLYSUPPRESS ENABLEAUTOPROTECT=1" /fREG ADD %KEY%\075 /VE /D "SAV Firewall Exceptions" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\sav10\savfw.bat" /fREG ADD %KEY%\080 /VE /D "Spybot Search & Destory 1.4" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\Spybot\Spybot1.4.exe /silent /nocancel" /fREG ADD %KEY%\085 /VE /D "Windows Media Player 10" /fREG 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 More sharing options...
Astalavista Posted June 21, 2005 Share Posted June 21, 2005 1. 7zip is already version 2.02. download netframework from ryanvm.net3. QuickTime and RealPlayer. I suggest that u use mega codec pack instead4. Search for Media Player 10 Integration. Link to comment Share on other sites More sharing options...
larson Posted June 21, 2005 Share Posted June 21, 2005 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. ) Link to comment Share on other sites More sharing options...
myuujikku Posted June 21, 2005 Author Share Posted June 21, 2005 1. 7zip is already version 2.02. download netframework from ryanvm.net3. QuickTime and RealPlayer. I suggest that u use mega codec pack instead4. Search for Media Player 10 Integration.<{POST_SNAPBACK}>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. )<{POST_SNAPBACK}>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 More sharing options...
Dumpy Dooby Posted June 21, 2005 Share Posted June 21, 2005 Get JRE from ryanvm.msfn.org/It works the same as his .NET Framework silent installer. Link to comment Share on other sites More sharing options...
smashly Posted June 22, 2005 Share Posted June 22, 2005 (edited) 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 IrfanviewREG ADD %KEY5\040 /V 1 /D "%systemdrive%\Install\Irfan\Irfan3.97.exe /silent /desktop=1 /group=1 /allusers=1 /assoc=1" /fShould 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.70REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\CrimsonEditor\Crimson3.7.0.exe -s" /fShould 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 June 22, 2005 by smashly Link to comment Share on other sites More sharing options...
myuujikku Posted June 22, 2005 Author Share Posted June 22, 2005 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 More sharing options...
Zxian Posted June 22, 2005 Share Posted June 22, 2005 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.<{POST_SNAPBACK}>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 More sharing options...
Astalavista Posted June 23, 2005 Share Posted June 23, 2005 congratssome of my guides for uhttp://www.msfn.org/board/index.php?showtopic=48861http://www.msfn.org/board/index.php?showtopic=48407http://www.msfn.org/board/index.php?showtopic=48338http://www.msfn.org/board/index.php?showtopic=48712http://www.msfn.org/board/index.php?showtopic=48711 Link to comment Share on other sites More sharing options...
myuujikku Posted June 27, 2005 Author Share Posted June 27, 2005 (edited) 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. L8tzcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "7 Zip 4.20" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\7Zip\7zip4.20.exe -y /S" /fREG ADD %KEY%\010 /VE /D "Adobe Reader 7.01" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Adobe\AdobeReader7.01.exe" /fREG ADD %KEY%\015 /VE /D "Crimson Editor 3.7.0" /fREG 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" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\FileZilla\FileZilla2.2.14.exe /S" /fREG ADD %KEY%\025 /VE /D "Firefox 1.0.4" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Firefox\Firefox1.0.4.exe -ms" /fREG ADD %KEY%\026 /V 1 /D "%systemdrive%\Install\Firefox\flashplayer7installer.exe /s" /fREG ADD %KEY%\030 /VE /D "Ghost Script 8.51 & GhostViewer 4.7" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Ghost\Installer.cmd" /fREG ADD %KEY%\035 /VE /D "Irfan Viewer 3.97" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Irfan\Irfan3.97.exe /silent /desktop=1 /group=1 /allusers=1 /assoc=1" /fREG ADD %KEY%\036 /V 1 /D "%systemdrive%\Install\Irfan\plugins3.97.exe /silent" /fREG ADD %KEY%\040 /VE /D "Java JRE 1.5.0.03" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\JavaJRE\jre1.5.0.03.exe" /fREG ADD %KEY%\045 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.mst /qb-" /fREG ADD %KEY%\050 /VE /D ".net Framework" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\netFramework\netfxsp1.exe" /fREG ADD %KEY%\055 /VE /D "PDF Creator" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\PDFCreator\PDFCreator0.8.0.exe /SILENT /NOCANCEL /NORESTART" /fREG ADD %KEY%\056 /V 1 /D "%systemdrive%\Install\PDFCreator\PDFCreator0.8.0patch.exe /SILENT /NOCANCEL /NORESTART" /fREG ADD %KEY%\060 /VE /D "Quicktime Player 6.5" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Quicktime\QuickTimeFullInstaller.exe" /fREG ADD %KEY%\065 /VE /D "Real Player 10.5" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\RealPlayer\RealPlayer10.5.exe -s" /fREG ADD %KEY%\070 /VE /D "Symantec Anti-Virus Coporate 10.0.359" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\sav10\SymantecAntiVirus.msi /qb-! RUNLIVEUPDATE=0 REBOT=REALLYSUPPRESS ENABLEAUTOPROTECT=1" /fREG ADD %KEY%\075 /VE /D "SAV Firewall Exceptions" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\sav10\savfw.bat" /fREG ADD %KEY%\080 /VE /D "Spybot Search & Destory 1.4" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\Spybot\Spybot1.4.exe /silent /nocancel" /fREG ADD %KEY%\085 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\WMPlayer\MP10setup.exe /Q:A /R:N /C:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\090 /VE /D "Hotfixes" /fREG ADD %KEY%\090 /V 1 /D "%systemdrive%\Install\Hotfixes\KB867282.exe /Q /N /Z" /fREG ADD %KEY%\091 /V 1 /D "%systemdrive%\Install\Hotfixes\KB885250.exe /Q / N/ Z" /fREG ADD %KEY%\092 /V 1 /D "%systemdrive%\Install\Hotfixes\KB890830V1.4.EXE /Q" /fREG ADD %KEY%\099 /V 1 /D "%systemdrive%\Install\Hotfixes\qchain.exe" /fREG ADD %KEY%\100 /VE /D "Registry Keys: SUS Server and Login Security Popup" /fREG ADD %KEY%\100 /V 1 /D "%systemdrive%\Install\regkeys\addRegKeys.cmd" /fREG ADD %KEY%\105 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\105 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f Edited June 27, 2005 by myuujikku Link to comment Share on other sites More sharing options...
Astalavista Posted June 27, 2005 Share Posted June 27, 2005 observations:1. adobe acrobat is already version 7.022. Media Player 10, can be integrated into I3863. 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 More sharing options...
myuujikku Posted June 27, 2005 Author Share Posted June 27, 2005 (edited) observations:1. adobe acrobat is already version 7.022. Media Player 10, can be integrated into I3863. 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.<{POST_SNAPBACK}>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 that3) I am, the hotfixies there are ones that don't want to integrate correctly into the DVD, this way they get installed regardless4) I hate them as well, but the department wants them - work at a university, not much I can do there5) Will look into AdAware SE pro and discuss with my boss, thanks for the suggestionAgain, your input is greatly appericated. Edited June 27, 2005 by myuujikku Link to comment Share on other sites More sharing options...
myuujikku Posted June 27, 2005 Author Share Posted June 27, 2005 (edited) 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 offtitle GhostScript and GhostViewer Installer PackageECHO Installing GhostScriptECHO Please wait...cd\cd install\Ghost\GhostScriptstart /wait setup.exe "%systemdrive%\Program Files"ECHO.ECHO Installing GhostViewerECHO Please wait...cd\cd install\Ghost\Ghostviewerstart /wait setup.exe "%systemdrive%\Program Files" Edited June 27, 2005 by myuujikku Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now