Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

 WIMMaster, Graphical interface for Wimgapi library
Rating 5 V
post Sep 7 2007, 09:33 AM
Post #1
martinr
Frequent Member   ***
Group: Advanced user

  Joined: 6-January 07
Posts: 123
Thank(s): 1


File name: WIMMaster


Description:
I have just finished writing this program. It works like ImageX, but it is not a wrapper for that program. It was written in C and uses the Wimgapi library for its functionality.

My script includes the program in encoded form as well as some redistributable Microsoft files needed to make it work. You also need wimgapi.dll and wimfltr.sys which are included in the WAIK. The script will copy them from the WAIK if it is installed in your ProgramFiles folder.

If anyone would like to have the source code (should be useful if you are using wimgapi for the first time) or would like to have a BartPE plugin, I have put everything here for download.

Download file


+Quote Post
4 Pages V   1 2 3 > »   
Start new topic
Replies (1 - 9)
post Sep 7 2007, 10:53 AM
Post #2
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 7,849
Thank(s): 341


Portugal


Nice work!! thumbsup.gif


--------------------
http://f0rums.com - grab a free forum to include inside your site.
+Quote Post
post Sep 7 2007, 10:13 PM
Post #3
Max_Real Qnx
Silver Member   ****
Group: .script developer

  Joined: 2-January 07 From: Istanbul

Posts: 694
Thank(s): 154


Turkiye


Hi yammer.gif

Thanks a lot for nice share cheers.gif

I modified this nice script mellow.gif

Download


--------------------
+Quote Post
post Sep 19 2007, 04:06 PM
Post #4
powaking
Frequent Member   ***
Group: Advanced user

  Joined: 11-September 06 From: Fall River, MA

Posts: 230
Thank(s): 1


United States


QUOTE (Max_Real Qnx @ Sep 7 2007, 10:13 PM) *
Hi yammer.gif

Thanks a lot for nice share cheers.gif

I modified this nice script mellow.gif

Download


What did you change and how do I remove the link on the desktop? Can't find any reference to the Desktop link.
+Quote Post
post Sep 20 2007, 07:26 AM
Post #5
booty#1
Frequent Member   ***
Group: .script developer

  Joined: 30-March 07 From: Near Frankfurt

Posts: 290
Thank(s): 2


Germany


here is the diff:

CODE
***** wimmaster.script
[ExtractFiles]
DirMake,"%ScriptDir%\%OutDir%"
***** ..\WIMMASTER_MAXREALQNX.SCRIPT
[ExtractFiles]
DirMake,"%TargetDir%\Windows\system32\config"
DirMake,"%TargetDir%\Windows\system32\drivers"
DirMake,"%ScriptDir%\%OutDir%"
*****

***** wimmaster.script
DirCopy,"%ScriptDir%\%OutDir%\*.*","%TargetDir%\%DestDir%"
FileCopy,"%ProgramFilesDir%\Windows AIK\Tools\x86\wimfltr.sys","%TargetDir%\Windows\system32\drivers"
FileCopy,"%ProgramFilesDir%\Windows AIK\Tools\x86\wimgapi.dll","%TargetDir%\Windows\system32"
TXTAddLine,%ES%,"%LinkDir%\%Executable%,%ParentItem%\%PName%.lnk,%LinkDir%","Append"
***** ..\WIMMASTER_MAXREALQNX.SCRIPT
DirCopy,"%ScriptDir%\%OutDir%\*.*","%TargetDir%\%DestDir%"
FileCopy,"%Tools%\wimfltr.sys","%TargetDir%\Windows\system32\drivers"
FileCopy,"%Tools%\wimgapi.dll","%TargetDir%\Windows\system32"
TXTAddLine,%ES%,"%LinkDir%\%Executable%,%ParentItem%\%PName%.lnk,%LinkDir%","Append"
*****


booty#1
+Quote Post
post Sep 20 2007, 07:42 AM
Post #6
booty#1
Frequent Member   ***
Group: .script developer

  Joined: 30-March 07 From: Near Frankfurt

Posts: 290
Thank(s): 2


Germany


QUOTE (martinr @ Sep 7 2007, 11:33 AM) *
File name: WIMMaster
Description:
I have just finished writing this program. It works like ImageX, but it is not a wrapper for that program. It was written in C and uses the Wimgapi library for its functionality.


Just a little improvement:
1. Changed the used compile profile from debug to release.
2. The current version of WIMMaster.exe requires MSVCR80D.DLL, because it is compiled as "Multi-threaded DLL /MD".
I changed it to "Multi-threaded /MT" (Project Options -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library).
The attached version is now independent of MSVCR80D.DLL and 10k smaller than before (because of the missing debug infos). It has been compiled with Visual Studio C++ Express.

booty#1
Attached File(s)
Attached File  WIMMaster_Source_Code.zip ( 25.21K ) Number of downloads: 345
Attached File  WIMMaster.zip ( 36.62K ) Number of downloads: 715
 
+Quote Post
post Sep 20 2007, 11:56 AM
Post #7
powaking
Frequent Member   ***
Group: Advanced user

  Joined: 11-September 06 From: Fall River, MA

Posts: 230
Thank(s): 1


United States


QUOTE (booty#1 @ Sep 20 2007, 07:42 AM) *
Just a little improvement:
1. Changed the used compile profile from debug to release.
2. The current version of WIMMaster.exe requires MSVCR80D.DLL, because it is compiled as "Multi-threaded DLL /MD".
I changed it to "Multi-threaded /MT" (Project Options -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library).
The attached version is now independent of MSVCR80D.DLL and 10k smaller than before (because of the missing debug infos). It has been compiled with Visual Studio C++ Express.

booty#1



So all those dlls are not needed then from the original script? If so then this makes it much smaller.
+Quote Post
post Sep 20 2007, 12:14 PM
Post #8
booty#1
Frequent Member   ***
Group: .script developer

  Joined: 30-March 07 From: Near Frankfurt

Posts: 290
Thank(s): 2


Germany


QUOTE (powaking @ Sep 20 2007, 01:56 PM) *
So all those dlls are not needed then from the original script? If so then this makes it much smaller.

Yes, no MS*.dll are needed.

booty#1
+Quote Post
post Sep 22 2007, 10:34 AM
Post #9
bilou_gateux
Frequent Member   ***
Group: Advanced user

  Joined: 1-August 06
Posts: 124
Thank(s): 7


France


I have successfully captured an image from WinPE.
Unfortunately, i can't apply it to a new drive from WinPE.

I have used the same box and drive for capture and (not sucessfull) apply.

My wim file isn't corrupted as i can mount it from real windows XP.

Just would like to know if some members have fully checked the apply function.

If i'm the only one to have an issue, i have to re-create a full installation of the OS to capture mad.gif before checking a second time WIMmaster.

to do: try to apply the WIM file with imageX first.


--------------------
>>> Good things do come in small packages. <<<
+Quote Post
post Nov 6 2007, 09:58 AM
Post #10
martinr
Frequent Member   ***
Group: Advanced user

  Joined: 6-January 07
Posts: 123
Thank(s): 1


Just to let you know that I have updated my WIMMaster files. The changes are:

1. I have altered the VistaPE script to load wimgapi.dll and wimfltr.sys from the Tools folder. This was Max_Real Qnx's suggestion, and people may find it more convenient to work this way and not have to keep the WAIK permanently installed on their machine.

2. The executable is now statically built, so the Microsoft run time files no longer have to be included. I did in fact start working this way shortly after my previous post. booty#1 was quite right that this was the way to go because it takes up much less space on a VistaPE/BartPE disk.

3. I have made some minor changes to the source code, which were technical in nature and don't actually change the way the program works.

As before the whole package is available at this link.

By way of interest, I have also written a different version of WIMMaster which uses the SmartWIM component. The main advantage of this is that the progress bar displays with the Apply function, which it doesn't do in the Wimgapi version. The program is written using MFC, and the source code is quite instructive as it shows how to integrate a non-visual custom COM control into a C++ program.

The SmartWIM component is of course needed, but is available as a free trial version. This is fully functional but does display a nag screen when it runs each time. It is fairly expensive to buy in registered form, but seems to work very well.

This package includes again source code, BartPE plugin and VistaPE script, and is available here.
+Quote Post

4 Pages V   1 2 3 > » 
Reply to this topic
1 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts Wimmaster & Gui Imagex Scripts
Scripts do not ask for WAIK install location
0 James L Unger 2,055 3rd November 2007 - 11:39 AM
Last post by: James L Unger