Phi| Posted September 8, 2004 Share Posted September 8, 2004 HiI tried using /s when installing vlc media player, but it did not work out, does anyone know any other switch which possibly can be used? And I tried using a selfextracting file (created with WinRAR), which I thought would not need any switches, but it did not work out either.This is my RunOnceEx.cmd please help me. thanks cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\apps\communication\msn_6.2.msi /qb" /fREG ADD %KEY%\010 /VE /D "Skype 1.0.0.29" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\apps\communication\Skype_1.0.0.29.exe /VERYSILENT /SP-" /fREG ADD %KEY%\015 /VE /D "mIRC NoName Script" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\Install\apps\communication\register.reg" /fREG ADD %KEY%\020 /VE /D "TweakUI Powertoy" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\apps\Powertoys\TweakUiPowertoySetup.exe /s /v /qn" /fREG ADD %KEY%\025 /VE /D "Task Switcher Powertoy" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\apps\Powertoys\TaskswitchPowertoySetup.exe /s /v /qn" /fREG ADD %KEY%\035 /VE /D "Nero Burning ROM 6.3.1.20 Ultra Edition" /fREG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\apps\burning\register.reg" /fREG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\apps\burning\nero63120.exe /silent /noreboot" /fREG ADD %KEY%\040 /VE /D "FlashFXP 3.0.0.1015 Final" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\apps\ftp\FlashFXP_3.0.0.1015_Final.exe /SILENT" /fREG ADD %KEY%\045 /VE /D "FlashFXP Add-on" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\apps\ftp\flashfxp.exe /s" /fREG ADD %KEY%\050 /VE /D "NetLimiter 1.30" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\apps\utilities\NetLimiter_v130.exe /qn" /fREG ADD %KEY%\055 /VE /D "NetLimiter 1.30 Add-on" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\apps\utilities\nl_patch.exe /s" /fREG ADD %KEY%\057 /VE /D "Ad-Aware SE Professional" /fREG ADD %KEY%\057 /V 1 /D "%systemdrive%\Install\apps\utilities\aawsepro1.04.exe /s" /fREG ADD %KEY%\060 /VE /D "PeerGuardian_v1.99_pr14" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\apps\ftp\PeerGuardian_v1.99_pr14.exe /VERYSILENT /SP-" /fREG ADD %KEY%\065 /VE /D "Norton Antivirus 2003 Pro" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\apps\antivirus\NAV2003\NAV\nav.msi /qb" /fREG ADD %KEY%\070 /VE /D "Norton Antivirus Add-on" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\apps\antivirus\Update.exe" /fREG ADD %KEY%\075 /VE /D "WinRAR 3.4 Beta 1" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\apps\compression\wrar34b1.exe /s" /fREG ADD %KEY%\080 /VE /D "Winamp 5.04 Full" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\apps\sound\winamp.msi /qbINI="%systemdrive%\install\apps\sound\winamp.ini"" /fREG ADD %KEY%\083 /VE /D "VideoLAN 0.7.2" /fREG ADD %KEY%\083 /V 1 /D "%systemdrive%\Install\apps\video\vlc-0.7.2-win32.exe /s" /fREG ADD %KEY%\085 /VE /D "Microsoft Office 2003 SP1"REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\090 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\090 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\095 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\095 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITI know it does not belong here all of it, but the most important does fit in here *EDITI forgot; how can I stop Ad-aware from doing a system scan when it has been installed? The same goes for Norton Antivirus.Thanks in advance Link to comment Share on other sites More sharing options...
Kongqueror Posted September 9, 2004 Share Posted September 9, 2004 You need to use a capital s: /S for it to work. I'm not sure if you searched but it was in the only topic I've created so far.I'm curious what that FlashFXP add on program is you included in your code. Is that for registering it? If so, how did you manage to do it? Link to comment Share on other sites More sharing options...
Phi| Posted September 9, 2004 Author Share Posted September 9, 2004 FlashFXP, well I thought I would be able to make an self-extracting exe file and run it from RunOnceEx, but it did not work out. BTW it is FlashFXP I have compressed. I have specified where it needs to be placed when I created it using WinRAR.If you know how to make this work, please tell me, it works for me when i install FlashFXP and then run the addon.Thanks in advance 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