Jump to content

vlc media player application switch?


Phi|

Recommended Posts

Hi

I 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 :D

cmdow @ /HID
@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 "MSN Messenger 6.2" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\apps\communication\msn_6.2.msi /qb" /f

REG ADD %KEY%\010 /VE /D "Skype 1.0.0.29" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\apps\communication\Skype_1.0.0.29.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\015 /VE /D "mIRC NoName Script" /f
REG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\Install\apps\communication\register.reg" /f

REG ADD %KEY%\020 /VE /D "TweakUI Powertoy" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\apps\Powertoys\TweakUiPowertoySetup.exe /s /v /qn" /f

REG ADD %KEY%\025 /VE /D "Task Switcher Powertoy" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\apps\Powertoys\TaskswitchPowertoySetup.exe /s /v /qn" /f

REG ADD %KEY%\035 /VE /D "Nero Burning ROM 6.3.1.20 Ultra Edition" /f
REG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\apps\burning\register.reg" /f
REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\apps\burning\nero63120.exe /silent /noreboot" /f

REG ADD %KEY%\040 /VE /D "FlashFXP 3.0.0.1015 Final" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\apps\ftp\FlashFXP_3.0.0.1015_Final.exe /SILENT" /f

REG ADD %KEY%\045 /VE /D "FlashFXP Add-on" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\apps\ftp\flashfxp.exe /s" /f

REG ADD %KEY%\050 /VE /D "NetLimiter 1.30" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\apps\utilities\NetLimiter_v130.exe /qn" /f

REG ADD %KEY%\055 /VE /D "NetLimiter 1.30 Add-on" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\apps\utilities\nl_patch.exe /s" /f

REG ADD %KEY%\057 /VE /D "Ad-Aware SE Professional" /f
REG ADD %KEY%\057 /V 1 /D "%systemdrive%\Install\apps\utilities\aawsepro1.04.exe /s" /f

REG ADD %KEY%\060 /VE /D "PeerGuardian_v1.99_pr14" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\apps\ftp\PeerGuardian_v1.99_pr14.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\065 /VE /D "Norton Antivirus 2003 Pro" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\apps\antivirus\NAV2003\NAV\nav.msi /qb" /f

REG ADD %KEY%\070 /VE /D "Norton Antivirus Add-on" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\apps\antivirus\Update.exe" /f

REG ADD %KEY%\075 /VE /D "WinRAR 3.4 Beta 1" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\apps\compression\wrar34b1.exe /s" /f

REG ADD %KEY%\080 /VE /D "Winamp 5.04 Full" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\apps\sound\winamp.msi /qbINI="%systemdrive%\install\apps\sound\winamp.ini"" /f

REG ADD %KEY%\083 /VE /D "VideoLAN 0.7.2" /f
REG ADD %KEY%\083 /V 1 /D "%systemdrive%\Install\apps\video\vlc-0.7.2-win32.exe /s" /f

REG 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-" /f

REG ADD %KEY%\090 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\090 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

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

EXIT

I know it does not belong here all of it, but the most important does fit in here ;)

*EDIT

I 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


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

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

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