-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCBSEnum_Main.dfm
More file actions
378 lines (378 loc) · 10.2 KB
/
CBSEnum_Main.dfm
File metadata and controls
378 lines (378 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
object MainForm: TMainForm
Left = 0
Top = 0
Caption = 'Packages'
ClientHeight = 578
ClientWidth = 686
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Menu = MainMenu
OldCreateOrder = False
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 501
Top = 0
Width = 185
Height = 360
Align = alRight
BevelOuter = bvNone
TabOrder = 0
DesignSize = (
185
360)
object Label1: TLabel
Left = 8
Top = 8
Width = 30
Height = 13
Caption = 'Show:'
end
object Label2: TLabel
Left = 6
Top = 106
Width = 33
Height = 13
Caption = 'Group:'
end
object cbShowWOW64: TCheckBox
Left = 6
Top = 50
Width = 171
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'WOW64 versions'
Checked = True
State = cbChecked
TabOrder = 0
OnClick = cbShowWOW64Click
end
object cbShowKb: TCheckBox
Left = 6
Top = 73
Width = 171
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'KB updates'
TabOrder = 1
OnClick = cbShowWOW64Click
end
object pnlGroupMode: TPanel
Left = 0
Top = 125
Width = 185
Height = 62
Anchors = [akLeft, akTop, akRight]
BevelOuter = bvNone
TabOrder = 2
DesignSize = (
185
62)
object rbGroupEachPart: TRadioButton
Left = 6
Top = 0
Width = 171
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'By each part of the name'
TabOrder = 0
OnClick = rbGroupEachPartClick
end
object rbGroupDistinctParts: TRadioButton
Left = 6
Top = 23
Width = 171
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'By distinct parts'
Checked = True
TabOrder = 1
TabStop = True
OnClick = rbGroupEachPartClick
end
object rbGroupFlat: TRadioButton
Left = 6
Top = 46
Width = 171
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Flat list'
TabOrder = 2
OnClick = rbGroupEachPartClick
end
end
object cbShowHidden: TCheckBox
Left = 6
Top = 27
Width = 171
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Hidden packages'
Checked = True
State = cbChecked
TabOrder = 3
OnClick = cbShowWOW64Click
end
end
object Panel3: TPanel
Left = 0
Top = 0
Width = 501
Height = 360
Align = alClient
BevelOuter = bvNone
TabOrder = 1
object vtPackages: TVirtualStringTree
Left = 0
Top = 24
Width = 501
Height = 336
Align = alClient
BorderWidth = 1
Header.AutoSizeIndex = 0
Header.Font.Charset = DEFAULT_CHARSET
Header.Font.Color = clWindowText
Header.Font.Height = -11
Header.Font.Name = 'Tahoma'
Header.Font.Style = []
Header.MainColumn = -1
PopupMenu = PopupMenu
TabOrder = 0
TreeOptions.MiscOptions = [toFullRepaintOnResize, toInitOnSave, toToggleOnDblClick, toWheelPanning, toEditOnClick]
TreeOptions.PaintOptions = [toHideFocusRect, toShowButtons, toShowDropmark, toShowRoot, toShowTreeLines, toThemeAware, toUseBlendedImages]
TreeOptions.SelectionOptions = [toFullRowSelect, toMultiSelect, toRightClickSelect]
OnFocusChanged = vtPackagesFocusChanged
OnFreeNode = vtPackagesFreeNode
OnGetText = vtPackagesGetText
OnPaintText = vtPackagesPaintText
OnGetNodeDataSize = vtPackagesGetNodeDataSize
OnInitNode = vtPackagesInitNode
Columns = <>
end
object edtFilter: TEdit
Left = 0
Top = 0
Width = 501
Height = 24
Align = alTop
BevelInner = bvNone
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
OnChange = edtFilterChange
OnKeyDown = edtFilterKeyDown
end
end
object pcPageInfo: TPageControl
Left = 0
Top = 360
Width = 686
Height = 218
ActivePage = tsInfo
Align = alBottom
TabOrder = 2
object tsInfo: TTabSheet
Caption = 'Info'
OnEnter = tsInfoEnter
DesignSize = (
678
190)
object lblDescription: TLabel
Left = 6
Top = 3
Width = 669
Height = 54
Anchors = [akLeft, akTop, akRight]
AutoSize = False
ExplicitWidth = 585
end
object lbUpdates: TListBox
Left = 3
Top = 63
Width = 671
Height = 97
Anchors = [akLeft, akTop, akRight]
ItemHeight = 13
TabOrder = 0
end
end
object tsResources: TTabSheet
Caption = 'Resources'
ImageIndex = 1
OnEnter = tsResourcesEnter
end
end
object PopupMenu: TPopupMenu
OnPopup = PopupMenuPopup
Left = 144
Top = 16
object pmCopySubmenu: TMenuItem
Caption = 'Copy'
object pmCopyPackageNames: TMenuItem
Caption = 'Package names'
Hint = 'Copy all selected package names into clipboard'
ShortCut = 16451
OnClick = pmCopyPackageNamesClick
end
object pmCopyUninstallationCommands: TMenuItem
Caption = 'Uninstallation commands'
Hint =
'Copy DISM command for uninstalling all selected packages into cl' +
'ipboard'
OnClick = pmCopyUninstallationCommandsClick
end
end
object Saveselectedpackagelist1: TMenuItem
Caption = 'Save selected package list...'
OnClick = Saveselectedpackagelist1Click
end
object pmVisibility: TMenuItem
Caption = 'Visibility'
object pmMakeVisible: TMenuItem
Caption = 'Make visible'
OnClick = pmMakeVisibleClick
end
object pmMakeInvisible: TMenuItem
Caption = 'Make invisible'
OnClick = pmMakeInvisibleClick
end
object pmRestoreDefaultVisibility: TMenuItem
Caption = 'Restore default visibility'
OnClick = pmRestoreDefaultVisibilityClick
end
end
object pmManageSubmenu: TMenuItem
Caption = 'Manage'
object pmDecouplePackages: TMenuItem
Caption = 'Decouple'
OnClick = pmDecouplePackagesClick
end
end
object pmUninstall: TMenuItem
Caption = 'Uninstall'
Hint = 'Uninstall selected package'
OnClick = pmUninstallAllClick
end
object pmUninstallAll: TMenuItem
Caption = 'Uninstall all'
Hint = 'Uninstall all selected packages'
OnClick = pmUninstallAllClick
end
object N1: TMenuItem
Caption = '-'
end
object pmReload: TMenuItem
Caption = 'Reload'
OnClick = pmReloadClick
end
end
object ImageList1: TImageList
Left = 80
Top = 16
end
object MainMenu: TMainMenu
Left = 16
Top = 16
object File1: TMenuItem
Caption = 'File'
object pmSavePackageList: TMenuItem
Caption = 'Save package list...'
OnClick = pmSavePackageListClick
end
object pmUninstallByList: TMenuItem
Caption = 'Uninstall by list...'
OnClick = pmUninstallByListClick
end
object N2: TMenuItem
Caption = '-'
end
object Exit1: TMenuItem
Caption = 'Exit'
OnClick = Exit1Click
end
end
object Edit1: TMenuItem
Caption = 'Edit'
object pmTakeRegistryOwnership: TMenuItem
Caption = 'Take registry ownership'
Hint = 'Take ownership of CBS registry key in a safe manner'
OnClick = pmTakeRegistryOwnershipClick
end
object pmDecoupleAllPackages: TMenuItem
Caption = 'Decouple all packages'
Hint =
'Decouple all packages from their configured parents so that they' +
' can be uninstalled separately from the whole system'
OnClick = pmDecoupleAllPackagesClick
end
object N3: TMenuItem
Caption = '-'
end
object pmMakeAllVisibile: TMenuItem
Caption = 'Make all visible'
OnClick = pmMakeAllVisibileClick
end
object pmMakeAllInvisible: TMenuItem
Caption = 'Make all invisible'
OnClick = pmMakeAllInvisibleClick
end
object pmRestoreDefaltVisibilityAll: TMenuItem
Caption = 'Restore default visibility for all'
OnClick = pmRestoreDefaltVisibilityAllClick
end
object N4: TMenuItem
Caption = '-'
end
object Rebuildassemblydatabase1: TMenuItem
Caption = 'Rebuild assembly database'
OnClick = Rebuildassemblydatabase1Click
end
end
object Service1: TMenuItem
Caption = 'Service'
object pmOpenCBSRegistry: TMenuItem
Caption = 'Open CBS registry...'
Hint = 'Open registry editor at a CBS key'
OnClick = pmOpenCBSRegistryClick
end
object Diskcleanup1: TMenuItem
Caption = 'Disk cleanup...'
Hint = 'Run disk cleanup utility'
OnClick = Diskcleanup1Click
end
object DismCleanup1: TMenuItem
Caption = 'DISM image cleanup...'
OnClick = DismCleanup1Click
end
object Optionalfeatures1: TMenuItem
Caption = 'Optional features...'
Hint = 'Enable or disalbe optional Windows features'
OnClick = Optionalfeatures1Click
end
end
end
object UninstallListOpenDialog: TOpenDialog
Filter = 'All files (*.*)|*.*'
Title = 'Select uninstall list'
Left = 56
Top = 72
end
object PackageListSaveDialog: TSaveTextFileDialog
DefaultExt = '*.*'
Filter = 'Text files (*.txt)|*.txt|All files (*.*)|*.*'
Title = 'Save package list'
Left = 56
Top = 136
end
end