Jump to content











Photo
* * * * - 3 votes

Wim mounter


  • Please log in to reply
102 replies to this topic

#1 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 17 April 2008 - 09:51 PM

WimMounter.png

This little utility lets you mount a wim image and then interact with it as a normal folder.
this allows us to patch the uxtheme add themes and stuff.


What's New in Wim Mounter 2.0
=====================================================

Migrated to Dism, the new tool for windows 7.

redesigned the GUI.

Upgraded autoit Version to latest.

Damian666

=====================================================

http://reboot.pro/fi...272-wim-mounter


Edited by damian666, 01 February 2013 - 01:09 PM.
Corrected the download link


#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 17 April 2008 - 10:28 PM

Hi Damian!

Cool tool!! :lol:

I tested it and it wasn't loading WIM images as expected.

Tried both on my x64 AMD Vista home and inside an emulated XP PRO with the same results when loading wim's from a WinPE 2.0 and also a Vista Install source.

The scroll box showed the correct packs inside the wim but it didn't mounted them.

Also - when loading an image for the second time it won't reset the values on the scroll box.

Looking forward for the next version.

:thumbup:

#3 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 17 April 2008 - 11:14 PM

hmm, thats weird man...
let me see... yes, your right???
shi*, when did that happen...
ok, back to the drawingboard then man

damian666

Edit: i found it man, on the new versions there is no config.sys anymore in the mountmap.
maybe due to the sp?
well, at least, i can fix this very easy...

:lol:

check in a half hour man

#4 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 17 April 2008 - 11:29 PM

ok, quick fix version uploaded man.
try again, i want to know if it works on winpe too man.

thanx dude

damian666

#5 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 06:31 AM

... i want to know if it works on winpe too man.


I tried it on pe21 (WinPE 2.1) project. The 'Wim Mounter\' folder is written root of 'x:\'. Doesn't seem to be able to register and start WimFltr form there. I can get info (index number and title) from the .wim but no mount.

When I manually register from 'rundll32.... x:\windows\system32\drivers\wimfltr.inf' and start WimFltr, still no mount! Where is the mount point? Somewhere on 'x:\' - in RAM? Maybe, we need to be able to select the mount point on a HDD... if that won't upset the coolness of this tool. :lol:

Excellent. Looking forward to having this working on pe2.

BTW, I tested with 1.1 because that's what was downloaded from the link in post #1.

#6 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 08:55 AM

well, normally, it extracts the wim mounter folder to the appdata directory, but maybe thats not there on winpe huh?
so where should i put that folder, for it to work?
any ideas?
and the wimfilter should install itself, but i dont think it can, because there are some OS version checks in place.
the inf instal works different on vista and XP so...
i will put in a check for winPE.

Damian666

#7 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 18 April 2008 - 08:58 AM

It's working good now! :lol:

#8 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 09:00 AM

thanx man :lol:
i am trying :thumbup:

damian666

#9 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 09:40 AM

so where should i put that folder, for it to work?
any ideas?


I guess you can put it wherever... Some Apps user profile settings, etc in 'x:\windows\system32\config\systemprofile\appdata\'. Here's a sceenshot of pe12 in VirtualPC. Not sure if this helps. I wouldn't have the foggiest about programming...

[attachment=5006:pe12.png]

... and the wimfilter should install itself, but i dont think it can, because there are some OS version checks in place.
the inf instal works different on vista and XP so...
i will put in a check for winPE.


I tried registering yours with 'rundll32 setupapi,InstallHinfSection DefaultInstall 132 "x:\Wim Mounter\wimfltr.inf"'... didn't work, but it works with the .sys and .inf in 'system32\drivers\', and the .dll in 'system32\'... I use it for imagex and GImageX.

Maybe Nuno is saying everything is working now...? if so, disregard this.

Regards :lol:

#10 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 09:50 AM

well, vista has a new little app for that man, and doesnt use the "old" XP way of installing it.
like this:

RunWait(@WindowsDir & "\System32\InfDefaultInstall.exe" & " " & '"' & @AppDataDir & "\Wim Mounter\wimfltr.inf" & '"')

so, that should work on PE too as i am not mistaken.
i think its due to the OS checks i have setup.
only 2 now, 1 for vista, and 1 for XP.
so i will see if i can fix it by adding a third choice.
so if the first 2 conditions are not met, then its on PE or something.
i will try something man.

thanx for your help dude.

Damian666

#11 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 09:58 AM

i know a even better idea, could you try to execute the attached program, the only thing it wil do is check the os version.
and display that in a messagebox.
if you would be so kind to do this.
and i need the exact word that is reported ok?

i am not intoo the PE stuff myself so...
maybe later :lol:

let me know man

Damian666

#12 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 10:02 AM

RunWait(@WindowsDir & "\System32\InfDefaultInstall.exe" & " " & '"' & @AppDataDir & "\Wim Mounter\wimfltr.inf" & '"')


Maybe in Vista, but I can't find it in WinPE 2.0!

Nightman's VistaPE should be able to take from Vista's install.wim.

Thanks for keeping us up to date though. :lol:

#13 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 10:18 AM

and i need the exact word that is reported ok?


The reported OS version is: WIN_VISTA


Regards :lol:

#14 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 10:20 AM

thanx, that makes it clearer for me, NOT!!!
i thought it was due to the oscheck, but its not.
so did you say the inf could be installd by the old way?
because thats whats erroring up here.
the install of the wimfilter.

any ideas?

Damian666

#15 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 18 April 2008 - 10:39 AM

Could it have something to do with x64 vs x86?

I tried on my XP machine but I didn't checked on my x64 CPU laptop at home (yet).

Both machines have Windows AIK installed (which adds wimfltr support)

Will also try inside an emulated XP machine with no wimfltr inside.

:lol:

#16 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 10:42 AM

yes, that could be very well be it man, because in autoit...
we have to compile options, x86 & x64.
i never used the x64 option, because i dont have that stuff so...
i will compile one with the x64 option ok?

just a few minutes man.

Damian666

#17 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 10:50 AM

wim mounter X64

ok, i dont know if this will work man, as i said, i never ever done this so.
:lol: who says we are to old to learn huh :thumbup:

Damian666

#18 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 11:15 AM

so did you say the inf could be installd by the old way?
...
any ideas?


... just looking at the new CD Selfburner, and wondering if I can send you a SelfBurning ISO of a plain cmd-shell WinPE 2.1 with only 'Wim Mounter' installed. You could have a look yourself.... just finished and the pe21.exe weighs in at 102MB... too big for me! I don't mind helping whichever way I can.

No ideas really. I don't like that space between 'x:\Wim' and 'Mounter\wimfltr.inf' when trying to register it the old way. I tried it with double quotes (") and single quotes ('). The thing is case sensitive, so maybe it needs to be written another way?

I don't know if you could try putting the system files in 'system32\' and 'drivers\', but like I said, even when I manage to get the WimFltr started, there is still an error when trying to mount the .wim in 'x:\'. I tested with the x86 winpe.wim from WAIK 1.1. I reckon it's just too big... but I'll try some things.

#19 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 11:18 AM

hahahahaha, lol, thats a good idea :lol:
if you can, please do that then man.
that way i can test it myself, wil be faster that way...

Damian666

#20 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 03:21 PM

hahahahaha, lol, thats a good idea :lol:
if you can, please do that then man.
that way i can test it myself, wil be faster that way...

Damian666


I think this tool is very good. The feature to open the mounted image directory is a very clever idea. And the drop-down of image index numbers and titles... brilliant!

Thanks :thumbup:

A little Off-Topic...

... say if someone sent you a selfburning .exe containing bootable ISO with a boot.wim file, and you burnt it to CD; I don't think the .wim can be mounted while it is still on the CD - not with 'Wim Mounter', not with imagex.exe - I might be wrong. And it seems to me that the .wim certainly couldn't be 'saved' back to the CD. It would probably be necessary to copy the .wim from the CD onto HDD. Then make whatever adjustments to the files in the mounted image directory, 'save' and go through the process to create a whole new bootable ISO. It seems a bit tedious, thats all. 'Wim Mounter' makes a bit more pleasant.

EDIT. It may not be so bad. When the CD boots, the boot.wim is loaded into rewriteable RAM, so things can be shuffled around from HDD (if the right drivers are present) to RAM... I don't know why I didn't think of that before...

So, now to try out the ISO making tool...

#21 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 03:45 PM

i got that iso man, and i am testing it now :lol:

i will let you know.

Damian666

#22 allanf

allanf

    Gold Member

  • .script developer
  • 1256 posts

Posted 18 April 2008 - 04:29 PM

Did you see the 'EDIT' part of my previous rambling. You don't need to create a new ISO for testing... just move things around in RAM and from HDD. Let me know if you need to install drivers to see your HDD, or anything else... a file manager would have been handy?

#23 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 18 April 2008 - 08:13 PM

nah, all well man, i use a VM, so i dont have problems with drivers and so on...
I tested it, and my conclusion is that its because of the missing appdata directory.
The wimmounter directory is not where it should be so...

I am going to make a special PE version of this, and then you can see if that will work ok?

Keep in touch...

Damian666

#24 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4162 posts

Posted 19 April 2008 - 04:08 AM

Nice read and great Program being created.

#25 damian666

damian666

    Frequent Member

  • Developer
  • 187 posts
  •  
    Netherlands

Posted 19 April 2008 - 08:34 AM

@ TheHive
thanx, glad you like it man :lol:

Damian666




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users