Add Right click .wim Windows 7 Working with Windows 8 and UAC ON or OFF
#42
Posted 08 April 2012 - 08:46 AM
I tried with single backslash and it does not add key. must use \\
Also if you have UAC turned on it might need admin shield like my example for Dism
#43
Posted 12 April 2012 - 02:51 PM
maxXPsoft, on 08 April 2012 - 08:06 AM, said:
;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"
question: why does %programfiles% doesn't work here?
#44
Posted 13 April 2012 - 03:44 AM
TheWalrus, on 12 April 2012 - 02:51 PM, said:
maxXPsoft, on 08 April 2012 - 08:06 AM, said:
;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"
question: why does %programfiles% doesn't work here?
Because the key is a REG_SZ which does not normally expand them variables to full path.
#45
Posted 27 June 2012 - 02:20 AM
However, when I use TuneUp Utilities 2012, this key is removed:
[HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim]
And I can't no more use .wimrightclick.
I think it's because there is some Subcommands. Weird!
But if I add this key:
[HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim\command]
All works fine and TuneUp Utilities doesn't remove previous key!
Same trouble explained and solved here using TuneUp Utilities to clean the registry:
http://www.msfn.org/...ost__p__1002319
Regards
This post has been edited by myselfidem: 27 June 2012 - 02:21 AM
#46
Posted 27 June 2012 - 11:26 AM
#47
Posted 27 June 2012 - 11:41 AM
*Edit: I mean like this
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim] "MUIVerb"="Windows Imaging Format (WIM)" "SubCommands"="[ Mkdir zMountdir ];[ Mkdir zPackage ];.Wim Info;DISM log file;Mount # 1 R/W | if boot.wim is PE;Mount # 2 R/W | if boot.wim is Default;Mount # 3 R/W;Mount # 4 R/W;Mount # 5 R/W;Get-Drivers To Desktop;Get-Packages To Desktop;Get-Features To Desktop;Add-Driver's;Add-Package *.cab *.msu;Unmount + Save zMountDir;Unmount NO SAVE zMountDir;Cleanup + Delete zMountDir;IMAGEX .Wim Info;IMAGEX compress export" "icon"="isoburn.exe" [HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim\command]
Regards
This post has been edited by myselfidem: 27 June 2012 - 03:44 PM
#48
Posted 28 June 2012 - 06:11 PM
After reading the MS webpage again I just added the command key because of this.
Add the Command subkey, and a value:
HKEY_CLASSES_ROOT
txtile
shell
test.verb
Command
#49
Posted 29 June 2012 - 02:30 AM
I can download the new file on:
http://www.msfn.org/...t-full-sp1-iso/
Could you update the link inside this thread! Thanks in advance.
Regards
#50
Posted 29 June 2012 - 07:31 AM
; 6/28/12 Fix minor issue with Shell\.Wim\command found by myselfidem
Download .wimrightclick - Install.zip here
This post has been edited by maxXPsoft: 29 June 2012 - 08:03 AM
#51
Posted 16 September 2012 - 10:03 AM
Snip pops a VB window for entering an image index #. Then pushes the $INDEX variable into the DISM command. Probably a few readers out there with more than 5 images in their AIO's.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\DISM_MOUNT]
"MUIVerb"="DISM_MOUNT"
"icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\DISM_MOUNT\command]
@="cmd /k start /b powershell -command \"clear-host;[void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic');$INDEX = [Microsoft.VisualBasic.Interaction]::InputBox('Enter Image Index #', 'Which image to mount', '1');$PROMPT = [Microsoft.VisualBasic.Interaction]::MsgBox('Ready to mount image ?', 'OKCancel,Question', 'Last Chance to Cancel');switch ($PROMPT) {'OK'{Dism /mount-wim /wimfile:D:\\sources\\boot.wim /index:$INDEX /mountdir:C:\\zMountDir}'Cancel'{exit}}\""
I was going to write my own DISM shell ext until Urie mentioned yours, so now I'm abandoning the idea. If you want it you can have it, just need to remove the hard-coded boot.wim.
http://forums.mydigi...tension-Tool%99
#52
Posted 16 September 2012 - 03:25 PM
work correctly as previous! For instance the wim/info fails.
#53
Posted 17 September 2012 - 09:30 AM
MrJinje, on 16 September 2012 - 10:03 AM, said:
MAVERICKS CHOICE, on 16 September 2012 - 03:25 PM, said:
work correctly as previous! For instance the wim/info fails.
Let me look at both things and see if I can make them work.
Was tough getting Win 7 to elevate the dism without anything else and took me a little while to figure out.
#54
Posted 17 September 2012 - 10:48 PM
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\Shell\DISM_FLYOUT] "SubCommands"="" "Position"="top" "icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\Background\Shell\DISM_FLYOUT\Shell\DISM_Commands] "MUIVerb"="DISM_Commands" "SubCommands"="Mkdir zMountdir zPackage;Unmount + Save zMountDir;Unmount NO SAVE zMountDir;Cleanup + Delete zMountDir" "icon"="cmd.exe" "Position"="Top" [HKEY_CLASSES_ROOT\Directory\Background\Shell\DISM_FLYOUT\Shell\DISM_Mount] "MUIVerb"="DISM_Mount" "SubCommands"="Mount # 1 R/W | if boot.wim is PE;Mount # 2 R/W | if boot.wim is Default;Mount # 3 R/W;Mount # 4 R/W;Mount # 5 R/W" "Position"="bottom" "icon"="cmd.exe"
Can you confirm that all we need is the RUNASADMIN 'CompatFlag' and the "HasLUAShield"="" to properly elevate. Haven't tested yet with SLMGR.vbs, but this looks cleaner than including the elevate powertoy like I've been doing.
This post has been edited by MrJinje: 18 September 2012 - 12:26 AM
#55
Posted 18 September 2012 - 10:02 AM
MrJinje, on 17 September 2012 - 10:48 PM, said:
On windows 7 that was all I needed to do to make this work and prompt for the elevate. http://www.msfn.org/...post__p__959826
Win 8 probably be harder to figure out.
I have the stuff added you suggested. New version uploaded
; 9/17/12 Modify Mounting of Image suggestion by MrJinje is now 'Mount R/W = Enter Image Index #'
That was easy
.wimrightclick.png (29.21K)
Number of downloads: 2
#56
Posted 19 September 2012 - 02:53 AM
MrJinje, on 17 September 2012 - 10:48 PM, said:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\Shell\DISM_FLYOUT] "SubCommands"="" "Position"="top" "icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\Background\Shell\DISM_FLYOUT\Shell\DISM_Commands] "MUIVerb"="DISM_Commands" "SubCommands"="Mkdir zMountdir zPackage;Unmount + Save zMountDir;Unmount NO SAVE zMountDir;Cleanup + Delete zMountDir" "icon"="cmd.exe" "Position"="Top" [HKEY_CLASSES_ROOT\Directory\Background\Shell\DISM_FLYOUT\Shell\DISM_Mount] "MUIVerb"="DISM_Mount" "SubCommands"="Mount # 1 R/W | if boot.wim is PE;Mount # 2 R/W | if boot.wim is Default;Mount # 3 R/W;Mount # 4 R/W;Mount # 5 R/W" "Position"="bottom" "icon"="cmd.exe"
Can you confirm that all we need is the RUNASADMIN 'CompatFlag' and the "HasLUAShield"="" to properly elevate. Haven't tested yet with SLMGR.vbs, but this looks cleaner than including the elevate powertoy like I've been doing.
That seems to be the problem every action for W8 images has to be with Admin Priv!!
#57
Posted 19 September 2012 - 04:10 AM
I think you can change inside:.wimrightclick Readme 1st.htm (line 2):
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
With:
<html xmlns="http://www.w3.org/1999/xhtml">
Regards
This post has been edited by myselfidem: 19 September 2012 - 06:55 AM
#58
Posted 19 September 2012 - 06:46 AM
#59
Posted 19 September 2012 - 10:52 AM
myselfidem, on 19 September 2012 - 04:10 AM, said:
<html xmlns="http://www.w3.org/1999/xhtml">
Ok I fixed for next
Using Windows 8 Pro here
With Windows 8 Add Right click .wim works as expected with UAC OFF
With UAC ON
Most things work like making the folders and mounting/dismount images. There is a slight delay before it pops the VB window
.wim info is working cause I can see it flash wim info but don't pause
Creates the driver/packages .txt file but they are empty
Won't delete folders although i have Full control
Imagex stuff I'll have to adapt to use dism in Win 8 instead
#60
Posted 19 September 2012 - 12:34 PM
maxXPsoft, on 18 September 2012 - 10:02 AM, said:
MrJinje, on 17 September 2012 - 10:48 PM, said:
On windows 7 that was all I needed to do to make this work and prompt for the elevate. http://www.msfn.org/...post__p__959826
Win 8 probably be harder to figure out.
I have the stuff added you suggested. New version uploaded
; 9/17/12 Modify Mounting of Image suggestion by MrJinje is now 'Mount R/W = Enter Image Index #'
That was easy
.wimrightclick.png (29.21K)
Number of downloads: 2
Van, Mount R/W = Enter Image Index # ids fine if they actually know what the images are we had this long while back and had to post image indexes of x86 and x64.
I know they should use wim.info but not everyone will
This post has been edited by urie: 19 September 2012 - 12:35 PM



Help

Back to top









