Jump to content

Recommended Posts

Posted

Ok just wondering if someone can help clear a few things up.

So WPI is a web app. (runs thru a html).

I have a SP2 XP cd with all the hotfixed integrated. Now I just need to add my apps.

So in the XPCD folder on C: i have

C:\XPCD\$OEM$\$1\Install

In here are all my apps in their sep folders of course.

Now I had a batch file looked something like this:

CLS
@echo off
TITLE Windows XP SP2 - Unattended Installation

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO tweaks being implemented. The computer will restart automatically
ECHO once the whole process has finished!

ECHO.
ECHO Removing Windows Wallpapers and Screensavers...
DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

ECHO.
ECHO Removing useless shortcuts...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
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 Installing WinRAR 3.42
ECHO Please wait...
start /wait %systemdrive%\install\WinRAR\wrar342.exe /s

ECHO.
ECHO Installing TweakUI 2.10 Powertoy
ECHO Please wait...
start /wait %systemdrive%\install\PowerToys\TweakUI.msi /qb
ECHO.
ECHO Installing CMD Here Powertoy
ECHO Please wait...
start /wait %systemdrive%\install\PowerToys\CmdHerePowertoySetup.exe /s /v/qn
ECHO.
ECHO Installing Deskman Powertoy
ECHO Please wait...
start /wait %systemdrive%\install\PowerToys\DeskmanPowertoySetup.exe /s /v/qn

ECHO.
ECHO Installing MSN Messenger 6
ECHO Please wait...
start /wait %systemdrive%\install\MSN\MsnMsgs.msi /qn

ECHO.
ECHO Installing Messenger Plus! 3.25
ECHO Please wait...
start /wait %systemdrive%\install\MsgPlus\MsgPlus-325.exe /SilentInstallNoSponsor
taskkill.exe /F /IM MsgPlus.exe
taskkill.exe /F /IM msnmsgr.exe

ECHO.
ECHO Installing SiSoftware Sandra Professional 2005
ECHO Please wait...
start /wait %systemdrive%\install\SISandra\ssp5.exe /VERYSILENT

ECHO.
ECHO Installing Diskeeper 9 Pro v9.0.515
ECHO Please wait...
start /wait %systemdrive%\install\Diskeeper\setup.exe /s /v/qn

ECHO.
ECHO Installing AVICodec
ECHO Please wait...
start /wait %systemdrive%\install\AVICodec\AVIcod11.exe /S

ECHO.
ECHO Installing Winamp
ECHO Please wait...
start /wait %systemdrive%\install\Winamp\Winamp5.0.8.msi INI="%systemdrive%\install\winamp\winamp.ini" /qn

ECHO.
ECHO Installing Nero 6605
ECHO Please wait...
start /wait %systemdrive%\install\Nero6605\nero6605.exe

ECHO.
ECHO Installing Zone Alarm
ECHO Please wait...
start /wait %systemdrive%\install\ZoneAlarm\zapSetup_55_062_004.exe /s /i /noreboot /lickey hkvht-62hnv-phw89-4vti5x-wg5ac0 %systemdrive%\install\ZoneAlarm\config.xml

ECHO.
ECHO Installing Lavasoft Ad-Aware SE Pro 1.05
ECHO Please wait...
start /wait %systemdrive%\install\AdAware\aawsep105.exe /s
taskkill /IM Ad-Aware.exe /F
taskkill /IM hh.exe /F
ECHO Copying latest Definition File (01/23/05)
Copy /y "%systemdrive%\install\AdAware\defs.ref" "%systemdrive%\Program Files\Lavasoft\Ad-Aware SE Professional"

ECHO.
ECHO Installing Plug-In Lavasofy Ad-Aware SE - FileSpecs v1.5
ECHO Please wait...
start /wait %systemdrive%\install\AdAware\plugins\FileSpecs15.exe /s

ECHO.
ECHO Installing Plug-In Lavasofy Ad-Aware SE - Tweak SE v1.02
ECHO Please wait...
start /wait %systemdrive%\install\AdAware\plugins\TweakSE102.exe /s

ECHO.
ECHO Installing Plug-In Lavasofy Ad-Aware SE - VX2 Cleaner v1.03
ECHO Please wait...
start /wait %systemdrive%\install\AdAware\plugins\Vx2Cleaner103.exe /s



ECHO.
ECHO Restarting the PC in 1 minute...
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

EXIT

Needs more adding to it, but now I want to use WPI instead as the interface looks nice and the ability to pick and chose installations means I can make one gigantic DVD with say 50-100 apps and can customize each time I install.

So

Step1. I launch WPI.hta and I end up at this screen with Begin Install, on the right side has a scrollbar with a bunch of apps. Im assuming these apps are a "example" setup.

I then click Defaults (assuming it will just reset app back to default). I get this error:

Javascript error report

Message: 'checked' is null or not an object

Url:file://C:\Documents and Settings\Christopher\My Documents\UACD\wpi\wpi\WPI.hta

File: check.js

Line: 195

Simple error something is not checked blah blah, or all is checked. whatev not critical.

I then notice the help button which tells me what the respective buttons do, so far im happy.

Ok so moving on I go to Options:

From what I understand this has nothing to do with the UACD but how WPI works.

I test it out and realize im right (nice feature btw).

Only one im not sure on is the Timer.

And disc path im assuming would be C:\XPCD\

So far so good, liking this seems like an easy APP.

Now to config.

I take a look and realize this MUST be where the apps are done.

I can pick diff apps and change their info, along with adding apps.

Ok so lets go over all the fields.

Name - simple enough the name in the GUI

Install order - does this matter?

Description - once again simple enough

uniqueID - This I need explaining please

Category - easy

forced - ??

Dependant of - ??

Excludes - ??

Condition - This is where I look at a sample value.

FileExists("%cdrom%\Install\DotNetFramework\DotNetFramework1.1.exe")

I assume I would change this to

FileExists("%systemdrive%\Install\DotNetFramework\DotNetFrameWork1.1.exe");

Basically checks if the file exists if it does we can continue

Registry before - Not too clear on if this is needed

Command 1..X - This is where I would put my batch command correct?

So i would put this %systemdrive%\install\MSN\MsnMsgs.msi /qn

Ok so all seems really simple. I just add in the apps I want and then press install of which it will generate a script for me?

Ok so besides needing to know where to add this script, what else is there to know?

Can WPI also add in registry edits?

This seems WAY too easy, and if so the dev did an excellent job.

I could probably whip this up with WPI in an hour, test on a virtual machine and be done with it lol.

Thanks!


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