Ctwizzy Posted March 22, 2005 Posted March 22, 2005 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 haveC:\XPCD\$OEM$\$1\InstallIn here are all my apps in their sep folders of course.Now I had a batch file looked something like this: CLS@echo offTITLE Windows XP SP2 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO 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.42ECHO Please wait...start /wait %systemdrive%\install\WinRAR\wrar342.exe /sECHO.ECHO Installing TweakUI 2.10 PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\TweakUI.msi /qbECHO.ECHO Installing CMD Here PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\CmdHerePowertoySetup.exe /s /v/qnECHO.ECHO Installing Deskman PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\DeskmanPowertoySetup.exe /s /v/qnECHO.ECHO Installing MSN Messenger 6ECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /qnECHO.ECHO Installing Messenger Plus! 3.25ECHO Please wait...start /wait %systemdrive%\install\MsgPlus\MsgPlus-325.exe /SilentInstallNoSponsortaskkill.exe /F /IM MsgPlus.exetaskkill.exe /F /IM msnmsgr.exeECHO.ECHO Installing SiSoftware Sandra Professional 2005ECHO Please wait...start /wait %systemdrive%\install\SISandra\ssp5.exe /VERYSILENTECHO.ECHO Installing Diskeeper 9 Pro v9.0.515ECHO Please wait...start /wait %systemdrive%\install\Diskeeper\setup.exe /s /v/qnECHO.ECHO Installing AVICodecECHO Please wait...start /wait %systemdrive%\install\AVICodec\AVIcod11.exe /SECHO.ECHO Installing WinampECHO Please wait...start /wait %systemdrive%\install\Winamp\Winamp5.0.8.msi INI="%systemdrive%\install\winamp\winamp.ini" /qnECHO.ECHO Installing Nero 6605ECHO Please wait...start /wait %systemdrive%\install\Nero6605\nero6605.exeECHO.ECHO Installing Zone AlarmECHO 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.xmlECHO.ECHO Installing Lavasoft Ad-Aware SE Pro 1.05ECHO Please wait...start /wait %systemdrive%\install\AdAware\aawsep105.exe /staskkill /IM Ad-Aware.exe /Ftaskkill /IM hh.exe /FECHO 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.5ECHO Please wait...start /wait %systemdrive%\install\AdAware\plugins\FileSpecs15.exe /sECHO.ECHO Installing Plug-In Lavasofy Ad-Aware SE - Tweak SE v1.02ECHO Please wait...start /wait %systemdrive%\install\AdAware\plugins\TweakSE102.exe /sECHO.ECHO Installing Plug-In Lavasofy Ad-Aware SE - VX2 Cleaner v1.03ECHO Please wait...start /wait %systemdrive%\install\AdAware\plugins\Vx2Cleaner103.exe /sECHO.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!"EXITNeeds 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 reportMessage: 'checked' is null or not an objectUrl:file://C:\Documents and Settings\Christopher\My Documents\UACD\wpi\wpi\WPI.htaFile: check.jsLine: 195Simple 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 GUIInstall order - does this matter?Description - once again simple enoughuniqueID - This I need explaining pleaseCategory - easyforced - ??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 toFileExists("%systemdrive%\Install\DotNetFramework\DotNetFrameWork1.1.exe");Basically checks if the file exists if it does we can continueRegistry before - Not too clear on if this is neededCommand 1..X - This is where I would put my batch command correct?So i would put this %systemdrive%\install\MSN\MsnMsgs.msi /qnOk 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now