Professional Documents
Culture Documents
===============================================================================
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)
===============================================================================
* 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
* Tweaked the Config wizard to handle name changes and Clone entries better.
* 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.
* Updated the look of the manual interface. Added 'Expand All' and
'Collapse All' at the bottom.
===============================================================================
* Cured the alignment problem for Previous/Next buttons on the main window.
This also cured the alignment at the top.
* Fixed a bug dealing with 'Sort Order' value not being changed in the
Navigation pane.
* 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 to Options -> Interface 'Use USSF in silent mode' to either open the
USSF window or silently append the switches.
* Fixed the way the Config wizard file requester and USSF gadgets are toggled.
* 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.
===============================================================================
* 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.
* 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.
* WPI used to add the \ (backslash) to system variables, it now does not to
be more like native Windows environment.
* There are some extra sound files in Audio -> Beeps folder. Copy one to
your theme folder and rename to TimerSound.wav
* 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.
* 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.
* The gcond[] statement in config.js is now only saved if changed from the
default: FileExists('%programfiles%\').
===============================================================================
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.
* 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".
* When add a new category in config wizard it is now added to the drop-down
list immediately.
* 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)
===============================================================================
* 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.
* 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.
===============================================================================
* 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").
* 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 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* Added: Disable category check boxes. So can't select entire catetgory with
one click. User request.
* 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.
* CD check now checks for the existance of 3 files. The absolute path check
looks for 2 files now.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
===============================================================================