Jump to content

WPI v6.5.1


Recommended Posts

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 that have been configured into WPI.

New Windows Style Theme:

th_04424_Windows_122_908lo.jpg

New Server Style Theme:

th_04425_Server_122_704lo.jpg

New Vista Style Theme:

th_59367_Untitled_1_122_572lo.jpg

Here is the 6.5.1 changelog:

6.5.1 Updates - Released June 4, 2008
Fixed the audioplayer in the installer mode
Fixed the missing "Other" category box
Added german manual
updated a couple of minor other problems.
Fixed the nasty copywrite symbol that appeared in the excludor section...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



6.5 Updates - Released June 1, 2008
-------------------------------------------------------------------------------
* Added command getOSlang(). Returns a three letter code: ENU, FRA, ITA, etc.

* Fixed bug with default options not saving properly. Now done before Options
wizard is opened, and again when opened.

* Took tips back out of Options and Config. Maybe temporarily.

* Fixed a bug in excludorIsChecked().

* Kel wrote a new manual.

* Added Finnish local text.

* Updated all themes to be v6.5 minimum and consistant code.

* Took View Source out of all themes.

* sadicq updated USSF to handle the 10 commands in Config.

* Bernard DUJARDIN (t4user) coded some major enhancements:
* Added a check before closing if made any changes in the Options or Config.
* Put tips back in Options and Config.
* Foreign language check.
* Fixed bug in Sort Order box and localized it.
* CreateTab() and LocalizeText() updates.
* Tool tip code update to work in Optons and Config properly.
A huge thank you for this code.

* Fixed a potential bug in timers.js that could get the timer started
twice and not stop when supposed to.

* Updated themes Server, Windows, Vista, and XPize Dark to new code call
SetupWPI().

* WPI now calculates how many items can be in a column. You can customize it
in wpi.htm in the theme folder. Un-comment and change the line:
// maxentries += 2; // Set your custom number of items per column

* Fixed a bug in the theme check in Options wizard.

* Added a volume control slider in Options -> Audio Player.

* Added more screen resolutions.

* Localized some texts in Options and Config wizards.

* Tweaked the Options tab to have the gadgets size themselves better.

* Added Window tab to Options. You can now specify how to open the WPI window:
with or without a border, gadgets, etc. NOTE: These settings are global and
will affect all themes.

* Fixed the Reg Before/After quotes bug. For sure this time!

* Fixed some miscellaneous "bugs" in the installer.

* In WPI_Log.txt it now shows the number of items being installed, and the
total number of commands in those items.

wpidl.png

Notes and Extras

Suggested disk folder layout:

th_72737_Untitled_1.jpg

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

%wpipath%\Install\Blah.exe]

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!

Afterwards you can use an app like nLite, vLite, CDImageGUI or the Makeiso program included in the tools archive to make your CD w\WPI bootable again. MakeIso.exe = Adds "make bootable iso" to the right click menu of folders. It is a silent installer so DO NOT click on it 50x a simple double click is all that is need to install it. It can be uninstalled from the add\remove programs menu! Just go to the "Source" folder (The one that contains I386 and WPI) and right click then select MakeISO...

th_04569_Guide_122_124lo.jpg

_____________________________________________________________________

I have seperated the tools out from the main archive. You can download the tools here:

Tools archive.

Contents of the tools archive:

WPI Config Lister

CDSwitch

MakeISO.exe

3 Custom themes for CDSwitch

autorun.inf <-- Updated and fixed

WPI.ico New icon thanks to WolfX2

TaskKillS.exe from sadicq

TaskKillS Instructions

Cleanup.exe (Deletes ALL icons from the desktop)

Reboot.exe (Dialog box that will reboot in 60 sec unless cancel is pressed)

_____________________________________________________________________

Here is a quick start package that will set your windows disk up to use WPI after the desktop loads.

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.

Post $OEM$ Folder (The forum is messing up this link so copy www.wpiw.net/downloads/Post_$oem$.rar )

Contents of the Post %OEM% archive:

cmdlines.txt

RunWPI.inf

_______________________________________________________________________

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.txt

RunWPI.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.txt

RunWPI_Zune.exe

Use 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.

________________________________________________________

Themes are now hosted on WPI.net!!!

Please remember and donate!

Edited by Kelsenellenelvian
Link to comment
Share on other sites


Dowloaded it and will get it posted.

Mostly it is code REDUCTION and cleaning. Added 2 new timer css classes; centered the <div>'s properly; new sizer() that determines the numbers of items per column automatically; custom theme code call; all in all, just more consistant with all themes for easier updating.

Link to comment
Share on other sites

Hello.

I deleted my older version and used the new version. I did however use the old config.js.

I promptly got this message:

"JavaScript Error Report

Message4: 'cond[...],0' is null or not an object

Url: file:///X:/HFSLIPXPENG/SOURCE/WPI/WPI.hta

File: check.js

Function: excludorIsChecked()

Line 465"

I read that one of the bugs that you got rid of was exactly this bug, so I don't understand how that happened.

Any idea what I could do to get it to start working again?

I did put a lot of work into my config.js.

I opened line 465 of check.js with win32pad and here's what it looks like:

var c = unescape(ReplacePath(cond[0]).replace(/\\/g, "\\\\"));

Interestingly enough, win32pad marks the last 4 backslashes in the line blue and underlines them (that might be a hint as to what's wrong). The backslashes in lines 247 and line 351 are marked in the same manner though.

The following things I noticed might also help you:

The "Applications" checkbox is grayed out. I cannot put a check in the checkbox.

I configured a special category called "security".

In this section there are antivirus scanners that cannot be installed with one another.

When I put a checkmark in the box of this section the error message appears.

The error message also appears when I attempt to select defaults, as well as all or none of the applications.

I configured a different category called "browsers".

I can put a checkmark in this category and all browsers are checkmarked.

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

A small update:

I erased the excludes. All antivirus programs can now be selected together.

Now the error message no longer appears BUT now both the "applications" and the "security" checkbox cannot be checkmarked and are grayed out.

I'll keep toying around with it in the hopes that I can figure it out myself.

Edited by Dislocated Time
Link to comment
Share on other sites

In check.js find

function excludorIsChecked(i)

and change this line

if (!eval©)

to

if (!eval(c))

Not a copyright symbol. Don't know how that got in there in "chinadoug"'s post, but it did.

There will be a newer 6.5.1 archive to download with this fix soon.

Link to comment
Share on other sites

I changed the copyright symbol back to two parentheses with a "c" in the middle, but that hasn't helped me with the Function: excludorIsChecked() problem. Unfortunately I can't get my config.js to upload otherwise I'd show it to you.

If you want, I can post the whole content, but since I have over 75 programs already in WPIW, it's a bit of reading to do.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...