MSFN Forum: Add Right click .wim Windows 7 - MSFN Forum

Jump to content


  • 5 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Add Right click .wim Windows 7 Working with Windows 8 and UAC ON or OFF

#1 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 March 2011 - 04:07 AM

You need to be running Windows 7 or Windows 8 with UAC ON or OFF

A cascading menu to right click a .wim file to mount and do other things.
Win 7/Win 8 has Dism.exe included in System32 folder so no need for the WAIK to be installed. Unless you need the separate tools it is a 1.66 GB xml checker that gives errors
Note: You will need the WAIK if you want the IMAGEX options
You can download Imagex.exe and drop in system32 folder as part of Windows Assessment and Deployment Kit (ADK) for Windows® 8
Get this 1.16mb adksetup.exe download and I just selected deployment tools. http://www.microsoft...s.aspx?id=30652
A plus to that is you don't need a 1GB + download, was 80mb installed here and includes WSIM for xml editing. - minus is you need .NET4 ;(
Attached File  ADKoptions.PNG (4.22K)
Number of downloads: 4

I set to C:\zMountDir where it will be at bottom of drive in windows explorer to find easier. You must edit this if Mount folder is somewhere else
NOTE: You really don't want a buried folder with blank spaces in it cause error can occur. Been there done that type of thing.

Cleanup + Delete zMountDir - On 64 bit I have had trouble dismount or mounting after a dismount. I use this to Dism /Cleanup-Wim and clean the registry then delete zMountDir. As long as it save's it is ok, just the dismount occasionally get's error. I have installed many times with no problems

now my right click on a .wim and will only be on any .wim

Attached File  WIMrightclick.png (36.25K)
Number of downloads: 7
-----------------------------------------------------------------------------------------
I would use the .Wim Info first so you see the images loaded in the .wim
Example of install.wim X64
Index : 1
Name : Windows 7 HOMEBASIC
Description : Windows 7 HOMEBASIC
Size : 11,707,704,502 bytes

Index : 2
Name : Windows 7 HOMEPREMIUM
Description : Windows 7 HOMEPREMIUM
Size : 12,220,130,696 bytes

Index : 3
Name : Windows 7 PROFESSIONAL
Description : Windows 7 PROFESSIONAL
Size : 12,120,429,592 bytes

Index : 4
Name : Windows 7 ULTIMATE
Description : Windows 7 ULTIMATE
Size : 12,283,036,052 bytes.

-----------------------------------------------------------------------------------------
Inject Drivers added 3/10/2011
Create a C:\Drivers folder and add all your drivers extracted there under separate folders that include an .inf. You may edit that to D:\Drivers or whatever. Most OEM include a folder with all Driver's and they will be located here

Searching for driver packages to install...
Found 2 driver package(s) to install.
Installing 1 of 2 - C:\Drivers\C7112964.inf: The driver package was successfully installed.
Installing 2 of 2 - C:\Drivers\CH112964.inf: The driver package was successfully installed.
The operation completed successfully.

NEW wimrightclick.reg added plus the uninstall

-----------------------------------------------------------------------------------------
Now the IMAGEX compress export which deletes the [Files] folder also
You delete boot.wim after and rename the boot.wim.new to boot.wim
Exporting: [D:\Se7en_UA\uaDVD\sources\boot.wim, *] ->
           [D:\Se7en_UA\uaDVD\sources\boot.wim.new]
[ 100% ] Exporting progress
Successfully exported image #1.
[ 100% ] Exporting progress
Successfully exported image #2.
Total elapsed time: less than 1 sec

-----------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
; © maxXPsoft on 3/6/2011
; Changelog
;   Add Right click .wim Windows 7 and now Windows 8 with UAC ON
;
;   http://www.msfn.org/board/topic/150275-add-right-click-wim-windows-7/
;
; 3/10/2011 Add-Driver's added
; 3/13/2011 Fix showing up on non .wim files. Use wimrightclick - Uninstall.reg first to cleanup wrong entries.
;   Added opening Dism.log folder. You can delete before running or open with your favorite editor. I use Notepad++
; 3/16/2011 Added and working Windows Update/Language or other Add-Package *.cab *.msu.
;   Create a folder C:\zPackage or modify this to your package folder
; 3/18/2011 Now working with UAC on and raises a uac prompt all except .Wim Info. I can't get Dism to pause.
;   Added creating C:\zPackage and C:\zMountDir
; 3/23/2011 Added Get-Drivers To Desktop, Get-Packages To Desktop, Get-Features To Desktop. Must be Mounted
; 3/26/2011 Fix Cleanup + Delete zMountDir command
; 4/3/2011 Found the list was too long and bottom items was not working. I combined some things.
;   Run the .wimrightclick - Uninstall.reg first
; 4/12/11 Fix Drivers Packages Features To Desktop found by jbm
; 4/8/2012 To use Imagex from Program files location use this registry instead.
;   [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IMAGEX compress export\command]
;   @="\"C:\\Program Files\\Windows AIK\\Tools\\amd64\\imagex\" /export \"%1\" * \"%1\".new" 
;   Also if you have UAC turned on it might need admin shield like my example for Dism
; 6/28/12 Fix minor issue with Shell\.Wim\command found by myselfidem
; 9/17/12 Modify Mounting of Image suggestion by MrJinje is now 'Mount RW = Enter Image Index #'
; 10/13/12 Add icons to commands. Rewrite commands using powershell so would work with UAC on. Added Admin shield to powershell.exe
; 10/14/12 Fix Imagex commands. I prefer right now to use Imagex for export cause new dism does it 1 at a time.
;   You can download Imagex.exe and drop in system32 folder as part of Windows Assessment and Deployment Kit (ADK) for Windows® 8
;   Get this download and I just selected deployment tools. http://www.microsoft.com/en-us/download/details.aspx?id=30652
;   A plus to that is you don't need a 1GB + download, was 80mb here and includes WSIM for xml editing. - minus is you need .NET4 ;(
; 10/15/12 Fix Drivers Packages Features To Desktop
; 10/24/12 Updated to use Language from system32\Dism\ dll's. Run the .wimrightclick - Uninstall.reg first.
;   You can modify this to use your language. To change to German (de-DE) just edit ALL "MUIVerb"
;      "MUIVerb"="@C:\\Windows\\System32\\Dism\\WimProvider.dll,-101"
;        change to
;      "MUIVerb"="@C:\\Windows\\System32\\Dism\\de-DE\\WimProvider.dll.mui,-101"
;   Must ADD the .mui. I use different dll on some so be carefull
;   You may need to manually mod the file "MUIVerb"="Ajoute des packages de pilotes ą une image hors connexion."
; 03/30/2013
;   Updated adding /Table format
;   Added Sleep to some functions and Stop on some. After some operations like adding Drivers or Packages may want to check for errors.
; 04/05/2013
;   Removed some of the sleep things where they caused dism to stop processing. That makes image hard to unmount.
; 05/15/2013
;   Added shutdown anti-virus(MSE for me) with Autoit to speedup most things with this. Can add any program like AVG, Avast, Norton.
;    Create a reg/script for your anti-vir and i'll add to download.
;   Cleaned up reg entries adding like Max.WimInfo and shorten. Removed sub-menus since they take up 1 item on a maximum 16 list.

;-------------------------------------------------------------------------------------
; This will create a Mount folder on a drive. I set to C:\zMountDir and C:\zPackage
;  where it will be at bottom of drive in windows explorer to find easier. Edit this to drive you want.
;
; Cleanup + Delete zMountDir - On 64 bit I have had trouble dismount or mounting after a dismount.
;  I use this to Dism /Cleanup-Wim and clean the registry then delete zMountDir and zPackage.
;  As long as it save's it is ok, just the dismount occasionally get's error. I have installed many times with no problems
;
; heres how I created this http://msdn.microsoft.com/en-us/library/cc144171%28v=vs.85%29.aspx#cascade_subcommands
;


EDIT: Updated working on Windows 8 with UAC ON or OFF
Download WIMrightclick_ Install.zip here

This post has been edited by maxXPsoft: 16 May 2013 - 10:44 AM



#2 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 March 2011 - 04:16 AM

Very useful!
Many thanks maxXPsoft. Well explained! :thumbup
Regards

This post has been edited by myselfidem: 06 March 2011 - 04:18 AM


#3 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 March 2011 - 04:19 AM

View Postmyselfidem, on 06 March 2011 - 04:16 AM, said:

Very useful!
Many thanks maxXPsoft. Well explained!
Regards

Thanks, I have changed my Se7en_UA next release for this new method. I'll get together some language changes for French
took me 2 days to get it all right :blink:

#4 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 March 2011 - 04:27 AM

View PostmaxXPsoft, on 06 March 2011 - 04:19 AM, said:

Thanks, I have changed my Se7en_UA next release for this new method. I'll get together some language changes for French
took me 2 days to get it all right :blink:

Thank you very much to adapt it for some language changes for French! Take your time! :yes:

#5 User is offline   beatmaster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 25-May 09

Posted 08 March 2011 - 08:26 AM

Hi maxXPsoft,

i have one problem with the reg.

The DISM.exe need administrative rights. how can i give the dism.exe thuis rights for all time ?

Regard Mike

P.S.

And can you also make a "DeleteReg" witch delete the Reg entries ?

#6 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 March 2011 - 08:54 AM

I think right now yes and yes but give me a little time
I have been running with uac off so I see your point. Will have to enable it and work it out :)

#7 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 March 2011 - 09:19 AM

wimrightclick - Uninstall.reg
added to 1st post

#8 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 517
  • Joined: 30-July 03

Posted 08 March 2011 - 05:35 PM

Thanks Van, nice update to right click wim file :thumbup

#9 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 March 2011 - 07:38 AM

View Postbeatmaster, on 08 March 2011 - 08:26 AM, said:

Hi maxXPsoft,

i have one problem with the reg.

The DISM.exe need administrative rights. how can i give the dism.exe thuis rights for all time ?

Regard Mike

P.S.

And can you also make a "DeleteReg" witch delete the Reg entries ?


Added to 1st post
NOTICE: As of yet I have been unable to make this run with UAC turned on. I can do that with setacl but most probably not interested in doing that if they running UAC so I won't at this time.

wimrightclick - Uninstall.reg added to 1st post

#10 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,723
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 09 March 2011 - 09:21 AM

Can't you check the box on DISM to run as admin?

#11 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 March 2011 - 10:27 AM

View PostTripredacus, on 09 March 2011 - 09:21 AM, said:

Can't you check the box on DISM to run as admin?

You don't have that option with UAC on
I'm trying to do this programatically, like with a .reg.
Under UAC system32\dism.exe does not have FULL permissions with Admins and that's the holdup
Have tried 6 different things I have here on doing that. My program Se7en_UA run's with Admin privledges so I know there is a way. Setacl would probably be only way to give Full permissions to Admins

I am runnng without UAC because I keep a tight rein on my OS and have numerous restore options if I think something s wrong. Most don't have that so I didn't want to venture out and do that with setacl yet. I'm still looking because with anything Windows there is a way just have to figure it out.

#12 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,723
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 10 March 2011 - 09:52 AM

View PostmaxXPsoft, on 09 March 2011 - 10:27 AM, said:

View PostTripredacus, on 09 March 2011 - 09:21 AM, said:

Can't you check the box on DISM to run as admin?

You don't have that option with UAC on


I have the UAC on my normal workstation and I have the option:
Posted Image

#13 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 March 2011 - 09:59 AM

View PostTripredacus, on 10 March 2011 - 09:52 AM, said:

I have the UAC on my normal workstation and I have the option:

Try that on system32\dism.exe. from image your going to waik/OPK folder where I mentioned you don't need it installed with UAC Off.
I have even tried this off my uaDvd\sources folder\dism.exe

Adding Inject Drivers next

This post has been edited by maxXPsoft: 10 March 2011 - 10:00 AM


#14 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 517
  • Joined: 30-July 03

Posted 10 March 2011 - 10:15 AM

Van, not sure if this is of any good elevate vista/7

#15 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 March 2011 - 10:30 AM

I'll take a look M8 :whistle: , have some elevate here and have tried everything under the sun

Inject Drivers added 3/10/2011
Create a C:\Drivers folder and add all your drivers extracted there under separate folders that include an .inf. You may edit that to D:\Drivers or whatever. Most OEM include a folder with all Driver's and they will be located here

Searching for driver packages to install...
Found 2 driver package(s) to install.
Installing 1 of 2 - C:\Drivers\C7112964.inf: The driver package was successfully installed.
Installing 2 of 2 - C:\Drivers\CH112964.inf: The driver package was successfully installed.
The operation completed successfully.

NEW wimrightclick.reg added plus the uninstall

Windows Update Packages Next I think

This post has been edited by maxXPsoft: 10 March 2011 - 10:33 AM


#16 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 517
  • Joined: 30-July 03

Posted 10 March 2011 - 10:40 AM

Nice addition M8, adding the drivers :thumbup

#17 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 March 2011 - 08:15 AM

; © maxXPsoft on 3/6/2011
; 3/10/2011 Inject Drivers added
; 3/13/2011 Fix showing up on non .wim files. Use wimrightclick - Uninstall.reg first to cleanup wrong entries.
; Added opening Dism.log folder. You can delete before running or open with your favorite editor. I use Notepad++

A major fix where I Fix showing up on non .wim files - Use wimrightclick - Uninstall.reg first to cleanup wrong entries :thumbup
First edition didn't do this but somewhere the 2nd did. Now fixed

I have added the packages .msu and .cab in my test but it loops and run's several times so still working on that.

Mediafire .wimrightclick Download link in first post

This post has been edited by maxXPsoft: 13 March 2011 - 08:17 AM


#18 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,723
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 14 March 2011 - 08:30 AM

Yes you can't set compatibility options with the DISM in the Windows folder because it is marked as "coming with the os"... However wouldn't your option still work if you set a pre-requisite that the user installs the WAIK, and then have it run the DISM that comes with the WAIK?

#19 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 March 2011 - 10:12 AM

The whole idea behind this is not needing the waik unless they want imagex functions. A lot coming here are on dial-up and I know what that is. 1.6GB Waik uh no thanks. I realize some need it to do more advanced things and that's fine, a majority coming here just want to build an unattended dvd. All I need is the updated .chm files and there is a separate d/l link for those. May 2010 chm files

Everything working fine here with uac off. If your paranoid unplug the Inet cable and disable, reboot, build, restart it.

I'm starting to get many more ideas for this once I make updates work

#20 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 March 2011 - 08:28 AM

; 3/16/2011 Added and working Windows Update/Language or other Packages *.cab *.msu.
;   Create a folder C:\zPackage or modify this to your package folder

Drop all your .cab and .msu in the package folder and it will inject them all. I know there are some that won't go but no one else can make them go either.
2 cabs and 3 msu. 2nd cab is KB971033
Processing 1 of 5 - Adding package Package_for_KB958488~31bf3856ad364e35~amd64~~6.2.7600.16513
[==========================100.0%==========================]
Processing 2 of 5 - Adding package Microsoft-Windows-Security-WindowsActivationTechnologies-Package~31bf3856ad
364e35~amd64~~7.1.7600.16395
[==========================100.0%==========================]
Processing 3 of 5 - Adding package C:\zPackage\Windows6.1-KB2393802-x64.msu
[==========================100.0%==========================]
Processing 4 of 5 - Adding package C:\zPackage\Windows6.1-KB2425227-x64.msu
[==========================100.0%==========================]
Processing 5 of 5 - Adding package C:\zPackage\Windows6.1-KB2475792-x64.msu
[==========================100.0%==========================]
The operation completed successfully.


Mediafire .wimrightclick Download link in first post or my Sig

Share this topic:


  • 5 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy