• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
maxXPsoft

Add Right click .wim Windows 7 or Windows 8/8.1

110 posts in this topic

; 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

0

Share this post


Link to post
Share on other sites

When I click Drivers Packages Features to desktop

The drivers file is created correctly but the other 2

the following in them

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Error: 183

The specified image is currently being serviced by another DISM operation.

Wait for the existing DISM operation to complete, and then try the operation again.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

I'm using Ultimate 64bit

0

Share this post


Link to post
Share on other sites

Seen that instant when I tried it created all 3 files at same time. Now working and new uploaded

; 4/12/11 Fix Drivers Packages Features To Desktop found by jbm

0

Share this post


Link to post
Share on other sites

; 8/2/11 Add url and remove 1 item not being added [ Mkdir zPackage ]

0

Share this post


Link to post
Share on other sites

Thanks maxXPsoft for this update ;)

0

Share this post


Link to post
Share on other sites

Still doesn't work. It actually opens my own files lol.

0

Share this post


Link to post
Share on other sites

Much better. I am sick to my stomach opening command prompt and typing the same stuff over and over again. This will be tremendous help.

0

Share this post


Link to post
Share on other sites

Much better. I am sick to my stomach opening command prompt and typing the same stuff over and over again. This will be tremendous help.

Me three, had to paste and get the line right. Now just right click a .wim

Don't really see what else to add right now until Win 8 when dism will do the imagex functions

0

Share this post


Link to post
Share on other sites

I am killing myself trying to make the imagex compress+export thing to work with no luck.

If I edit your original file with different path to imagex (I have WAIK installed) it just doesn't work and says can't find path blabla...

Must be a quote problem but I got lost lol

edit:

ok I figured I should use \" but it still doesn't do jack

@="cmd /k \"C:\Program Files\Windows AIK\Tools\amd64\ImageX.exe\" /export \"%1\" * \"%1\".new"

now it says 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

P.S. Why do you use double blackslashes?

Edited by TheWalrus
0

Share this post


Link to post
Share on other sites

I am killing myself trying to make the imagex compress+export thing to work with no luck.

@="cmd /k \"C:\Program Files\Windows AIK\Tools\amd64\ImageX.exe\" /export \"%1\" * \"%1\".new"

P.S. Why do you use double blackslashes?

You could just open reg key where you edit path and paste your C:\Program Files\Windows AIK\Tools\amd64\ImageX.exe and add the other stuff exactly as needed, TEST, then Export to a reg file that 1 key.

Once you get it working right reply with reg code and I'll add to first post

You add double \\ in a reg file and when it imports it becomes 1

and yes in a command line like Runoncex you add \"%ProgramFiles%\Epsilon Squared\InstallWatch Pro\Databases\Default.iwc\" to quote long paths with spaces

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Well I tried this as you can see from the code I pasted before and it just doesn't work, which is why I asked what I was doing wrong...



[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IMAGEX compress export\command]
@="cmd /k \"%ProgramFiles%\\Windows AIK\\Tools\\amd64\\ImageX.exe\" /export \"%1\" * \"%1\".new"


It just doesn't work.

The output is

The system cannot find the path specified.

P.S. I always have used single backslash and it never caused any problems, so what's the reason to use two?

Edited by TheWalrus
0

Share this post


Link to post
Share on other sites

UPDATED for Imagex from Program files with AIK

;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"

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Thanks. I bloody fail at this stuff big time :wacko:

0

Share this post


Link to post
Share on other sites

BTW

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

0

Share this post


Link to post
Share on other sites

UPDATED for Imagex from Program files with AIK

;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?

0

Share this post


Link to post
Share on other sites

UPDATED for Imagex from Program files with AIK

;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.

0

Share this post


Link to post
Share on other sites

Many thanks for this nice registry settings!

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

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

[HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim\command]

All works fine and TuneUp Utilities doesn't remove previous key!

by just adding .Wim\command even if blank it don't remove? Strange

I'll look at this

0

Share this post


Link to post
Share on other sites

Yes, just adding the key without value, works fine and TuneUp Utilities doesn't remove the previous key: [HKEY_CLASSES_ROOT\WIMfile\Shell\.Wim]

*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

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Updated today

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

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.