Jump to content

Order of install via RunOnceEx.cmd?


Recommended Posts

Hey guys

I'm very new to this unattended malarky. I slowly seem to be getting the hang of it, the guides and this forum posts have been a great help, thanks :thumbup

I've got about 10 programs set up that run silently, but I just thought I'd check that there's no recommended order for installing programs, what with reboots being suppressed etc.

I've not come accross anyone else asking yet, and I assume there's no bother, but I thought I'd just check ;)

Link to comment
Share on other sites


Here's an example of mine:

CLS
@echo off
TITLE Unattended Applications Installation   [EYEPATCH]  ARRRRRRRRGH!  [/EYEPATCH]


ECHO.
ECHO Removing useless shortcuts...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"



ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.
ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...
net user aspnet /delete

ECHO.
ECHO Starting installation of Applications



ECHO.
ECHO Installing JavaRuntime 1.5.0_03
ECHO Please wait...
Start /wait %systemdrive%\install\Applications\Java\jre503.exe


ECHO.
ECHO Installing K-Lite Video Codec Pack 2.46b
ECHO Please Wait...
start /wait %systemdrive%\Install\Applications\K-Lite\klcodec246b.exe /silent
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\K-Lite Codec Pack\Uninstall K-Lite Codec Pack.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\K-Lite Codec Pack\Tools\GSpot Codec Information.lnk"


ECHO.
ECHO Installing DirectX 9.0c
ECHO Please wait...
start /wait %systemdrive%\Install\Applications\DirectX\dxsetup.exe /Silent


ECHO.
ECHO Installing Flash (IE) and Shockwave Player (IE, Mozilla)
ECHO Please Wait...
start /wait %systemdrive%\Install\Applications\FlashShockwave\Flashshockwavefull.exe /s


ECHO.
ECHO Installing Microsoft .NET Framework 1.1 SP1
ECHO Please wait...
start /wait %systemdrive%\Install\Applications\NET\netfxsp1.exe


ECHO.
ECHO Installing Adobe Reader 7.0.1 (Custom Version - Auto Update Turned Off)
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdobeReader7\acroread7s.exe


ECHO.
ECHO Installing WinRar 3.20 Corporate
ECHO Please wait...
Start /wait %systemdrive%\install\Applications\WinRar\WinRAR3.20.exe /s


ECHO.
ECHO Installing Lavasoft AdAware 1.05 SE Professional
ECHO Please Wait...
start /wait %systemdrive%\Install\Applications\AdAware\aawsepro.exe /s
taskkill /IM hh.exe /F
taskkill /IM Ad-Aware.exe /F


ECHO.
ECHO Installing Nero Ultra 6.6.0.12
ECHO Please wait...
start /wait %systemdrive%\Install\Applications\Nero\Nero6.exe


ECHO.
ECHO Installing Office 2003 (Full Install without FrontPage)
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Office2003\setuppro.exe TRANSFORMS=Unattended.MST /qb-




EXIT

Link to comment
Share on other sites

as a general rule of thumb, you would install system things first, then regular programs.

i.e. I would install java2 runtime before I install firefox, so that the java plugin for firefox gets installed properly. Same with shockwave, and any other similar program.

Link to comment
Share on other sites

as a general rule of thumb, you would install system things first, then regular programs.

That's a fair point :yes:

From that it sounds like reg tweaks should be near or first thing in the RunOnceEx but in many examples I've seen, it's the last thing before a cleanup... :unsure:

By the way, what's the java2 runtime? I installed Firefox tonight (got as far as Google but been too busy to play) and there was no mention of requiring it. I have XP +SP2 so I guess java2 is already installed...? :unsure:

Link to comment
Share on other sites

i was just using it as an example. I deal with a lot of software that uses the java plugin, so that's why i used it. A lot of websites also use macromedia shockwave as well, so it is also why that was mentioned.

I think a lot of people put reg tweaks last (including myself) because they do not want the possibility of the value changing because of another program (for example). I suppose depending on the tweaks you were putting in place you could run them at the top.

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