Reply to this topic
 [RELEASE] WimToolBatches, Experimental test at your own risk!
post Nov 20 2009, 07:59 PM
Post #1
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,230
Thank(s): 566


Italy


psc has made a little great tool, WimCaptEx.exe, that allows to use the Windows 7 .wim mounting tools under XP:
http://nativeex.boot-land.net/Programs/Wim...x/WimCaptEx.htm
worship.gif

I just made a few batches to easen the use of the thingy and without using Winbuilder.


Attached WimToolBatches, now with:
CODE
w_create.cmd      <- to create an image
w_install.cmd     <- to install the set of files and services (uses wimtools.inf)
w_mount.cmd       <- to mount an image
w_test.cmd        <- to test the state of the service
w_uninstall.cmd   <- to uninstall the service
w_unmount.cmd     <- to mount an image
wimtools.inf      <-.inf install file, you can right click in Explorer and Install


Add in the same directory (stoopidly long paths with spaces in it NOT tested):

CODE
wimgapi.dll
wimmount.sys
wimserv.exe


and of course ok.gif :
CODE
WimCaptEx.exe

from:
http://nativeex.boot-land.net/Programs/Wim...x/WimCaptEx.htm

Please note that a suitable source for the Windows 7 files is this stoopidly long path (but without spaces wink.gif):
QUOTE
\sources\boot.wim\2\Windows\winsxs\x86_microsoft-windows-wimgapi_31bf3856ad364e35_6.1.7600.16385_none_88d1f88d76321f27\
\sources\boot.wim\2\Windows\winsxs\x86_microsoft-windows-wimgapi_31bf3856ad364e35_6.1.7600.16385_none_88d1f88d76321f27\wimserve.exe
\sources\boot.wim\2\Windows\winsxs\x86_microsoft-windows-wimgapi_31bf3856ad364e35_6.1.7600.16385_none_88d1f88d76321f27\wimgapi.dll
\sources\boot.wim\2\Windows\winsxs\x86_microsoft-windows-wimgapi_31bf3856ad364e35_6.1.7600.16385_none_88d1f88d76321f27\wimmount.sys


WARNING:
This is NOT a joke, use the batches at your own risk, they could hose your system in no time. scared9.gif
They are at this moment VERY experimental, don't come here whining about an unbootable system, I told you. happy22.gif

However reports from the bravehearts (or more experienced peeps around) are welcome. smile.gif

The (very little testing) has been carried on x86 ONLY, I have no idea if the batches will work on x64, nor if they can be easily adapted to it.
(this seems like work for Lancelot rolleyes.gif )

Development/historical thread here:
http://www.boot-land.net/forums/index.php?...ic=9658&hl=

cheers.gif

jaclaz
Attached File(s)
Attached File  WimMountBatch001.zip ( 6.45K ) Number of downloads: 389
 


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

The revenue from clicking on publicity at this post is helping was_jaclaz
Boot Land shares publicity revenue with its members.

.
+Quote Post
post Nov 22 2009, 09:26 PM
Post #2
Lancelot
Frequent Member   ****
Group: .script developer

  Joined: 8-May 08 From: Turkiye/Izmir

Posts: 937
Thank(s): 709


Turkiye


QUOTE (jaclaz @ Nov 20 2009, 09:59 PM) *
(this seems like work for Lancelot rolleyes.gif )
Sorry for late response, batches working fine on x64 (no waik installed etc ;>) thumbup.gif

Jaclaz, you are the ultimate batcher I know, I have a suggestion for your further batches if you like,

Here is the story:
To use batches easly on different platforms, I always pack required files of specific architecture.
So, In addition to the batches and psc's tool, I add sfx archive files to the batch folder.
wimgapi.dll_wimmount.sys_wimserv.exe-amd64-KB3AIK_EN.exe
wimgapi.dll_wimmount.sys_wimserv.exe-x86-KB3AIK_EN.exe
WimCaptEx_x64.sfx.exe (includes WimCaptEx.exe)
WimCaptEx_x86.sfx.exe (includes WimCaptEx.exe)

Another workaround i do not use is having a w_Add_Arch_Files.cmd with:
copy /y "%~dp0%PROCESSOR_ARCHITECTURE%\*.*" "%~dp0"

Here is the suggestion:
Maybe you may decide to use %PROCESSOR_ARCHITECTURE% folder (%~dp0%PROCESSOR_ARCHITECTURE%\) for tasks in batches , than all a user would need is to provide required files to AMD64 and x86 (and maybe ia64) folders...



This is only a suggestion worship.gif if you like (If you do not like, please ignore suggestion part of this post) , I hope this do not cause a strong Mediterranean wind From Italy to Izmir happy22.gif , I am verry happy with your batches and with the sfx workaround I use. Thanks a lot for providing them cheerleader.gif cheerleader.gif


--------------------
I Galapo's LiveXP and King Amalux's Great LiveXP Package (tutorial and everything)
Lancelot Tips For LiveXP
I hate Medusa problems of WinBuilder, Cryptic codes, syntax rules fakingly mismatching working lines, not having even basic fundemantal syntax rules and mostly 'lies' and 'post games'.
('post games' = includes dishonest, childish posts that have goal to annoy others in community)
+Quote Post
post Nov 23 2009, 08:37 AM
Post #3
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,230
Thank(s): 566


Italy


If you are game, we can leave everything "as is" and modify just the .inf file. dubbio.gif

I'll have to study a bit the part about x86 and x64, but I seem to remember that it is very possible to have the .inf run only the "architecture" section.

Of course, all I can do is transform the now "only" part to the x86 part and create a "tentative" x64, up to you the actual testing.

Or create a separate x64 .inf ?

I am also (slowly) working towards a "real" install.inf.....one that puts an entry in "installed apps" and that has an uninstall entry.

As you migth know the information on .inf files is (at the best) incomplete, very bad organized, controversial and all in all lacking real examples.

I just re-discovered a good ol' tool that is windows 9x oriented, but that still has a few very nice tricks up it sleeves, WillyPad:
http://snoopy81.ifrance.com/

Any objection to using advpack.dll instead of setupapi.dll?

cheers.gif

jaclaz


--------------------
+Quote Post
post Nov 23 2009, 10:51 AM
Post #4
felix
Member   **
Group: Members

  Joined: 13-September 06 From: In the BOOT

Posts: 54
Thank(s): 3


Italy


thnx for the batches.

here's something that can help you with INF's :

OSR Online

Device and Driver Installation Reference

I'm really busy with my thesis right now so I can't help you much guys..

cheers.gif
+Quote Post
post Nov 23 2009, 05:16 PM
Post #5
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,230
Thank(s): 566


Italy


QUOTE (felix @ Nov 23 2009, 12:51 PM) *
thnx for the batches.

here's something that can help you with INF's :

OSR Online

Device and Driver Installation Reference

I'm really busy with my thesis right now so I can't help you much guys..

cheers.gif


Good. smile.gif
EXACTLY two (among many other places) to which I was referring to as:
QUOTE
information on .inf files is (at the best) incomplete, very bad organized, controvrsial and all in all lacking real examples.


cheers.gif

jaclaz


--------------------
+Quote Post
post Nov 23 2009, 06:07 PM
Post #6
Arvy
Frequent Member   ***
Group: Developer

  Joined: 4-January 08 From: Canada, Parry Sound

Posts: 371
Thank(s): 15


Canada


QUOTE (Lancelot @ Nov 22 2009, 04:26 PM) *
Sorry for late response, batches working fine on x64 (no waik installed etc ;>)


Are we seeing here some possible "light at the end of the tunnel" for some of the much larger "dead end" issues arising from PE2/3's current reliance on certain "proprietary" aspects of earlier development work? hyper.gif

Or am I reading too much into this announcement? ermm.gif


--------------------
Regards,
Richard
+Quote Post
post Nov 23 2009, 06:10 PM
Post #7
Lancelot
Frequent Member   ****
Group: .script developer

  Joined: 8-May 08 From: Turkiye/Izmir

Posts: 937
Thank(s): 709


Turkiye


QUOTE (Arvy @ Nov 23 2009, 08:07 PM) *
"light at the end of the tunnel"

I am not very sure since I am very inexperienced with pe2/pe3 builds, check here for a light wink.gif
http://www.boot-land.net/forums/index.php?...ic=9753&hl=


--------------------
I Galapo's LiveXP and King Amalux's Great LiveXP Package (tutorial and everything)
Lancelot Tips For LiveXP
I hate Medusa problems of WinBuilder, Cryptic codes, syntax rules fakingly mismatching working lines, not having even basic fundemantal syntax rules and mostly 'lies' and 'post games'.
('post games' = includes dishonest, childish posts that have goal to annoy others in community)
+Quote Post

Reply to this topic
1 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No new Topic has attachmentsRelease candidate of plop with USB support
26 was_jaclaz 10,222 9th October 2007 - 06:09 PM
Last post by: ktp
No New Posts Topic has attachmentsRelease 52
Some open issues
11 psc 5,022 8th November 2006 - 11:40 PM
Last post by: Nuno Brito