You are on page 1of 16

WPI ChangeLog. Modifications by the WPI pit crew!

===============================================================================
v6.3 Updates - Released November 30th, 2007
-------------------------------------------------------------------------------
* Added code that will count the number of commands (and rega/regb) for
all programs. This way the progress bar will be fairly more accurate as
it updates per command instead of per program. (Zorphnog)
* Changed Taskkill to Tskill for a wider audience.
Usage = Tskill [program] Don't add the .exe, only add the tasks name.
i.e. "Tskill explorer"
* Major advances in implementing the run entries for WPI You now can have the
option of it running AFTER the desktop loads (Thanks ricktendo64)!
===============================================================================
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 please
remember 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)
===============================================================================

v5.6 Updates - Released November 19, 2006


-------------------------------------------------------------------------------

* Lawrenca wrote a script to use 7-Zip to extract archives via a new command
call %extract%.
%extract% z:\archive.rar t:\

* Added combo boxes before all Command lines to add paths and DOS commands
easier. All paths/commands will appended at the end.

* The Config wizard will now auto-size itself to maximum width available to
use all available real-estate.

* Added combo boxes before Condition and Grayed Condition to make adding
condition checks easier. All new coditions will be appended at the end.

* Lawrenca wrote code for Config wizard for combo boxes for Dependent Of and
Excludes to make selecting values easier.

* Fixed a bug in Options wizard. Check On Load was never being set to proper
value.

* Added a default image button in Config wizard next to the picture file
gadget for entries without an image.
Default: Graphics\InstallPackage.png

* Fixed a bug in Add entry in config wizard.

* Added FILEMOVE and DELDIR to Config wizard.

* Tweaked the Config wizard to handle name changes and Clone entries better.

* Added a button next to Unique ID to generate a new id manually/automatically.

* Moved hotkeys from Alt+ to Ctrl+.

* Fixed a huge bug dealing with displaying the category name in the install
window. It was not honoring the sort order, just alphabetizing every time.
* Fixed a bug dealing with the loading of the tool tip style.

* Added class ftxt (force text color) to wpi.css. Default is red so know what
items are under a Forced condition.

* Reduced the time required to create the Navigation panel by 50%.

* Updated the look of the manual interface. Added 'Expand All' and
'Collapse All' at the bottom.

===============================================================================

v5.5 Updates - Released October 9, 2006


-------------------------------------------------------------------------------

* Cured the alignment problem for Previous/Next buttons on the main window.
This also cured the alignment at the top.

* If 'Install by category' is checked, the category name is now shown in the


install window above each categories' items.

* Fixed a bug dealing with 'Sort Order' value not being changed in the
Navigation pane.

* Added 'Clone' to Config wizard to duplicate the current entry.

* The manual is now opened to the section you are at: Main, Options (to the
active tab), or Config.

* Commented out all alert() messages dealing with the install log file. They
would pause the installation process until user intervention.

* Added variable %root% to get WPI's parent folder.

* Lawrenca wrote code to add keyboard shortcuts, I updated it to:


Alt+Enter: Begin install
Ctrl+A: Select All
Ctrl+D: Select Default
Ctrl+N: Select None
Alt+O: Toggle Options Wizard
Alt+C: Toggle Config Wizard
Alt+S: Toggle Show Source
Alt+M: Toggle Manual
Alt+W: Toggle About WPI
Alt+B: Toggle Show Extra Buttons
Alt+B: Show list of global variables
Alt+T: Toggle Show Tool Tips
ESC: Close current wizard or Exit WPI
F1: Toggle Manual
F2: Toggle Options Wizard
F3: Toggle Config Wizard
F11: Toggle Show Source
F12: Toggle About WPI

* Added to Options -> Interface 'Use USSF in silent mode' to either open the
USSF window or silently append the switches.

* Added to Options -> Installer 'Re-open WPI after installation is complete'.


This can be used if launching stand-alone programs, like FireFox, from a USB
key. Or to check the status of cond[] and gcond[] conditions after installing
some core programs.

* Fixed the way the Config wizard file requester and USSF gadgets are toggled.

* Added DriveType() to check what kind of drive a letter is.


DriveType("D:")
Returns one of these values:
UNKNOWN, REMOVABLE, FIXED, NETWORK, CDROM, RAMDISK

* Added DriveExists() for cond and gcond statements.


DriveExists("E:")
Returns true or false.

* Installer now resumes before the desktop is displayed, but still after the
user logon.

* Put back "Show extra buttons" options in Options -> Interface. Also added
"Do not show if started from CD/DVD" to allow showing when run from harddrive
but automatically hide them when started from a CD/DVD.

* Fixed a bug dealing with wpipath.

===============================================================================

v5.4 Updates - Released September 12, 2006


-------------------------------------------------------------------------------

* Quotes are now put around the command paths so spaces in the path will be
taken 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. If


started from hdd then the extra buttons (Options, Config,....) are shown. If
started from CD/DVD then they are automatically hidden. No more forgetting to
turn it off when burn a UACD.

* Added two new commands for Config wizard: RegKeyExists() and RegKeyValue() for
use 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 available
in the install window.

* Added an icon in Config wizard to access Universal Silent Switch Finder to


easily find the switches. Arguments are not allowed, just the plain path.
Sadicq totally re-wrote USSF, gave it an interface, and incorporated it with
WPI 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.jpg
NOTE: WPI and your archives folder must on the same partition!!!

* WPI used to add the \ (backslash) to system variables, it now does not to
be 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 to
your 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 color
correctly.

* Added %sleep% to make WPI pause for x seconds. Put it on a command line:
%sleep% 10
For 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 during
the installation process. This will allow for drivers to be installed or user
settings to be changed, reboot, install the rest of your software.

* Sadicq fixed a bug in the Config wizard dealing with adding a new category
it would duplicate what was already there.

* InstallProgBar.png and TimerProgBar.png are now two seperate entries in the


wpi.css and installer.css files. Can have two different images.

* Updated the Options tabs to a better version that is AJAX based. This
changed the theme files yet again.

* Fixed a bug dealing with forced items not being re-checked when hit Exit and
Force 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 will
be 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 use
in the installer as a variable %oslang%. It can be used like this in a
command 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. Also


cleaned up some of the function calls that were repetitive.

* The gcond[] statement in config.js is now only saved if changed from the
default: FileExists('%programfiles%\').

* Fixed another bug in the timer if set to 0 in command line args or in


user options.

* Fixed a bug in the count down timer.

===============================================================================
v5.3 Updates - Released August 8, 2006
-------------------------------------------------------------------------------

* Sadicq updated the Source Source option to add line numbers and the ability
to copy/paste the code with a right-click.

* Built theme 'Glossy_Horiz' to get extra space in Config wizard for 1024x768
screen resolutions.

* Added 'Show Extra Buttons' to Options -> Miscellaneous tab to show/hide the
Options, Config, View Source, and About WPI buttons in one step.

* Fixed small bug when uncheck category checkbox, it would uncheck all items,
including forced items.

* Forced install items are now always checked and disabled so can not be
unchecked. Selected items are now changed to a different color to stand out
better. Change color in theme folder's wpi.css under .chktxt.
Submitted by zorphnoq.

* Classic and Glossy images updated.

* Added the sort order value next to the Name of the program in the
Navigation pane in Config Wizard. And put a little extra space between
lines for easier reading.

* Fixed a bug in Config wizard with Navigation pane jumping around in long
lists.

* Fixed bug when going from a long config list to a shorter one not clearing
out the previous one first.

* Fixed bug when moving from Options or Config to Show Source, Begin Install
gadget was either hidden or not hidden correctly.

* The Manual button has been removed. Added About button in it's place.

* Options wizard now is dynamically tabbed and has gone through a major
cosmetic update to bring it up to "modern standards".

* Removed Debug Mode.

* Increased the size of the wizards for 1024x768 screens.


* Added theme-based folder gadgets for the file requesters. In the themes
folders: Folder_Out.jpg, Folder_Over.jpg, Folder_Down.jpg, Folder_Disabled.jpg

* When add a new category in config wizard it is now added to the drop-down
list immediately.

* New option to randomly select a theme.

* Fixed the language codes to the proper ones. Will affect the loading of
some languages, but will default to English.

* WPI will now start with the user's native language, if available, but can
still be manually switched. (sadiqc)

===============================================================================

v5.2 Updates - Released July 31, 2006


-------------------------------------------------------------------------------

* Changed and simplied the themes file, wpi.htm. The change has made 5.1
themes obsolete. But the changes made were for user submitted ideas and
removal of legacy code no longer used.

* Fixed a bug in the themes dealing with the BgPicture.

* If not playing audio in WPI, then the timer will click as it counts down the
final 10 seconds.

* Djé improved the installer code again to cure the looping problem, added
Pause and Abort buttons, and general code cleaning. Works much better now.

* Updated themes to hide the timer when user clicks to stop it. Also updated
the progress bar display.

* Fixed a bug dealing with CheckOnLoad.

* Fixed a potential error when saving the .M3U files.

===============================================================================

v5.1 Updates - Released July 4, 2006


-------------------------------------------------------------------------------
* Can now restart or shut down the computer after installation is complete.
Can also allow the Desktop to load or not. Useful for making a Ghost
image.

* Now every text is localized. The language files have many new lines in
them.

* Updated, "tricked", all the file requesters to clear the default file
before opening to prevent sending a file name if hit Cancel.

* Took out all support for Disc Path. It was dead and a non-usable function
that was never accessable.

* Fixed bug in timer progress bar count down. Was going way too fast.

* Updated the options and config wizards to allow for creating new, loading
other, and saving current settings under different names.
There are new gadgets: New Options, Load, Save As...
The current files are displayed in the respective wizard. When exit each
wizard, that file is set as the default and will be loaded the next time WPI
is run. If the file does not exist it will default back to the original:
useroptions.js or config.js.
If the path contains '\WPI\WPIScripts\' it will be assumed the file is in the
WPI main folder and will change the path to relative './WPIScripts/'.
The files should be kept in the WPIScripts folder.
With the new command line args, you will have to specify them in your cmd
script since they are saved as registry entries.

* Updated the wpi.htm theme file yet again. Removed the config wizard <table>
gadget template and updated it to match the options wizard template. Sizes and
locations are now consistant. This does require a simple update to 5.0 themes.

* Added command line support to specify different config and user options
files:
WPI.hta options=useroptions_mritter.js config=config_mritter.js check=Work timer
=30
If a path is not specified for the file, it will assume they are in
WPIScripts.
It will still check for:
WPI.hta Work 30
for backwards compatibility. But update your tags, please. They will probably
change in the future. Thanks to Djé again for the code and help.
NOTE: Paths can be full (starting with a drive letter) or relative to WPI.hta
(starting with '.\' or '..\') and must end in '.js'. Spaces are supported only
is a path is provided and properly quoted: (config="c:\space in\file path.js").

* Took out function path(). It was redundant of replpath(), which is now


ReplacePath(), and the redundant code was actually never used. It was doing a
check that would never be true.
Djé then updated it more to handle all environment variables easier.

* Djé updated code to handle multiple lines in program names. Just put a
<br> in the text to break it.

* Split the huge 300K lang.js file into seperate language files to keep RAM
usage down and for easier editing. English is loaded as default, followed by
specified language. If text is missing, English is used.

* Added a fix for PNG transparency problem.

* Added Options -> Installer: Sort Within Categories. If checked will sort
the items in each of the categories. If not, then the order they are created
is maintained. Useful if you want items displayed or installed in a certain
order not condusive to ordr[].

* Fixed a bug with picw, pich, textl not displaying the proper values in the
Config wizard when switching entries. The default was being set in the wrong
function/location.

* Updated code to reflect changes in config lists dynamically. No more having


to save the list first, reload, then go back to Options -> Installer tab.

* Added a drop down box in Config wizard to aid in selecting Configurations.

* Added a drop bow box in Options -> Installer wizard to aid in selecting a
category sort order.

* Fixed a bug in Audio Player showing a blank line if song list is empty.

* Install log now lists failures as *** Fail *** to help stand out.

* Updated Selections drop-down box to group items better.

* Put some standard defaults in the globals.js for times when there is not a
config.js and useroptions.js file and the first config entry is made; it would
no show up.

* Added function getSPver() to get the Service Pack value. Returns 1, 2, 3,


etc., or 'Not found'.
===============================================================================

v5.0 RC3 Updates - Final


-------------------------------------------------------------------------------

* Thanks to "almulder", the wizards now have background colors and images for
easier reading over the main background image. I made it fully themed, which,
changed the wpi.htm theme file some and added some new images to the themes
folder:
OptionsBg.jpg, OptionsTabDown.jpg, OptionsTabUp.jpg
Look in the wpi.css for style sheet editting.

* Nearly every item is now fully style sheet compliant. Added for:
<HR> for 3 types
all the wizards text and buttons
Look in the wpi.css for the new options at the bottom and near the top.

* Took out message after saving a config file. Mouse goes busy and all
buttons are disabled. Mostly for looks.

* If a grayed condition is true, the checkbox is now disabled so there is no


way it can be selected.

* Completely re-wrote the installer code with a lot of help from user Djé.
The handling of arguments was not working in all situations. RegEdit needed
a little tweaking, also.

* Added these new translations: German, Romanian, French, Polish, and Russian.
Thanks to all the translators.

v5.0 RC2 Updates


-------------------------------------------------------------------------------

* Fixed a bug with the install order numbering system.

* Fixed a bug with the timer.

v5.0 Updates - Released June 1, 2006


-------------------------------------------------------------------------------

* Created built-in installer with progress bar and embedded MediaPlayer.


There are no known problems with MSI installers.

* Created new Config Wizard with only one set of gadgets. This greatly
reduces the time required to render the config because it used to duplicate
the 240 lines of code for each program. Hence, if you have 100 programs, it
would take 24,000 lines of code and a lot of time to display.

* Changed the base theme .htm and .css files to reflect the above changes.
It now checks for the minimum version required. This will require all
previous themes to be updated.

* All .htm files have been cleaned up and MANY coding errors fixed.

* All source files have been cleaned up and MANY MANY errors corrected.

* Most of the code has been touched and updated to reflect new changes.

* Re-arranged some of the control buttons.

* Re-arranged most of the gadgets in Options Wizard to group similar items


better.

* Added: Disable category check boxes. So can't select entire catetgory with
one click. User request.

* Added new version of Tip Message. Removed old flevPersistentLayer() code.


Smaller and cleaner code. This also changed the Style[] flags a bit.

* In Tools folder is a demo of Tip Message to show the possibilities by


simply changing the Style[] tags.

* Added option to disable showing of tool tips.

* Moved Text Indent from Config Wizard to Options Wizard so it gets set
globally. Having the option for every program is redundant and wastes
code/memory.

* Config Wizard is now "smarter". Example: if picture not specified then


child gadgets are disabled and values not saved in config.js file.

* Using the built-in WPIPath() instead of the ".\\common\\xxxxxx.yyy"


method.

* CD check now checks for the existance of 3 files. The absolute path check
looks for 2 files now.

* Added MAKEDIR command to go along with FILECOPY, DIRCOPY, and RENAME.


* Added an extra bug tracker. Still not perfect but better than what was
available.

* Moved all the global variables from their respective .js file into
main.js to group them all together. Easier check for duplicate names and
for future enhancements.

* Moved all .js files into WPIScripts.

* Fixed bug in themes/wpi.htm in selecting the proper 'load_checks'. It


worked for defaults, but not a specified name.

* Updated bug with cat and config drop-down box selection.

* Removed Reload button from Options Wizard due to a snag in the way the
config lists drop down box needs to be updated.

* Options Wizard: config list and check on load gadgets now work together.

* Changed timer='yes'; and ReallyForce='yes'; to true/false statements. WPI


still checks for both for backwards compatibilty. More consistant with rest
of options.

* Took out smallbart.gif and smallbarb.gif in the themes.

* Removed appsPerInstallWindow. No longer needed since not using RunOnceExe.

* Removed all the 'var' tags from the useroptions.js file. Redundant.

* Removed sorting option. It now always sorts the items in their category.
Now it checks if installByCategory=true, then it installs in the order the
items are listed in the windows (sortorder[]). Else, it will install by user's
specified order.

* Category checkbox is now checked at start if all sub-items are checked by


default.

* Updated ExtractArgs() and installer to allow spaces in path name.

* Spread the Options out across 4 tabs: Interface, Installer, Tools, and
Miscellaneous, to un-crowd the window. This is especially usefull on screens
less than 1280x1024.

* The new Tools tab includes: Execute Before, Execute After, and Restart Compute
r.

* All the * Yes * No radio boxes have been replaced with single checkboxes.

* Added Exit buttons to all the config wizards. Still can click on the
button again to toggle back to main display.

* Fixed a bug with ReallyForce. When hit Exit, it would install everything
that was checked, not just what was set as forced.

* WPI now checks for a minimum version of useroptions.js. This is due to the
changing of several option's names. The old file will have to be deleted and
a new one saved.

* WPI now checks for a minimum version of audio.js. Updated how the file is
saved. The old file will have to be deleted and a new one saved.

* WPI.hta now internally sets and deletes the Registry keys it needs to run
properly.

* WPI now internally changes the screen resolution, depth, and refresh rates.
Added new gadgets to Options->Tools.

* WPI now internally installs fonts needed for themes and system use. Added
gadget to Options->Tools.

* With the above updates, WPI.cmd is no longer necessary. Run WPI.hta direct.

* Moved, and updated, the Audio Wizard from a stand-alone screen into the
Options tabbed screen. This removes the Audio Player button from the main
window. This also made saving the audio list much smaller so it fits inside
useroptions.js. audio.js, audiowizard.js, and audiowuizardtemplate.htm have
been deleted.

* Added file requesters to all options that could use it. Had to "trick" the
system into not showing the textbox associated with the button. The only
draw-back is that the file requester is read only, so can't set a default path
and if the user cancels a file selection, it uses the last known selection.
So it will throw in a previous selection if hit Cancel.

* Updated the config wizard a bit to line up the horizontal rule.


Unfortunately, this required modifying wpi.htm in the themes folder, so....

* Config wizard now handles pictures better: sets defaults sizes and text
locations.
* The config editor now automatically replaces drive letters with %CDROM% to
make it a bit easier for you.
ex: C:\Install\Adobe.zip -> %CDROM%\Install\Adobe.zip

* The install window now has a style sheet associated with it in the Themes
folder. Basic items like fonts and colors can be changed. WPI still controls
the font size of the programs listing text.

* By making the install window a normal window, the audio had to be removed
and the old external audio player is used.

* Added Extra Width and Extra Height gadgets to the Options -> Installer tab
to increase the size of the install window if needed for longer text or
larger fonts. The window does not resize automatically. Needed for
localization.

* Seperated all the Show Optional Buttons to their own option to show only
what you want to see.

* Added to Options -> Miscellaneous, Log Installation process. Useful for


error checking of path names and such.

* Re-arranged the Config wizard gadgets into a more logical order.

* Added DELETE to the list of built-in commands.

* If no install order specified then entries now start at 900,000 instead of


5,000 to allow for for category numbering.

* When go into the Options or Config wizards, the Begin Install button is
hidden so you are forced to save your work or toggle out before you can begin
installing.

* Fully themed the installer window via the style sheet installer.css.
Images are now in the Themes folder:
InstallBg.jpg, InstallProgBar.png,
InstallSuccess.gif, InstallFail.gif, InstallPartial.gif

* Added check boxes for Execute Before/After to disable them for testing
purposes.

* Split part of main.js code into core.js to have the basic routines
available for installer.hta and wpi.hta in smaller chunks. Made each of
those files smaller; removed redundant code.

* Themed the count down timer. Uses InstallProgBar.png for the image.
* Every text is now localized, with the exception of a few error messages.

* If the useroptions.js file does not exists, a set of default settings will
be saved.

* Updated config wizard to not bawk if there is not a config.js file. It will
simply display a blank entry.

===============================================================================

You might also like