Jump to content

Recommended Posts

Posted

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!

A "Actual" .exe luancher for WPI FINALLY! Very important update as the .exe has MANY, MANY built in features!

HUGE, monstrous update!

Totally new layout option! (See the style tab in the options area.)

Loads of new features! Please read the changelog!

All themes are now included in the main dl...

Known Bugs\Issues!

The rewind button DOES NOT work on the media player... (Probably never has)

Nero 7 messes with the IE scripting engine and WPI will not work if Nero 7 has been installed or is currently installed. HOWEVER, This link to Nero Cleantool --> HERE has been reported to fix this issue. So if you wish to use WPI and have had Nero7 installed you will want to "clean" your system first.



v8.0.3 Updates - Released May 30th, 2010
========================================================================
* Fixed a path bug in the installer.

v8.0.2 Updates - Released May 27th, 2010
========================================================================
* Changed language file codes: dk-> da, and se -> sv.

* Fixed bug in USSF dealing with msi archives.

* Updated the media player code for the installer.

* Updated new file error handling code some more.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Updated the Installer to handle custom images and backgrounds.

Added a "None" option to the combobox for installer background image.
This will make the top titlebar transparent in case you want to use a
full size background image.

You can now put custom images and backgrounds in your theme folder to
override the selected ones in Options->Style tab:

* If Wallpaper_Installer.jpg or Wallpaper_Installer.png exists, it will be
used as the window background image.
Window size is 430x460 pixels.

* If InstallBg.png exists, this will be used as the title bar background
image. Use in conjunction with "None" in the combobox.
No more than 428x60 pixels.

* If InstallLogo.png exists, it will be used as the title image.
No more than 430x60 pixels.

* If ProgressBar.png exists, it will be used for the progress bar image.
This will also be used in the main window for the count down timer.
Must be 400x20 pixels.

* If Wallpaper_InstallItems.jpg or Wallpaper_InstallItems.png exists,
it will be used for the background image for the install items textbox.
Box size is 400x256 pixels.

7Fresh theme uses most of the above options.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Fixed bug with install order value not being placed in the grid when
changed.

v8.0.1 Updates - Released May 17th, 2010
========================================================================
* Locked the size of the Installer window.

* Fixed bug in "Copy audio folder to harddrive" setting the default
path every time.

* Fixed an issue with tf.Close() and a bad path name in the theme
loader.

* Fixed bug in Options wizard that would still change the theme colors
if hit Exit instead of Save.

* Fixed a bug in the tooltips dealing with carriage returns.
Note: For a new line press Shift+Enter. For a new paragraph, just hit
Enter.


v8.0.0 Updates - Released May 10th, 2010
========================================================================
* UTF-16 is now supported for foreign language custom characters. To
update your config.js file, load it in a text editor, like Notepad++,
and save it in UCS-2 Little Endian format. It will then be edittable
within WPI.

* Added command line argument "continue" to automatically continue an
aborted installation. You will not be presented with the alert to
continue or cancel.
WPI.exe continue=true

* Added command line argument "language" to switch saved language. Use
two letter language code.
WPI.exe language=de

* The tool tips text location for Left and Right were reversed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Added a new layout design that shows the program's logo (png image) and
a short description under the main text. The main use of the second
line would be for version, system requirements, exclusions, etc. It
does use much more real estate, but looks much nicer than the old boring
list.

To toggle the traditional list style and the new layout, go to Options
Wizard -> Style tab -> Use alternate layout with program's logos.

Be sure to adjust the style sheet: .txt_logo, .shortDescTxt_logo,
.grayTxt_logo, .forceTxt_logo, and .checkedTxt_logo.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Updated the tool tips to not show "undefined" when nothing is
specified in the Description field.

* Fixed a bug in CreateShortcut() if the sub-folder doesn't exist; it
will be created now.

* If a category carries over to the next column or page, the spacing for
next category has been fixed.

* Fixed a small bug in determining the width of the layerboxes div to
set the width of the columns properly. This in turn fixed fixed the
text being cut off too soon.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Added {JSCRIPT}=TimedWaitForProgram(ImageName,Minutes) to monitor
installers, or any program, to close before moving on to next install
item. This was requested for installers or scripts that do not wait
properly when they launch installers from inside themselves.

Usage: {JSCRIPT}=TimedWaitForProgram("Setup.exe",10)

The image name is case sensitive. Minutes is the amount of time WPI
will wait before moving on in case the program hangs/crashes.

WPI will check every 3 seconds or until the specified minutes is
reached.

To see the actual image name, open a command prompt window, start the
program/installer, at the command prompt type "tasklist". This will
give a list of all the running programs.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Updated the progress bar in the installer to finally keep the value
centered all the time.

* The euDock theme is now localized. No more making custom images for
each language.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Options -> Style tab has been reduced to remove a lot of theme
bloat. You can no longer change the skin of individual gadgets. You
can still change the installer background image and the progress bar
image.

There is now a new "Selected skin" drop-down box that has 8 skins to
keep all the gadgets the same colors. Much better consistancy. More
skins will be added later.

This reduced the archive size and number of files down significantly.

If you want to make your own skin, use the Skin Builder here:
http://www.dhtmlx.com/docs/products/skinBuilder/index.shtml

Please upload it to the forum to share with others and maybe have it
included with future WPI releases.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Updated the Configurations tab in the Config Wizard to use 2 grids.

* Took out option to have maximize button on window border. Until I can
listen for it and redraw the data properly, no point in having it.

* Updated the internet check. Now done within the launcher.

* Put the Change Log tab back in the About window.

* If ReadMe.txt file exists in main folder, a Read Me button will be
displayed above the Install button. Use this to give the user important
information about the install package. Like, certain items require user
input (not totally silent), drivers need to reboot, etc.

* Francesco ported USSF from AutoIT to JavaScript; I finished it up. No
more false positives from virus scanners thinking USSF is a virus. And
I have full control of it now.

* Francesco updated the launcher to disable the X close button on the
window so reg keys are sure to get set back properly.

* Added function {JSCRIPT}=ErrorReporting().
Usage: {JSCRIPT}=ErrorReporting(Enable,Notify,WindowsOS,Programs)
This works just like the Windows XP's Error Reporting, but also for
Vista and newer.

* Fixed bug in Config Wizard when added a new entry it would always ask
if want to update UID when it doesn't need to be.

* Added function {JSCRIPT}=PowerOptions().
Usage: {JSCRIPT}=PowerOptions(too many to list)
This works just like the Windows' Power Options. Settings are visible
for both desktops and laptops to make things easier.
Note: A reboot is required for all changes to take affect.

* Added function {JSCRIPT}=ScreenSaver().
Usage: {JSCRIPT}=ScreenSaver("ssbezier",Minutes,t/f)
"Screen saver is secure" will either show logon screen if Fast User
Switching is enabled, or ask for a password if not. The account must
have a password assigned.
Note: A reboot is required for all changes to take affect.

* Added function {DIRMOVE}.
Usage: {DIRMOVE} "C:\Test" "D:\Test"
Note: Both paths must be in quotes.
Note: If final destination folder does not already exist, you must
specify it.

* Fixed a bug with %CDROM% not being set. It was, but then cleared
right after.

* The sub windows will now resize automatically to match different font
sizes.

* Broke down the Conditions and Grayed Conditions menus in Config
Wizard for easier navigation.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Updated all of the themes to a new rendering engine. The html code is
no longer in the theme folder. This way all the themes will match and
function properly. All images may be replaced or removed. Many items
in the theme are still customizable. This is done via the new
wpi_theme.js in each theme folder. The type of theme is defined in the
wpi.inf file: Windows, euDock, CorporateIT, or Accordion.

The names of the images are hard coded in and can not be changed and
they must be PNG images.

The background image can either be called Wallpaper.jpg or
Wallpaper.png. Or no image and set a background color.

If Title.png exists it will be used. If does not exist, text will be
used. To have no image and no text, copy in Title.png from
/Commom/imgs/.

If TitleBG.png exists, it will be used as the background pattern. Or
set a color in wpi_theme.js.

SmallBarT.png a SmallBarB.png, if exist will be used. Erase them to not
use them. The heights can be specified in some themes.

If SidePanel.png exists, it will be used as the background for the side
panel (Begin Install, Select All, Select None, etc.). And/or a color
can be specified. The width of the side panel is also customizable.

If Logo.png exists, it will be used as a second image. It is mainly
meant for a company logo/watermark when don't want a big background.
Usually would be light colored, almost transparent. Set it's right
edge and bottom edge location.
PinkRibbon and Woody themes are examples.

If Bottom.png exists, it will be placed in the bottom bar at center.

If BottomBG.png exists, it will be used as the background pattern. Or
set a color in wpi_theme.js.

You can specify and customize text to be placed in the bottom bar in
wpi_theme.js. Can not have both image and text.

The exit button can be on left or right side, and show or not show the
text.

Not all theme types have all the customizable features. If it's not in
wpi_theme.js then it can't be modified so don't try to add anything from
other types.

Went through every css file and removed several old items that are no
longer used, and changed the names of several items.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Added Network Wizard to facilitate entry of user IP information,
create Windows' users, etc.

This wizard is meant to be set up ahead of time. If you have a business
with 25 users/computers, you would make an entry for each user/computer
with their specific information: IP address, computer name, Workgroup,
etc. If you also use a winnt.sif or XML file, you do not need to enter
any user specific data, so you only need one "universal" file with global
settings (ie, Display, Unattended, Windows key, etc).

Once the install process is started, a window will open and you pick
which user/computer you are installing for. Or hit Cancel and nothing
will be changed. The user may also be specified from a command line
argument: user="Ritter, Mark". To specify a different network settings
file: network=iowa_office_networkoptions.js.

In the grid you will see an entry ".default". This entry can not be
deleted. You can use it for Administrator account, or other non-specific
users.

User information:
-----------------
Friendly name: Ritter, Mark or Mark Ritter. This is the name you specify
in command line args.

Computer name: Enter the name for user's computer. If left blank no
change will be made.

Windows user account information:
---------------------------------
User name: Mark. This will create a new user account in Windows.

User password: Leave blank if don't want one.

Administrator: Check to give this user Administrator rights, else will
be a limited user.

Join workgroup:
---------------
Workgroup: Name of your Workgroup.

Options:
--------
Reboot after settings are applied: Checking this will reboot the
computer so the newly created user account can be logged on to for user
specific settings/programs.

Auto logon user: Automatically log on to this newly created user.

Clear auto logon user when WPI is finished: This is recommended so any
user password is cleared from registry, and if multiple accounts exist,
allows selection of desired one again.


The rest of the settings are the usual network adapter settings for IP
address, DNS servers, etc.

No support for domains is included. That needs to be done on the
Active Directory server.

Alt+K shortcut key.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Added function {JSCRIPT}=SetSecurityCenter_XP().
Usage: {JSCRIPT}=SetSecurityCenter_XP(Firewall,Updates,Virus,Disabled,
Disabled)

* Broke down the Commands menu in Config Wizard for easier navigation.

* Added function {JSCRIPT}=SetAutoLogonUser().
Usage: {JSCRIPT}=SetAutoLogonUser("Name","Password","Domain")
Note: Password is optional. If not on domain, use computer name.

* Added function {JSCRIPT}=ClearAutoLogonUser().
Usage: {JSCRIPT}=ClearAutoLogonUser()

* Added function {JSCRIPT}=RenameComputer().
Usage: {JSCRIPT}=RenameComputer("Name")
Note: Reboot computer to take affect.

* Added function {JSCRIPT}=CreateWindowsUser().
Usage: {JSCRIPT}=CreateWindowsUser("Name","Password",Administrator)
Note: Password is optional. Administrator=true/false.
Switch user to take affect.

* Added function {JSCRIPT}=DeleteWindowsUser().
Usage: {JSCRIPT}=DeleteWindowsUser("Name",true)
Note: If second arg is true, all associated files will be deleted.

* Added function {JSCRIPT}=SetFirewall().
Usage: {JSCRIPT}=SetFirewall(state)
Note: true or false for enabled or disabled.

* Added function {JSCRIPT}=SetFilePrinterSharing().
Usage: {JSCRIPT}=SetFilePrinterSharing(state)
Note: true or false to enabled or disable file and printer sharing.

* Added function {JSCRIPT}=MapNetworkDrive().
Usage: {JSCRIPT}=MapNetworkDrive("Letter","Path",Reconnect)
Note: true or false for Reconnect at logon.
Note: No path checking is done.

* Added function {JSCRIPT}=ShareFolder().
Usage: {JSCRIPT}=ShareFolder("ShareName","Path")
Note: No path checking is done.

* Added function {JSCRIPT}=SetPageFileSize().
Usage: {JSCRIPT}=SetPageFileSize(DriveLetter,InititalSize,MaximumSize,
NoPageFile)
Note: Reboot computer to take affect.

* Added function {JSCRIPT}=FormatDrive().
Usage: {JSCRIPT}=FormatDrive(Drive,Label,FileSystem,ClusterSize,
QuickFormat,EnableCompression)
Note: Requires user input during install process.

* Added option to dropdown box in Options -> General -> "Eject CD when
WPI is finished".

* Updated WriteRegKey() to handle all key types properly. REG_MULTI_SZ
did not work before.

* No special characters are allowed in UID now. Only A-Z and 0-9.

* Added command line arg "force" to force the install process. At least
one item must be set to Forced for this to work.
Usage: wpi.exe force=true

* Removed a bunch of code for CorporateIT theme.

* Added global variable %userprofileroot%.
XP: C:\Documents & Settings
Vista: C:\Users
Usage: {COPY} d:\UserStuff.txt %userprofileroot%\Mark

* Improved the IE6 PNG fix code some more.

* Updated images to work with IE6 better.

* Fixed bug in Config's commands grid in how it showed some items.

* Now checks for changes in the wizards before creating a new file or
loading an existing file.

* The list of configurations was not being updated in the Details tab.

* Updated saving of all options files.

* Updated the Ajax code for when checking for an update.

* Francesco updated his WPI.exe launcher more. Mainly, the Office reg
keys are set before WPI is launched. You won't have to set them in your
batch file anymore. FROM NOW ON, USE WPI.EXE TO START WPI.

* Removed "Do Office debugger check" option. No longer needed with
launcher.

* Added "global" flag to setEnvVar(). If true, then variable is system
wide. If not, only the current process (WPI installer) and any batch
files after will see them, and will clear upon exit.

* Created a new way to update the useroptions.js and config.js in a much
more user-friendly way. Will make future updates much easier.

* The Options and Config wizards are now opened in their own window.
This makes Options smaller, but Config larger, to best utilize space.

* Updated how often the Dependent Of and Excludes combo boxes get
populated. Much faster now when switching items, especially with large
configs.

* These environment variable are now ceated when WPI is started for use
in batch files: %HDD%, %CDDRV%, %WPIPATH%, %ROOT%, %OSLANG%, %OSLOCALE%.

* Added function {JSCRIPT}=removeEnvVar().
Usage: {JSCRIPT}=removeEnvVar("Variable")
Note: You don't need to specify the %'s.

* Music is stopped before Install Finish sound is played.

* Francesco made WPI Launcher that will use the proper 32/64bit MSHTA
based on your system. Find it on the main forum thread.

* Updated the way the config.js version is checked. Much more flexible
for future updates.

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 Config button\Icon area.

3. Go to the very top area above the config section and click on the button that says Add

4. Enter in the name section CCleaner No quotes! Then press the TAB button to activate the rest of the wizard.

5. You will notice the Unique ID (UID) section gets automatically filled in for you.

6. All apps are selected to be installed by default right from the start so if you dont want it selected by default you must uncheck this box.

7. Choose a category for your app to be displayed in. If you want the app to be displayed in a category you dont see simply chose other and a box will appear that will allow the entry of you choice.

8. In the commands tab click on "Add" at the controls area just right of the command line pane and then the the little folder icon and browse to your folder that contains the app, preferably the .\WPI\Install folder then select the CCleaner installer, this will place the appropriate path in the command line.

9. Add the necessary switch(s) for the program to run silently. For CCleaner the switch is /S so you would have your command line looks like so = "%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 command line.) Other switches for apps that USSF cannot identify you can try looking at the forum section here = MSFN Application Installs section,

10. Select the Save and then the Exit buttons and you have now configured your first app!

Afterwards you configure WPI to run with your CD using whichever method you choose. We suggest using one of the pre compiled and nicely provided $oem$ (Source folder if your are using Vista or Server 2008) folders that can be found in the downloads section. Then you can use an app like nLite, vLite, CDImageGUI or the Makeiso* program included in the tools folder 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 Make Bootable ISO...

_____________________________________________________________________

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 <-- 3 Custom themes for CDSwitch

MakeISO.exe

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.

http://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.

http://www.wpiw.net/downloads/$OEM$.rar

cmdlines.txt

RunWPI.exe

_______________________________________________________________________

Here is mritters RUN_ WPI solution!

http://www.wpiw.net/downloads/$OEM$_RunWPI.cmd.rar

CleanUpWPI.cmd

cmdlines.txt

RunOnceEx.cmd

RunWPI.cmd

Use is as the same as the one above...

_______________________________________________________________________

This is for use with all versions of Windows Vista, Server 2008 and Windows 7!

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)

________________________________________________________

Over 2000 .png images for your pleasure to use in your tooltips or whatever!

PNG Collection.

________________________________________________________

[url="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=kelsenellenelvian%40gmail%2ecom&no_shipping=0&no_note=1&tax=0

  • 3 months later...
Posted

Thanks For The Mini-Tutorial....

Right Now I'm Working in My First Windows Post Install.

Buy I Have a Question For Who ever Knows About it!!!

How Can I Clean Up Automaticly or Delete the Temp FILES

in The TEMP Folder After Windows Post Install Finish,

With All The Installations???

:g:

Thanks A Lot for Your Help!!

:naughty:

Posted

Make a file "cleanup.cmd" and call it last from WPI.

I use the following code in my cleanup:

DEL /F /S /Q "%Temp%\*.*"
DEL /F /S /Q "%USERPROFILE%\Local Settings\Temp\*.*"
RD /S /Q "%USERPROFILE%\Local Settings\Temp\"

mkdir "%USERPROFILE%\Local Settings\Temp\"

Posted (edited)

Thansks a Lot Man!!

:thumbsup_anim:

Could I Make a little Change?

And Make It Like this:

@echo off

DEL /F /S /Q "%Temp%\*.*"

DEL /F /S /Q "%USERPROFILE%\Local Settings\Temp\*.*"

RD /S /Q "%USERPROFILE%\Local Settings\Temp\"

mkdir "%USERPROFILE%\Local Settings\Temp\"

Exit

Edited by Wanako1

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