Kelsenellenelvian Posted September 13, 2006 Share Posted September 13, 2006 (edited) Windows Post-Install Wizard (WPI for short) is a hypertext application designed for giving users choice. While Windows XP offers many ways of customizing the setup process out of the box, its major drawback is the lack of being able to select which applications an end user may install. In the past, end users and administrators needed to either download the files manually, or create overly complex scripts that could only be used once. WPI allows you to create one image, which can then be custom configured, and optionally, automated, so that end users can install any applications that have been configured into WPI.Highlights:WPI ChangeLog. Modifications by Mark Ritter (mritter)===============================================================================* Quotes are now put around the command paths so spaces in the path will betaken care of.* Created a new "built-in" manual. Only 50% done.* Options -> Miscellaneous tab eliminated. Log gadgets moved to Tools tab. Use Multi Defaults checkbox moved to Installer tab. Show Extra Buttons checkbox removed.* WPI now can detect if it was started from a CD/DVD or a harddrive. Ifstarted from hdd then the extra buttons (Options, Config,....) are shown. Ifstarted from CD/DVD then they are automatically hidden. No more forgetting toturn it off when burn a UACD.* Added two new commands for Config wizard: RegKeyExists() and RegKeyValue() foruse in Cond and GCond statements.RegKeyExists("HKEY_CURRENT_USER\Software\WPI\Theme") returns true or false.RegKeyValue("HKEY_CURRENT_USER\Software\WPI\Theme")=="Glossy"* Removed all code for Media Player in WPI main window. It is still availablein the install window.* Added an icon in Config wizard to access Universal Silent Switch Finder toeasily find the switches. Arguments are not allowed, just the plain path.Sadicq totally re-wrote USSF, gave it an interface, and incorporated it withWPI so can send the switches directly to the command line.PEiD is no longer needed. Four new images in the themes folders:USSF_Out.jpg, USSF_Over.jpg, USSF_Down.jpg, USSF_Disabled.jpgNOTE: WPI and your archives folder must on the same partition!!!* WPI used to add the \ (backslash) to system variables, it now does not tobe more like native Windows environment.* A list of the global variables is now saved in the log file.* There are some extra sound files in Audio -> Beeps folder. Copy one toyour theme folder and rename to TimerSound.wav* Added to Options -> Installer: 'Start beep at t-minus seconds'To customize when to start count-down beep. Set to 0 to not play sound.* Added a check box in Options -> Installer:'If grayed condition is true, disable the check box'* Fixed a bug dealing with grayed condition not setting the text colorcorrectly.* Added %sleep% to make WPI pause for x seconds. Put it on a command line:%sleep% 10For a 10 second delay. The command window can't be hidden at this time.* Added %reboot% to force a reboot at anytime. Put it on a command line.%reboot% Reboot immediately%reboot% 10 Reboot after 10 seconds%reboot% 15 -c "A message why" Reboot after 15 seconds and show a message* Michael Mims (Zorphnog) updated the installer to allow for a reboot duringthe installation process. This will allow for drivers to be installed or usersettings to be changed, reboot, install the rest of your software.* Sadicq fixed a bug in the Config wizard dealing with adding a new categoryit would duplicate what was already there.* InstallProgBar.png and TimerProgBar.png are now two seperate entries in thewpi.css and installer.css files. Can have two different images.* Updated the Options tabs to a better version that is AJAX based. Thischanged the theme files yet again.* Fixed a bug dealing with forced items not being re-checked when hit Exit andForce Install is checked. Caused by Zorphnoq's update below (not his fault).* The tool tip style is now theme independant. A new file is saved in the theme folder, wpi_style.js, for each theme's tips. Your current settings willbe saved the first time you go in to the Options wizard.* David Di Certo wrote code to get the operating system's language TLA for usein the installer as a variable %oslang%. It can be used like this in acommand line:WindowsXP-KB918899-x86-%oslang%.exe* Fixed a bug dealing with the audio player in the Classic theme.* Eliminated generate.js by moving the code to core.js and installer.js. Alsocleaned up some of the function calls that were repetitive.* The gcond[] statement in config.js is now only saved if changed from thedefault: FileExists('%programfiles%\').* Fixed another bug in the timer if set to 0 in command line args or inuser options.* Fixed a bug in the count down timer.===============================================================================Notes and ExtrasSuggested disk folder layout:With the above folder layout all your config entries should read like:%wpipath%\Install\Blah.exeI have seperated the tools out from the main archive. You can download the tools here:Tools archive.Contents of the tools archive:WPI Config ListerCDSwitchautorun.inf <-- Updated and fixedwpi.ico New icon thanks to WolfX2TaskKillS.exe from sadicqHere is a quick start package that will set your windows disk up to use WPI with runonceex.To make use of this archive all you need to do is unRAR it and place the %oem% folder beside the I386 and WPI folders.%OEM% Folder.Contents of the %OEM% archive:Media Center Style XP Theme (Will Optimize the look of the installer window)cmdlines.txtrunonceex.cmd1194 .png images for your pleasure to use in your tooltips or whatever!PNG Collection.Here is a small tutorial on how to add an app to WPI!Ok this is a sample (Very simple) configuration for Windows Defender Beta 2 This assumes you have all of the WPI files either in the WPI folder at the root of your Windows cd or all of the WPI folders (Common, Graphics, WPIScripts, Tools, Install and Themes) and the file WPI.hta at the root of your cd.Remember this is just the most basic and required entries for a program!#1 Place the desired app in the install folder. (In this case WindowsDefender.msi)#2 Run WPI.hta and choose “Config”#3 Choose at the very top above the config section “Add”#4 Enter in the name section “Windows Defender” ßNo quotes! Then click on any other section of the config area to activate the rest of the wizard.#5 You will notice the Unique ID section gets automatically configured for you.#6 All apps are selected to be installed by default right from the start so if you don’t want it selected by default you must uncheck this box.#7 Choose a category for your app to be displayed in. If you want the app to be displayed in a category you don’t see simply chose other and a box will appear that will allow the entry of you choice.#8 In the Command 1 section browse to the installation package you want to have installed. You will get (%CDROM%\WPI\Install\WindowsDefender.msi) to make this work from either a stand-alone CD or form a windows CD You should change this to “%wpipath%\Install\WindowsDefender.msi” Once again NO quotes!#9 Add the necessary switches for the program to run silently i.e. %wpipath%\Install\WindowsDefender.msi /qn (The new U.S.S.F. feature can assist you in finding the switches for most common apps)#10 Select the Save button and then the Exit button and you have now configured your first app! Edited October 5, 2006 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
Pliek Posted September 13, 2006 Share Posted September 13, 2006 (edited) Very nice..............drooling in silence. HHHHHHHmmmmmmmmmmmmmmm good work from all of you. start testing as soon I find some time. Edited September 13, 2006 by Pliek Link to comment Share on other sites More sharing options...
RJTPlomp Posted September 13, 2006 Share Posted September 13, 2006 Great, will test when I find the time also!Roland Link to comment Share on other sites More sharing options...
MGadAllah Posted September 13, 2006 Share Posted September 13, 2006 Great Work Kel Link to comment Share on other sites More sharing options...
BlackSol Posted September 13, 2006 Share Posted September 13, 2006 Great Work Keland mritter Link to comment Share on other sites More sharing options...
arabianhorse Posted September 13, 2006 Share Posted September 13, 2006 We Love you Bro you are the bestThanxxxxxxxxxxx Link to comment Share on other sites More sharing options...
arabianhorse Posted September 13, 2006 Share Posted September 13, 2006 Hi Is it possible for you to look at the fontinstaller.exe in the wipi because although it is in its folder I get an error message saying it does not exist Link to comment Share on other sites More sharing options...
1to1 Posted September 13, 2006 Share Posted September 13, 2006 Kel and mritter .good work and well done.I will try it out todaybest regards Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 13, 2006 Author Share Posted September 13, 2006 @ arabianhorse if you got that during the windows setup while it was running from runonceex we have experienced that issue also and are still trying to beat it. Link to comment Share on other sites More sharing options...
sadicq Posted September 13, 2006 Share Posted September 13, 2006 You should edit your first post, because the tools archive does not contain any more:cmdowUniversal Silent Switch FinderPEiD Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 13, 2006 Author Share Posted September 13, 2006 GOTCHA! Thanks sadicq Link to comment Share on other sites More sharing options...
sadicq Posted September 13, 2006 Share Posted September 13, 2006 And a small one: in the tools archive there is still a cmdow.txt ... eh not that important though. Link to comment Share on other sites More sharing options...
arabianhorse Posted September 13, 2006 Share Posted September 13, 2006 ok bro thanxxxx=====the Media Player dosent work and it is my last q Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 13, 2006 Author Share Posted September 13, 2006 (edited) Sound where? In the installer it works fine here. In the main interface sound has been deleted and no longer exists...when are you running the installer and which OS are you using? Also are your drivers installed?Hey sadicq do you have a chat address? Edited September 13, 2006 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
sadicq Posted September 13, 2006 Share Posted September 13, 2006 You got a PM. Link to comment Share on other sites More sharing options...
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