Jump to content

Recommended Posts

Posted

Hi everybody

I have some issues with my installation

Everything worked fine untill it was supposed to auto logon, that did not not work. Further more I had some problems with RunOnceEx.cmd. Some of the applications I was trying to install I had to deal with manually.

TweakUI - had to be installed manually

NAV - Started preform a system scan

Ad aware - Started preform a system scan and displayed the help file

When the whole thing had finished it did not preform the Cleaning Up and Rebooting in the end of the cmd, not untill next time I loged on.

RunOnceEx.cmd

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 /qb /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%\084 /VE /D "PowerDVD 5.6.0.3 Deluxe"
REG ADD %KEY%\084 /V 1 /D "%systemdrive%\Install\apps\video\Setup.exe -s -f1\"%systemdrive%\Install\apps\video\setup.iss\" -f2\"%systemdrive%\PowerDVD.log\"" /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

Useraccount.cmd

cmdow @ /HID
@echo off
net user "Phil" 123 /add
net localgroup Administrators "Phil" /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

autologon.reg

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
DefaultUserName="Phil"
DefaultPassword="123"
AutoAdminLogon="1"

Could anyone please tell me what I have done wrong?

Thanks in advance =D


Posted

reg add %Key%\002 /VE /D "AdAware SE Pro 1.04" /f
reg add %Key%\002 /V 1 /D "%CDROM%\Software\AdAware\AdAware.exe /s" /f
reg add %Key%\002 /V 2 /D "TASKKILL.exe /F /IM Ad-Aware.exe" /f
reg add %Key%\002 /V 3 /D "taskkill /F /IM hh.exe" /f
reg add %Key%\002 /V 5 /D "%CDROM%\Software\AdAware\AdwareShortcut.exe" /f

you don't need tweakui, you can use regtweaks instead.

does the same thing.

as for NAV i can't help you there sorry

AdwareShortcut.exe

Posted

Thanks for the help, I have just got one question, where do I find taskkil.exe and hh.exe and what is hh.exe. What does it do?

And what is and what does AdawareShortcut.exe do?

Thanks

Posted

taskkill.exe is included in Windows XP. hh.exe is the application used to view .chm files, such as AdAware's Help file. Killing hh.exe will end process on the help file.

I would also suggest a 5 second gap before ending process on adaware.exe and hh.exe (use sleep.exe for this, on the downloads page) as taskkill executed too early in my case.

TweakUI's setup file is not the same as other powertoy's installer packages, so /s /v/qn won't work. See: http://unattended.msfn.org/xp/applications/powertoys.htm

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