Jump to content

Anyway To Delete Shortcuts


Recommended Posts

Hello, I have done an unattended Windows XP. All was perfect except a program avisynth told me that i hadnt the adminstr rights and the cleanup.cmd (the problem of the cleanup.cmd, i will let him until i investigate a new method, in order to know if it works).

About the problem of avisynth: i tought the problem could be that i have copied a directory "plugin" with the method

$Oem$\$Progs\Avis....., effectively, was the problem.

So when the program began to install, had found the directory "plugin" already there, and coulnt be installed.

How can i copy the plugin directory with the method $oem$\&pros\... and also get installed avisynth? the other method "COPY" work fine and the program install perfectly because i copy the directory plugin after i have installed the program.

this is my RunOnceEx.cmd

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "Instalando Aplicaciones, Este proceso va a tardar varios minutos" /f

IF EXIST %SYSTEMROOT%\system32\atiddc.dll REG ADD %KEY%\000 /VE /D "Control Panel de ATI" /f

IF EXIST %SYSTEMROOT%\system32\atiddc.dll REG ADD %KEY%\000 /V 1 /D "%SYSTEMDRIVE%\install\ATI-CPanel\Setup.exe /K" /f

REG ADD %KEY%\001 /VE /D ".Net Framework 1.1 SP1" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\Framework.1.1.SP1\netfx.msi /qb" /f

REG ADD %KEY%\002 /VE /D "Adobe Reader 7.0" /f

REG ADD %KEY%\002 /V 1 /D "msiexec.exe /i "%systemdrive%\install\Adobe.reader.7.0\Adobe7.0.msi" /qr" /f

REG ADD %KEY%\002 /V 2 /D "REGEDIT /S %systemdrive%\install\Adobe.Reader.7.0\Adobe7.reg" /f

REG ADD %KEY%\003 /VE /D "UltraISO 7.5.2 Build 986" /f

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\UltraIso.7.5.2\uiso7_me.exe /Silent" /f

REG ADD %KEY%\003 /V 2 /D "REGEDIT /S %systemdrive%\install\UltraIso.7.5.2\Ultraiso.reg" /f

REG ADD %KEY%\004 /VE /D "WinZip 9.0 SR1" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\WinZip.9.0.SR1\WinZip.exe /S" /f

REG ADD %KEY%\004 /V 2 /D "REGEDIT /S %systemdrive%\install\WinZip.9.0.SR1\WinZip.reg" /f

REG ADD %KEY%\004 /V 3 /D "\"%PROGRAMFILES%\WinZip\WinZip32.exe\" /noqp /notip /autoinstall" /f

REG ADD %KEY%\005 /VE /D "WinAmp 2.91" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\WinAmp.2.91\SetupWinamp_2.91.exe" /f

REG ADD %KEY%\006 /VE /D "DivX 5.2.1" /f

REG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Codecs\SetupDivX-5.2.1.exe" /f

REG ADD %KEY%\007 /VE /D "XviD 1.03" /f

REG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\Codecs\SetupXviD-1.03.exe" /f

REG ADD %KEY%\008 /VE /D "RadLight OGG 1.0.0.2" /f

REG ADD %KEY%\008 /V 1 /D "%systemdrive%\Install\Codecs\SetupRadLightOgg-1.0.0.2.exe" /f

REG ADD %KEY%\009 /VE /D "AC3 Filter 1.01RC5" /f

REG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\Codecs\ac3filter.1.01aRC5.exe /S" /f

REG ADD %KEY%\010 /VE /D "AviSynth 2.5.5" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Avisynth.2.55\SetupAvisynth-2.55.exe" /f

REG ADD %KEY%\011 /VE /D "Importando Datos de Registro" /f

REG ADD %KEY%\011/V 1 /D "REGEDIT /S %systemdrive%\Install\RegTweaks.reg" /f

REG ADD %KEY%\012 /VE /D "Limpiando y Reiniciando" /f

REG ADD %KEY%\012 /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...