Jump to content

How To Avoid the "RUN"


ajdicarlo

Recommended Posts

I am trying to setup some switches and failing horribly. After literally hours of trying to figure this crap out I decided to post and get some expert advice. My main concern seems to be that when you open files for instance the Flash Player MSI... you need to click the RUN to get the executable rolling.

HOW! can I avoid that?

This is what I have and I think that Adobe and the Cleanup at the bottom definitely work and well... that would be all that work.

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "Unattended Update - By TD" /f

REG ADD %KEY%\001 /VE /D "Windows Rights Management Services SP2 Update" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\WRM.exe /qn" /f

REG ADD %KEY%\009 /VE /D "Microsoft Windows Malicious Software Removal Tool - Jan 2008" /f
REG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\Windows_Malicious_Removal_Tool.exe /quiet" /f

REG ADD %KEY%\010 /VE /D "Microsoft GDI+ Detection Tool" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\gdidettool.exe /qn" /f

REG ADD %KEY%\015 /VE /D "Microsoft .NET Framework 2.0" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\dotnetfx.exe /qn" /f

REG ADD %KEY%\020 /VE /D "Microsoft Snap Viewer" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\MicrosoftSnapViewer\setup.exe /QT/QN/R" /f

REG ADD %KEY%\025 /VE /D "DeskPDF 2.5 Standard Enterprise" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\deskPDF256Ent.msi /qb" /f

REG ADD %KEY%\030 /VE /D "Real VNC 4 Enterprise" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\vnc-4.0-x86_win32.exe /qb" /f

REG ADD %KEY%\035 /VE /D "Sun Java 1.6.0" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\jre-6u3.exe /qb" /f
REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\Install\SunJava\RemoveSunJavaUpdateCheck.reg" /f

REG ADD %KEY%\045 /VE /D "Adobe Reader 8.1.1" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\ar811lite_eng\ar.msi /qn" /f

REG ADD %KEY%\046 /VE /D "Macromedia Flash Player" /f
REG ADD %KEY%\046 /V 1 /D "%systemdrive%\Install\install_flash_player_active_x.msi /qb" /f

REG ADD %KEY%\047 /VE /D "Macromedia Shockwave Player" /f
REG ADD %KEY%\047 /V 1 /D "%systemdrive%\Install\sw_lic_full_installer.msi /qb" /f

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

EXIT

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