Jump to content

Recommended Posts

Posted

Happy 5th Anniversary!!!

softpedia_clean_award_f.gifno-viruses2.gif

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.

WPI is a simple to use automation program for the choice and installation of multiple programs, tweaks and scripts. No longer will you need a dozen CD's or more when doing a fresh Installation. No longer will you need multiple files when you are servicing another PC. With Windows Post-Install Wizard all that you will need is 1 or 2 CD\DVD's to fully install your PC with all of your apps, scripts, registry files or tweaks. Instead of having to re-download those apps like adobe reader, flash or updates to programs you can have them all on one disk. With WPI you can have all of them all on one disk and then have a nice interface for selecting which apps to install and after configured properly WPI will install all of them without any needed input from you. WPI also and is commonly used added to your windows installation disks. This way you can automate the complete process of Windows and program installations.

With your typical setup of WPI you have your OS and all of the apps, tweaks and such on one disk. After windows installs, WPI kicks in and you are given a selection of everything you have configured WPI with, then you can select the ones you want or simply let the timer run out and your default apps will install.

Highlights of the newest version!

v7.2.0 Updates - Released November 28th, 2008

* Renamed Corp_WindowsXP theme to CorporateIT.

* If check "Insert condition values or examples" checkbox, Conditions
and Grayed Conditions will fill in values based on your computer or an
example string will be entered to show how to use a function.

* Updated pngbehavior.htc. It is now only loaded when needed. Some
themes now require IE7 or higher.

* Added a new < meta> tag for themes that require a minimum version of
Internet Explorer. It must be on line 4.
< meta content="IE7">
Example: mritter_euDock requires IE7+
Note: don't put a space before meta.

* Conditions tab in Information window now shows some details based on
your computer.

* Updated the Commands, Conditions/Grayed Conditions combo boxes to full
menus.

* Added Hardware tab to Information window (Alt+G).

* Added Change Log tab to About window.

* Added function getBaseBoardManufacturer()
Usage: getBaseBoardManufacturer()=="ASUSTeK Computer Inc."
Returns: Name of motherboard manufacturer

* Added function getBaseBoardModel()
Usage: getBaseBoardModel()=="K8VSEDX"
Returns: Model of motherboard

* Added function getVideoControllerID()
Usage: getVideoControllerID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

* Added function getSoundDeviceID()
Usage: getSoundDeviceID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

Added function getNetworkAdapterID()
Usage: getNetworkAdapterID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

Added function getWirelessNetworkAdapterID()
Usage: getWirelessNetworkAdapterID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

Added function getModemID()
Usage: getModemID()=="PCI\VEN_.........."
Returns: PnP Device ID. See Alt+G Hardware tab

* Added function getSystemEnclosureType()
Usage: getSystemEnclosureType()=="Laptop"
Returns: Laptop or Desktop
Note: This cannot be checked by WMI, so it is based on whether or not a
battery exists and a PCMCIAController exists. Not perfect by any means.

* Added function getBIOSManufacturer()
Usage: getBIOSManufacturer()=="Phoenix"
Returns: Name of BIOS manufacturer

* Added function getBIOSVersion()
Usage: getBIOSVersion()=="PTLTD - 6040000"
Returns: Short string BIOS version

* Added function getSMBIOSVersion()
Usage: getSMBIOSVersion()=="2.3"
Returns: Short string BIOS version

* Added function getBIOSCaption()
Usage: getBIOSCaption()=="BIOS Version 73.08"
Returns: Long string BIOS version

* Added function getSysManufacturer()
Usage: getSysManufacturer()=="Gateway"
Returns: Gateway, Dell,..., To Be Filled By O.E.M.

* Added function getSysModel()
Usage: getSysModel()=="MX3231"
Returns: a string with model or To Be Filled By O.E.M.

* Added function getSysPCType()
Usage: getSysPCType()=="Desktop"
Returns: Unspecified, Desktop, Mobile, Workstation, Enterprise Server,
Small Office and Home Office (SOHO) Server, Appliance PC, Performance
Server, Maximum.
NOTE: Mobile does NOT refer to laptops.

* Added function getSysType()
Usage: getSysType()=="x64-based PC"
Returns: x64-based PC, X86-based PC, MIPS-based PC, Alpha-based PC,
Power PC, SH-x PC, StrongARM PC, 64-bit Intel PC, 64-bit Alpha PC,
Unknown, X86-Nec98 PC
NOTE: The 'x' is not always lower-case.

* Default description now set to program's name so tooltips won't show
undefined.

* Added a filter to the Config Wizard to only display the items in the
selected category. More options to come later.

* Took out the default categories to prevent errors with the new filter.

* Added a prompt to confirm overwriting existing Options/Configs files.

* Updated the CD/DVD drive check again. Should be no more pop-ups
asking to insert a disc 4 times.

* Updated Options -> General -> Categories Sort Order to use grid.

* Added a check so can't try to save to a CD/DVD.

* {EXTRACT} is now handled internally for more control.

* Updated Options -> Audio Player to use grid.

* When select a DOS command in the command drop-down box it will replace
the current command. There can only be one DOS call per line, so it
assumes you want to change it.

* Updated the command string gadget to handle input better and reflect
it in the grid.

* Got the buttons to disable properly and not shrink/grow.

* Added TerminateProcess() to internally kill a process so no longer
need to rely on tskill or taskkill. This is done in Config wizard.
Usage: {TASKKILL} notepad.exe

* Extensively updated the Config Wizard:
* Your config file will be updated automatically at first run.
* Added a grid for navigation. It is sortable and uses keyboard
shortcuts.
* Tabbed the wizard to save vertical space.
* Now has unlimited commands per entry.
* Registry Before/After are now eliminated. They are now placed as
first and last commands.
* To do any other reg edits, pick RegEdit from combo box.
* Updated the built-in commands to be encased in { }
ie, {FILECOPY}, {REGEDIT}
This will allow for easier expansion in the future.
* More error checking capable in installer.
* {TASKKILL} now handles Vista and XP/2000 family properly.
* USSF updated to handle only 1 command line.
* Quotes will be added when possible when updating.
* Main command string gadget updated immensely.

* Updated all the possible alert() call with my new Alert() that uses
the built-in windows for a better look and customization, more buttons
possible, self-closing after a set time, etc.

* Your chosen options and config files are now remembered and loaded the
next time WPI is started. Since it is saved in a reg key, this only
works from the desktop. Otherwise you still have to use command line
args to specify other files.

* Fixed a bug with "Default install path" not being honored.

* Fixed some tiny bugs in Options Wizard.

* Occasionally USSF would erase the command line. It seems to always be
at the first run. Now WPI runs it when first open Config Wizard to get
it "initialized" properly. No guarantee it will fix the problem.

* Updated About WPI window.

* Made Install Order gadget only accept numbers.

* Removed tabs skin Vista Default Dark. Use DHX Black instead.

* Added 2 new buttons skins, DHX Black and DHX Blue.

* Added 2 new grids skins, DHX Blue (used to be light) and DHX Black.

* Added 12 menu skins for Corp_WindowsXP only.

* Added 4 toolbar skins for Corp_WindowsXP only.

* Added 3 new tab skins: Glassy Blue, DHX Blue, and DHX Black.

* Created a new layout for the Config Wizard with a new grid and tab
system. Not usable on 800x600 resolution.

* Moved several options around in the Options Wizard.

* Fixed a few bugs when saving a totally blank config.

* New option: Options -> General -> Verify before installing if started
from harddrive. If checked, will verify that you really want to do an
install process if started from harddrive. Will not ask, even if
checked, if started from cd/dvd. Prevent accidental installs when
editting config.

* When hit Abort in the installer, there is now an option, Open WPI,
that will abort the installer and re-open WPI.

* Improved the way the installer aborts when user halts the install
process. It used to finish all the commands in the current item. Now
it stops immediately.

* Some virus scanners were complaining that USSF is a virus. It is not.
It has been recompiled without UPX compression and can be decompiled for
inspection.

* Added a check so can't switch to/from Options/Config editors directly
without closing the editor first.

* Changed the way path variables are handled a little. %root% or
%root%\ and %cdrom% or %cdrom%\ are acceptable now.

* Fixed Execute Before/After to properly set paths (%wpipath%, %root%)
and quotes.

* The shell window is now not shown (flashed) for DOS commands and
RegEdit entries.

* Took out XML error message when doing Internet check at startup.

* Updated code for all possible resolutions for ResChange.

* By pure chance, midiboy needed to turn on script debugging in IE to
send me a bug report. By doing this, it cured the problem of Office
causing WPI to do an internal restart. Now WPI checks 2 reg keys and
turns debugging on when started, closes itself, re-launches itself to
let reg keys take affect, and back off if that was the original state
when exits. This may also cure other mysterious anomolies people have
encountered.

NOTE: The above only works on the desktop. When starting at RunOnceEx
you must change the reg keys before WPI is started. The scripts and
launchers are provided on the forum.

* Custom fonts placed in the theme folder will now be installed
automatically. Any number of fonts may be added, but they must occur
between the theme version line and <title> line:
<meta content="WPI Theme 7.0+">
<meta font="myfontname.ttf">
<title>Windows Post-Install Wizard</title>

* Fixed 2 bugs dealing with random theme selection. Windows theme can
now be deleted.

* Added Shuffle to audio player.

* Added to installer window: Count up timer; current item number of
total number of items (5/25); computer name and user name.

* Cleaned up the reboot code that had some code that was no longer
needed, changed the way the log file was written, and several other
small updates. This should prevent the installer from hanging on the
"Could not open rb_config.js" error message.

* Fixed a bug in the installer that would show the category line again
after a reboot.

* Now using JavaScript to install fonts internally. In the Tools
folder, Fonts/fontinst.exe and Fonts/fontinst.inf have been removed and
the Fonts folder moved to Graphics/Fonts. All the fonts in this folder
will be installed if Tools -> Install fonts is checked.

* getOSver() returns 08 for Server 2008.

* Updated getOSver(), getOSeditionID() and getSPver() checks by using
WMI.

* Updated the cdrom check by using WMI.

* Added function getFirewallProduct()
Usage: getFirewallProduct()==""
Returns: name of firewall software/hardware registered with Windows
Security Center.

* Added function getAntiVirusProduct()
Usage: getAntiVirusProduct()=="AVG Anti-Virus Free"
Returns: name of antivirus software registered with Windows Security
Center.

* Got the grid colors to alternate properly and highlight the item that
is being hovered over.

wpidl.png

Notes and Extras

Suggested disk folder layout:

layout.jpg

With the above folder layout all your config entries should read like:

["%wpipath%\Install\Blah.exe" /switch]

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

Posted

I may have found a bug in 7.2.0 :(

I no longer have the ability to "sort by categories". The window is there, the Top/Up/Down/Bottom buttons are there, but there's no categories to sort.

I thought it might be the theme (white text on white background), but it happens with all themes.

Checking the "sort within categories" checkbox has no effect.

I had imported my config.js from 7.1.1 and I let WPIW convert it over. Everything else works fine.

Posted
The error you are talking about is working. Post a screen shot of what you are talking about.

I hope this explains all.

There's no categories listed to sort, even though there are about 6 or 7 categories.

post-3472-1228109292_thumb.png

Here's a snippet of my config.js as well.

prog[pn]=['Video LAN Client Player'];
uid[pn]=['VIDEOLANCLIENTPLAYER'];
desc[pn]=['A full-featured, slim media player. Will play nearly all video & audio files.'];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['MultiMedia'];
cmds[pn]=['"%wpipath%\\Install\\vlc-0.9.4-win32.exe" /S','{FILEMOVE} "%AllUsersProfile%\\Start Menu\\Programs\\VideoLAN" "%AllUsersProfile%\\Start Menu\\Programs\\CD-DVD\\"'];
picf[pn]=['movie.png'];
picw[pn]=['128'];
pich[pn]=['128'];
textl[pn]=['Top'];
pn++;

prog[pn]=['7-Zip 4.57'];
uid[pn]=['7Zip457'];
desc[pn]=['7-Zip is a open source file archiver with high compression ratio.'];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Utilities'];
configs[pn]=['yes'];
cmds[pn]=['"%wpipath%\\Install\\7zip\\7z457.exe" /S','{FILEMOVE} "%AllUsersProfile%\\Start Menu\\Programs\\7-Zip" "%AllUsersProfile%\\Start Menu\\Programs\\Utilities\\"'];
picf[pn]=['7z.png'];
picw[pn]=['128'];
pich[pn]=['128'];
textl[pn]=['Top'];
pn++;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...