I have created a file type for ImageX files (.wim) such that when you double-click, you can get it to mount read-only, read-write automatically or to display info. Here are the registry entries that put a right-click command for Info, Mount read-only, and Mount RW. It runs the respective scripts which are available for download here:

Click to view attachment Click to view attachment Click to view attachment

You need setx.exe command for it to work.

Double-click wim image for info.
Right-click --> Mount to mount image as read-only. Do again to unmount. If setx variable gets messed up, option to reset variable.
Right-click --> Mountrw to mount read-write. Do again to unmount and it will ask to commit or not.

(Any improvements are welcomed.

CODE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.WIM]
@="ImageX"

[HKEY_CLASSES_ROOT\ImageX]
@="ImageX File"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\ImageX\DefaultIcon]
@="F:\\ImageX\\imagex.ico,0"

[HKEY_CLASSES_ROOT\ImageX\shell]
@="Info"

[HKEY_CLASSES_ROOT\ImageX\shell\Info]

[HKEY_CLASSES_ROOT\ImageX\shell\Info\command]
@="\"C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex_info.cmd\" \"%1\""

[HKEY_CLASSES_ROOT\ImageX\shell\Info\ddeexec]

[HKEY_CLASSES_ROOT\ImageX\shell\Info\ddeexec\Topic]
@="System"

[HKEY_CLASSES_ROOT\ImageX\shell\Mount]

[HKEY_CLASSES_ROOT\ImageX\shell\Mount\command]
@="\"C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex_mountro.cmd\" \"%1\""

[HKEY_CLASSES_ROOT\ImageX\shell\Mount\ddeexec]

[HKEY_CLASSES_ROOT\ImageX\shell\Mount\ddeexec\Topic]
@="System"

[HKEY_CLASSES_ROOT\ImageX\shell\Mount_RW]
@="Mount RW"

[HKEY_CLASSES_ROOT\ImageX\shell\Mount_RW\command]
@="\"C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex_mountrw.cmd\" \"%1\""

[HKEY_CLASSES_ROOT\ImageX\shell\Mount_RW\ddeexec]

[HKEY_CLASSES_ROOT\ImageX\shell\Mount_RW\ddeexec\Topic]
@="System"

(Edit the paths to your script location.)