Kelsenellenelvian Posted June 20, 2007 Posted June 20, 2007 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!4 more commandlinesReboot issues fixed.Here is the 6.2 changelog:v6.2 Updates - Released August 10th, 2007-------------------------------------------------------------------------------* Fixed all of the issues with the extra 4 commandlines* Sadly the Double quotes on regentries bug has returned so pleaseremember to remove the quotes from the regafter and regbefore lines...v6.1 Updates - Released July 27th, 2007-------------------------------------------------------------------------------* WPI will now automatically trim the paths to %wpipath%\Install\Blah.exe* Added 4 more Commandlines.* Turned the volume down a bit on the embeded media player.* Fixed the reboot issues (zorphnog)* Fixed the api error upon finalizing after a reboot (Zorphnog)===============================================================================v6 Updates - Released June 20, 2007-------------------------------------------------------------------------------* Fixed the double quotes bug on Registry Before\After!* Moved hotkeys back to alt+* Added Punjabi Language and updated several of the other languages.* Added function of getfileversion.* Added identifiers for Vista os disk.* Compiled a whole new system for making the runonce & MCE theme entries for WPI through RunWPI.exe to be used in cmdlines.txt* Added the new official theme for WPI.* Added check for Vista, getOSver()=="Vista". (mritter)===============================================================================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 ListerCDSwitch3 Custom themes for CDSwitchautorun.inf <-- Updated and fixedwpi.ico New icon thanks to WolfX2TaskKillS.exe from sadicqTaskKillS Instructions_____________________________________________________________________Here is a quick start package that will set your windows disk up to use WPI with runonceex.This is for use with all versions of Windows 2000, XP and 2003!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. (The forum is messing up this link so copy www.wpiw.net/downloads/$oem$.rar )Contents of the %OEM% archive:cmdlines.txtRunWPI.exe (Sets the runonceex and MCE themeing entries used for WPI)NEW!!!An $OEM%\WPI folder that sets up your WPI for RunOnceEx with the official Zune Microsoft Theme!$OEM$-Zune Folder. (The forum is messing up this link so copy www.wpiw.net/downloads/$oem$-zune.rar )Contents of the %OEM%-Zune archive:cmdlines.txtRunWPI_Zune.exeUse is as the same as the one above..._______________________________________________________________________This is for use with all versions of Windows Vista!To make use of this archive all you need to do is unRAR it and place the Sources folder at the root of your CD.Sources Folder.Contents of the Sources archive:setupcomplete.cmd (This needs to be several folders deep so I preset the folders for you)________________________________________________________1978 .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 CCleaner (A.K.A Crap Cleaner) 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 Download the app and place it in the WPI\Install Folder. (CCleaner.exe in this example) #2 Run WPI.hta and click on the “Config” button\Icon area. #3 Choose the button at the very top above the config section that says “Add”#4 Enter in the name section “CCleaner” <--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. Also you can decide if you want this app to be a "Forced Install" or not. #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 click on the little folder icon and browse to the WPI\Install folder and select the CCleaner.exe installer, this will place the full path to the installer in the commandline.#9 Add the necessary switches for the program to run silently i.e. "%wpipath%\Install\CCleaner.exe" /s (This can be easily done for most standard apps by simply clicking on the USSF button on the far right of the commandline.)#10 Select the Save and then the Exit buttons and you have now configured your first app!Themes are now hosted on WPI.net!!!Theme page!Please remember and donate!
mr_smartepants Posted June 20, 2007 Posted June 20, 2007 (edited) OMFG!! Thank you Kel!*EditFirst bug report.Options->Installer->Catagories sort orderentries are listed twice. (ie: Applications, Utilities, Applications, Utilities)Second bug report.Config->Command 1click the folder icon and add any application from WPI\Install\ folder, path becomes:%wpipath%\WPI_v6\WPI\Install\blah.exeinstead of%wpipath%\Install\blah.execmd1[pn]=['"%wpipath%\\WPI_v6\\WPI\Install\\blah.exe"'];Folder structure:H:\ ->WPI_v6\ -->WPI\ --->Audio\ --->Common\ --->Graphics\ --->Install\etc.Redundancy eh? The %wpipath% should automatically default to the directory where WPI.hta is run from, not a literal path. Edited June 20, 2007 by mr_smartepants
Kelsenellenelvian Posted June 21, 2007 Author Posted June 21, 2007 Ummm wacko on the doubleing> WIll trace that one down.Have been having trouble getting the %wpipath% down to the source folder not the root. Never fear I am still working though....
Kelsenellenelvian Posted June 21, 2007 Author Posted June 21, 2007 // %wpipath% wpipath = unescape(document.location); wpipath = wpipath.substring(0,wpipath.lastIndexOf("/")); wpipath = wpipath.replace("file:///","").replace(/\//g,"\\");Here is the code I need to change to read from wpi.hta not the root.... Any genuises out there? I am just missing it...
mr_smartepants Posted June 21, 2007 Posted June 21, 2007 (edited) Thanks Kel, Great work! I don't have a clue about your code. Sorry.I also ran into a strange error using %reboot% with no time (ie. %reboot% vs %reboot% 30) during the very first app in the list.The error flashed up for a split second before the system rebooted "Application could not initialize..."The list looks like this:App1.exe /s%reboot%App2.exe /sI think WPIW is trying to start the next app install immediately following a %reboot% command.More to follow...Also, is there a setting for default volume of the music player? As much as I enjoy Aerosmith, I don't want to hear "Dude looks like a lady" at full volume for the few seconds before the controls come up so I can stab at the volume slider. Edited June 21, 2007 by mr_smartepants
Kelsenellenelvian Posted June 21, 2007 Author Posted June 21, 2007 Line 271 in installer.hta (Look in the common folder) document.write('<param name="Volume" value="100">'); <-- Play with the "100" value.P.S. Good idea for a new option.Will look into the reboot issue.Also let me see the install log on the reboot issue...
lawrenca Posted June 21, 2007 Posted June 21, 2007 First off, I want to thank Kel for his diligence in keeping this project on track and for another great release...Second bug report.Config->Command 1click the folder icon and add any application from WPI\Install\ folder, path becomes:%wpipath%\WPI_v6\WPI\Install\blah.exeinstead of%wpipath%\Install\blah.exeThe user will see this for any path, not just %wpipath%. This was actually a feature request from a while back, trimming those "Browsed" paths down to what they really represent instead of manually having to "adjust" each one...I think I was the one that requested it though it never got implemented. There were some issues when resolving application paths across a network or different partition but at least it would be about an 80% solution. Out of town for the moment but will pass on to Kel what I have and am currently implementing when I get back home...
Kelsenellenelvian Posted June 21, 2007 Author Posted June 21, 2007 HI TONY!!!!!! :)Long time no hear from you. Thanks for the compliments.
Kelsenellenelvian Posted June 21, 2007 Author Posted June 21, 2007 Now added the sources archive!! ANNOUNCING FULL VISTA SUPPORT HAS BEEN ACHIEVED!!!
mr_smartepants Posted June 21, 2007 Posted June 21, 2007 (edited) Will look into the reboot issue.Also let me see the install log on the reboot issue...Sorry, I only saw the error once (might have been caused by a faulty .exe call too.)If I see it again, I'll definitely post the log.Cool tip on the volume! As to the %wpipath%, if a person follows the 'recommended' install path (X:\WPI\Install\blah.exe) and clicks the folder icon to add blah.exe as an install source, then burns the iso, the install will fail BECAUSE of the default path.IMHO, that is not right. Edited June 22, 2007 by mr_smartepants
Kelsenellenelvian Posted June 21, 2007 Author Posted June 21, 2007 With the above folder layout all your config entries should read like:%wpipath%\Install\Blah.exeThat is the suggested cmdline usage... It is a pain to remember to shorten your path to but ALOT easier than having to add the whole path everytime!Where did I write "WPI\Install\blah.exe"?? I need to know so I can take the WPI\ out.
Zxian Posted June 22, 2007 Posted June 22, 2007 Keep up the good work Kel. I'll have to actually get around to using this someday...
mr_smartepants Posted June 22, 2007 Posted June 22, 2007 With the above folder layout all your config entries should read like:%wpipath%\Install\Blah.exeThat is the suggested cmdline usage... It is a pain to remember to shorten your path to but ALOT easier than having to add the whole path everytime!You're right there, it is easier. But I still maintain that the bulk of your users follow the default install path "%wpipath%\Install\blah.exe" and the program should default to that path, not the full path of the 'working directory'.Where did I write "WPI\Install\blah.exe"?? I need to know so I can take the WPI\ out.First post.#1 Download the app and place it in the WPI\Install Folder. (CCleaner.exe in this example) <snip>#8 In the Command 1 section click on the little folder icon and browse to the WPI\Install folder and select the CCleaner.exe installer, this will place the appropriate path in the commandline.#9 Now Modify the entry to read "%wpipath%\Install\CCleaner.exe" for proper use assuming you have the whole WPI folder at the root of your cd or drive.
Kelsenellenelvian Posted June 22, 2007 Author Posted June 22, 2007 #8 In the Command 1 section click on the little folder icon and browse to the WPI\Install folder and select the CCleaner.exe installer, this will place the full path to the installer in the commandline.#9 Now Modify the entry to read "%wpipath%\Install\CCleaner.exe" for proper use assuming you have the whole WPI folder at the root of your cd or drive.Clearer?
pretender69 Posted June 22, 2007 Posted June 22, 2007 thanks for the updates to a great app btwyour link for sources.rar on the files page links to $oem$
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