Windows Installer Helper Utility
WIHU is very useful if you want your RunOnceEX/Batch Script replacement to flow seamless with normal look of Windows Setup. It matches the look of the Setup dialogs that you would normally see.
Before getting started, I MUST stress that this page will only go as far as setting up the programs in a BASIC fashion. It will NOT cover any of the advanced topics. The INSTALL.INI that is included in the WIHU is well documented and is well worth the read. It goes in great depth in covering the boolean expressions to conditionally deselect an entry at runtime.
WIHU Homepage | Direct Download
» Creating our own listing of Programs
Before getting started, I recommend that you start with a empty INI file. The INI file is just a TEXT file with the extension of INI.
For an editor, NOTEPAD does the job just fine.
I will be referring to the above image to describe what the INI sections do.
The following is the INI file that will create the above listing:
[Windows System Files] ; Sub command 0 description.0=Windows Media Player 9 (Current Version is %wmp.dll.version%) command.0=Wmp9\MPSetupXP.exe /Q:A /R:N selected.0 = true ; Sub command 1 description.1=DirectX 9.0b Driver command.1=DirectX9b\DX9NTopk.exe selected.1 = true ; Sub command 2 description.2 = Microsoft .NET Framework 1.1 command.2 = %systemroot%\system32\msiexec.exe /i NetFramework\netfx.msi /qb selected.2 = true [TweakUI 2.10 Powertoy] description.0 = Windows XP Shell-Tweaker command.0 = %systemroot%\system32\msiexec.exe /i PowerToys\TweakUI.msi /qb selected.0 = true [Sun Java VM 1.4.2] description.0 = Java Virtual Machine 1.4.2 command.0 = SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1" selected.0 = true
Using the example INI file, in conjunction with the already displayed image, let's commence with describing what's happening.
|[Entry Title]||In normal INI files, this would be called a SECTION label.|
In WIHU, it's the same concept. Whatever is within the  will be the title for the section.
In the examples, [Sun Java VM 1.4.2] is displayed as Sun Java VM 1.4.2 and is the head of a tree.
|description.x||This will be the description shown when displaying this
It will be displayed in the section labeled by the  above it.
To have multiple commands under the tree, increment the .x.
The first entry should be description.0
|command.x||This is the actual command to be executed. It can be
copied directly from your Batch Script, or the quoted portion from your
The first entry should be command.0
|selected.x||This will signify if this entry is selected by default. The possible values are 1 or 0. The first entry should be selected.0|
One thing to keep in mind, is that the three .x values are connected. So all the .1's is values for that entry. The value of x is reset with each new section (  ).
When you're done editing, save the file as INSTALL.INI in the same directory as the WIHU executable.
» Additional Functions of WIHU
Though I won't go into detail on these functions, I will briefly describe what WIHU can do.
WIHU has the ability to create/modify users, change the computer name, workgroup, registered owner, and organization.
As an added incentive to do things on your own, open the Run box, point it to the WIHU executable. Before pressing OK, add /? and read about the available command line options, including being able to specify a LOG file and change the path to the INI file.
» Further Help
If you require further assistance, please check out the WIHU Homepage or the WIHU Forum.