IPB

Google Frontpage Forums Unattended CD/DVD Guide
3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> WPI v7.5.0, April 30th, 2009
Kelsenellenelvia...
post Mar 22 2009, 10:48 PM
Post #1


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag




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!
CODE
Waaaay To many changes to highlight them...


Known Bugs\Issues!
The rewind button DOES NOT work on the media player... (Probably never has)

WPI can no longer be placed at the root of the CD. It must be at Least ONE folder deep on a standalone CD. (So just place the WPI folder at the root instead of having WPI.hta and the folders at the root.)

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.

CODE
v7.5.0 Updates - Released April 30th, 2009
========================================================================
* Fixed bug that when starting with no config file, the first entry
would cause an error in the grid.

* Finally got the xGrid and xWindows to work together to show the
alternating colors for each line.

* Fixed bug when add new Config entry it always asked if want to update
all UIDs even though it is brand new.

* Added function isUserName()
Usage: isUserName("Joe User")
Returns: true or false

* Added function isComputerName()
Usage: isComputerName("Accounting")
Returns: true or false

* Added function isUserDomain()
Usage: isUserDomain("Workgroup")
Returns: true or false
Note: If not on a real network, domain will be the same as computer name.

* Added function isLogOnServer()
Usage: isLogOnServer("\\Server1")
Returns: true or false







Notes and Extras

Suggested disk folder layout:



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 don’t 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 don’t 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
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.

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 (Sets the runonceex and MCE themeing entries used for WPI)
_______________________________________________________________________

An $OEM%\WPI folder that sets up your WPI for RunOnceEx with the official Zune Microsoft Theme!

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

Contents of the %OEM%-Zune archive:
cmdlines.txt
RunWPI_Zune.exe
_______________________________________________________________________

An $OEM%\WPI folder that sets up your WPI for RunOnceEx with the official Embedded Microsoft Theme!

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

Contents of the %OEM%-Embedded archive:
cmdlines.txt
RunWPI_Embedded.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 and Server 2008!

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



Themes are now hosted on WPI.net!!!




Please remember and donate!


This post has been edited by Kelsenellenelvian: May 7 2009, 11:48 PM
Go to the top of the page
 
+Quote Post
McStarfighter
post Mar 23 2009, 05:50 AM
Post #2


Newbie


Group: Members
Posts: 47
Joined: 13-September 04
From: This great blue planet in the star system with nine planets somewhere in the milky way
Member No.: 30871
OS: XP Pro x86
Country Flag


22. March 2008? A very old release ... rolleyes.gif
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Mar 23 2009, 08:51 AM
Post #3


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


YES! My time machine WORKS!!!

YAY tongue.gif
Go to the top of the page
 
+Quote Post
Dynaletik
post Mar 23 2009, 10:43 AM
Post #4


vLite & WPI Junkie :>
Group Icon

Group: Supreme Sponsors
Posts: 625
Joined: 18-September 04
From: Germany
Member No.: 31388
OS: Windows 7 x64
Country Flag


Thanks for the new release men! smile.gif

Could you please update all the themes with the 2 new images for the installer (Install_Fail & Install_Success)? Otherwise they are not found. tongue.gif

This post has been edited by Dynaletik: Mar 23 2009, 10:44 AM
Go to the top of the page
 
+Quote Post
Stoner81
post Mar 23 2009, 12:32 PM
Post #5


Advanced Member
***

Group: Members
Posts: 337
Joined: 15-June 08
From: England
Member No.: 196854
OS: Windows 7 x64
Country Flag


Awesome Kel thanks man for the new update to this simply OUTSTANDING bit of kit
Go to the top of the page
 
+Quote Post
zoro779
post Mar 24 2009, 04:18 AM
Post #6





Group: Members
Posts: 4
Joined: 26-April 08
Member No.: 188772
OS: XP Pro x86
Country Flag


thanks .................
Go to the top of the page
 
+Quote Post
Pliek
post Mar 25 2009, 03:05 AM
Post #7


Member
**

Group: Members
Posts: 143
Joined: 7-February 06
Member No.: 87234
Country Flag


Thanks Kel, mritter, and others who make it so easy for us.

Will be testing right away. newwink.gif
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Mar 28 2009, 12:58 PM
Post #8


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


OK mritter sent me a small adjustment to the uid pop-up.

So I made a silent update.
Go to the top of the page
 
+Quote Post
Francesco
post Apr 1 2009, 10:03 PM
Post #9


Advanced Member
***

Group: Members
Posts: 332
Joined: 20-March 04
Member No.: 16245



Could you please update my javascript function with this new one?

CODE
function fileVersionGreaterThan(fileVersion1,fileVersion2)
{
    position="registry_dos.js";
    whatfunc="fileVersionGreaterThan()";
    var split1 = fileVersion1.toString().split("."), split2 = fileVersion2.toString().split(".");
    for (var i = 0; i < split1.length; i++)
    {
        var split2item =  parseInt(split2[i]);
        if ((parseInt(split1[i]) > (isNaN(split2item)?0:split2item)))
            return true;
    }
    return false;
}


this one works also when you compare numbers and empty version numbers without throwing errors.

This post has been edited by Francesco: Apr 1 2009, 10:03 PM
Go to the top of the page
 
+Quote Post
mritter
post Apr 2 2009, 04:22 PM
Post #10


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 842
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


Got it. Thanks.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 9 2009, 04:14 PM
Post #11


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


When starting a new config (completly from scratch) you MUST press add first, not just start on the name section.
Go to the top of the page
 
+Quote Post
Francesco
post Apr 10 2009, 08:00 AM
Post #12


Advanced Member
***

Group: Members
Posts: 332
Joined: 20-March 04
Member No.: 16245



Is it a wanted behaviour that when you enable the "Load desktop before installation starts" WPI doesn't start installing if the desktop is already loaded? I have to restart WPI or reboot windows to make it work. I use WPI both unattended-ly after XP ends installing and also starts it to install additionals applications later so I need that option enabled.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 10 2009, 07:42 PM
Post #13


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Have your execute after recall the WPI entries.
Go to the top of the page
 
+Quote Post
mritter
post Apr 11 2009, 12:37 PM
Post #14


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 842
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


Yes, that is how it is supposed to work. That is a function meant to be used from DVD after Windows has been installed. Useful for registry tweaks that need the desktop to be loaded or certain user to be logged in.
Go to the top of the page
 
+Quote Post
jimihendrix
post Apr 16 2009, 09:29 AM
Post #15





Group: Members
Posts: 3
Joined: 15-April 09
From: USA
Member No.: 240533
OS: XP Pro x86
Country Flag


Hi,

Sorry for being such a noob, but I am trying to figure out how to make slipstreamed CD's.

I am using nLite and doing a lot of reading. I have downloaded and extracted WPI so I can add my own apps to the CD, but can't seem to figure out how to install WPI. Even reading the tutorial is says to just install it, and even shows a screen-shot of the install prompt, but there is no install file anywhere that I can see.

Please help me pull my head out from between my butt cheeks.

Thanks a ton!
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 17 2009, 01:59 AM
Post #16


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Lets see here according to the manual.

You add one of the run WPI files from the files page to the disk.
Each one contains the $oem$ folder and cmlines.txt with the run_wpi file in it.

Then you use the provided makeiso program nLite or whatever is you favorite option to make the iso...
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Apr 30 2009, 01:41 PM
Post #17


WPI Guru
Group Icon

Group: Software Developers
Posts: 6626
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Updated!

Temporary link: http://www.wpiw.net/downloads/wpi_v7.5.0.rar
Go to the top of the page
 
+Quote Post
Francesco
post Apr 30 2009, 08:56 PM
Post #18


Advanced Member
***

Group: Members
Posts: 332
Joined: 20-March 04
Member No.: 16245



QUOTE (mritter @ Apr 11 2009, 07:37 PM) *
Yes, that is how it is supposed to work. That is a function meant to be used from DVD after Windows has been installed. Useful for registry tweaks that need the desktop to be loaded or certain user to be logged in.


I understand, but if the desktop is already loaded (you launch WPI manually) it should start anyway shouldn't it? If that's the case if I change WPI to make it work that way can you please add those changes to the official version?
Go to the top of the page
 
+Quote Post
stasys44
post May 3 2009, 12:22 PM
Post #19


Member
**

Group: Members
Posts: 170
Joined: 14-June 04
From: Kaunas
Member No.: 22604
Country Flag


Why you harm Russians? I have published their Manual version 7.3.0 and now you have downgraded it.
Once again http://www.msfn.org/board/index.php?act=at...st&id=24869
Go to the top of the page
 
+Quote Post
mritter
post May 3 2009, 01:41 PM
Post #20


WPI Co-Developer
Group Icon

Group: Software Developers
Posts: 842
Joined: 13-November 05
From: Bettendorf, IA
Member No.: 79628
OS: Vista Home Premium x64
Country Flag


Sorry, dude. I have it updated in my archive. Kels should update it online shortly.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 9th February 2010 - 12:06 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2010 msfn.org
Privacy Policy