Skip to content

Commit 3cd5f88

Browse files
committed
Learn Editor: Update msixmgr-tool-syntax-description.md
1 parent 9e85211 commit 3cd5f88

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

articles/virtual-desktop/msixmgr-tool-syntax-description.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ msixmgr.exe -RemovePackage notepadplus_0.0.0.1_x64__8wekyb3d8bbwe
6060

6161

6262

63+
64+
65+
66+
67+
68+
6369
**- FindPackage**
6470
Finds package with specific package full name
6571
Example:
@@ -86,15 +92,16 @@ msixmgr.exe -applyacls
8692

8793
**-MountImage**
8894
Mounts VHD, VHDX, or CIM image
89-
Example:
95+
Example:
96+
-MountImage [path to the MSIX package] [optional arguments]
9097

9198
```
92-
msixmgr.exe -MountImage
99+
msixmgr.exe -MountImage
93100
```
94101

95102
|Optional parameters|Description|Example|
96103
| -------- | -------- | -------- |
97-
|-imagePath|Specifies path to image file to mount or unmount|`msixmgr.exe -MountImage -imagePath "C:\Users\User\abc\xyz.cim"`|
104+
|-imagePath|Specifies path to image file to mount or unmount|`x`|
98105
|-filetype |Specifies type of file to mount or unmount. The following file types are currently supported: {VHD, VHDX, CIM}|`msixmgr.exe -MountImage -imagePath "C:\Users\User\abc\xyz.cim" -filetype "cim" `|
99106
|-readOnly|Boolean (true of false) indicating whether a VHD(X) should be mounted as read only. If not specified, the image is mounted as read-only by default  |`msixmgr.exe -MountImage -imagePath "C:\Users\User\abc\xyz.cim" -filetype "cim" -readOnly false`|
100107

@@ -105,10 +112,11 @@ msixmgr.exe -MountImage
105112

106113

107114

115+
108116
**-UnmountImage**
109117
Unmounts VHD, VHDX, or CIM image
110-
Example:
111-
118+
Example:
119+
-UnmountImage [path to the MSIX package] [optional arguments]
112120
```
113121
msixmgr.exe -UnmountImage
114122
```
@@ -126,11 +134,16 @@ Unpacks package (.appx, .msix, .appxbundle, .msixbundle) and extract its content
126134
> [!NOTE]
127135
> VHD Size is recommended to be four times the size of MSIX package
128136
129-
Unpacks package (.appx, .msix, .appxbundle, .msixbundle) and extract its contents to a folder.   Note: VHD Size is recommended to be four times the size of MSIX package
130-
Example:
131-
137+
Example:
138+
For CimFS:
132139
```
133140
msixmgr.exe -Unpack -packagePath "C:\Users\ssa\Desktop\FileZillaChanged_3.51.1.0_x64__81q6ced8g4aa0.msix" -destination "c:\temp\FileZillaChanged.cim" -applyacls -create -vhdSize 200 -filetype "cim" -rootDirectory apps
141+
```
142+
143+
144+
For VHDx:
145+
```
146+
134147
msixmgr.exe -Unpack -packagePath "C:\Users\ssa\Desktop\FileZillaChanged_3.51.1.0_x64__81q6ced8g4aa0.msix" -destination "c:\temp\FileZillaChanged.vhdx" -applyacls -create -vhdSize 200 -filetype "vhdx" -rootDirectory apps
135148
```
136149

@@ -171,3 +184,13 @@ If you have questions about MSIX app attach, see our [App attach FAQ](/azure/vir
171184

172185

173186

187+
188+
189+
190+
191+
192+
193+
194+
195+
196+

0 commit comments

Comments
 (0)