Skip to content

Commit

Permalink
DISMTools 0.4.2 Preview 1 (#100)
Browse files Browse the repository at this point in the history
* Begin Portuguese translations (only affects some menus, don't use yet)

* Update versions in some files to reference 0.4.2

* Add a couple of driver import enhancements

* Update DISM API package to 3.1

* Add option to pick a mounted image in the image file info dialog

* Add missing translations of driver import dialog

* Update What's New section, and update system information files
  • Loading branch information
CodingWonders committed Feb 10, 2024
1 parent 47c8284 commit 5bdad3e
Show file tree
Hide file tree
Showing 25 changed files with 480 additions and 77 deletions.
2 changes: 1 addition & 1 deletion DISMTools.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<HintPath>packages\DarkUI.2.0.2\lib\DarkUI.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Dism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5bba90053b345501, processorArchitecture=MSIL">
<HintPath>packages\Microsoft.Dism.3.0.0\lib\net40\Microsoft.Dism.dll</HintPath>
<HintPath>packages\Microsoft.Dism.3.1.0\lib\net40\Microsoft.Dism.dll</HintPath>
</Reference>
<Reference Include="ScintillaNET, Version=3.6.3.0, Culture=neutral, PublicKeyToken=d42c48f11a620156, processorArchitecture=MSIL">
<HintPath>packages\jacobslusser.ScintillaNET.Signed.3.6.3\lib\net40\ScintillaNET.dll</HintPath>
Expand Down
4 changes: 2 additions & 2 deletions Helpers/dthelper.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:: DISMTools Helper Script - version 0.4.1
:: DISMTools Helper Script - version 0.4.2
@echo off


:init
:: Set initial vars
set script_ver=v0.4.1
set script_ver=v0.4.2
set outputmode=0
:: outputmode=0 (output to file)
:: 1 (output to console)
Expand Down
2 changes: 1 addition & 1 deletion Helpers/extps1/extappx.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DISMTools 0.4.1 - Extended AppX package getter for online installations
# DISMTools 0.4.2 - Extended AppX package getter for online installations

Import-Module Appx

Expand Down
4 changes: 2 additions & 2 deletions Helpers/extps1/mImgMgr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# .'^""""""^.
# '^`'. '^"""""""^.
# .^"""""`' .^"""""""^. ---------------------------------------------------------
# .^""""""` ^"""""""` | DISMTools 0.4.1 |
# .^""""""` ^"""""""` | DISMTools 0.4.2 |
# ."""""""^. `""""""""' `,` | The connected place for Windows system administration |
# '`""""""`. """""""""^ `,,," ---------------------------------------------------------
# '^"""""`. ^""""""""""'. .`,,,,,^ | Mounted image manager (CLI version) |
Expand Down Expand Up @@ -55,7 +55,7 @@ $global:selImage = 0
$global:imgInfo = ''
$newImg = 0
$selImgPath = ''
$ver = '0.4.1'
$ver = '0.4.2'
$global:img_removalIndexes = New-Object System.Collections.ArrayList
$global:img_remIndexesBck = New-Object System.Collections.ArrayList

Expand Down
Binary file modified Installer/Output/dt_setup.exe
Binary file not shown.
366 changes: 364 additions & 2 deletions MainForm.vb

Large diffs are not rendered by default.

23 changes: 5 additions & 18 deletions My Project/Resources.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 5 additions & 35 deletions My Project/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1097,42 +1097,12 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
<value>..\Resources\get_appxpkg_info.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WhatsNew" xml:space="preserve">
<value>Changes made since last preview
<value>New features

Bugfixes

- Dates of the RSS feed news are now represented correctly

New features

- Added 2 new command-line arguments: "/offline" (enters the offline installation management mode) and "/?" (shows a command line help message)

Removed features

- The old method of getting drives through WMIC is now removed. Typing "dthelper /drinfo" will now result in an unrecognized command

Overall changes

Bugfixes

- Driver information background processes no longer fail on Windows 7 images
- The image information report preview window is no longer shown behind other windows
- The help documentation content browser no longer redirects to the Help home page if its window lost focus or was minimized
- Fixed an issue where the program would try to save the offline installation management mode pseudo-project after performing element processing
- Fixed a typo in the description of error code 0xC142010C
- Package, feature, and capability operations now pass the "/norestart" flag to DISM to skip system restart questions

New features

- You can now get image file information of SWM files
- Introduced a PRI resource extractor that comes in handy when getting friendly AppX package display names
- The Options window has been redesigned
- Image status watchers have been added, which detect status changes in an image and notify you of such changes
- CODE: background processes no longer depend on the "expBackgroundProcesses" variable
- You can now import the driver packages from one image to another to provide the same hardware compatibility
- If some packages, features, or capabilities require a system restart, you will now be notified

Help documentation update versions: "v0.4.1.2411"</value>
- An initial implementation of Portuguese translations has been added
- When picking an image in the driver import dialog, you will now see the image file associated with its mount directory
- When selecting the boot drive in the offline installation source of the driver import dialog, it will switch to the online installation automatically
- You can now pick a mounted image in the image file information dialog</value>
</data>
<data name="split_img" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\split_img.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
Expand Down
2 changes: 1 addition & 1 deletion Panels/Exe_Ops/Options.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Panels/Exe_Ops/Options.vb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Public Class Options
Dim CanExit As Boolean
Dim SaveLocations() As String = New String(1) {"Settings file", "Registry"}
Dim ColorModes() As String = New String(2) {"Use system setting", "Light mode", "Dark mode"}
Dim Languages() As String = New String(3) {"Use system language", "English", "Spanish", "French"}
Dim Languages() As String = New String(4) {"Use system language", "English", "Spanish", "French", "Portuguese"}
Dim LogViews() As String = New String(1) {"list", "table"}
Dim NotFreqs() As String = New String(1) {"Every time a project has been loaded successfully", "Once"}

Expand Down
17 changes: 15 additions & 2 deletions Panels/Get_Ops/GetImgInfoDlg.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Panels/Get_Ops/GetImgInfoDlg.vb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Public Class GetImgInfoDlg
RadioButton2.Text = "Another image"
Button1.Text = "Browse..."
Button2.Text = "Save..."
Button3.Text = "Pick..."
ListView1.Columns(0).Text = "Index"
ListView1.Columns(1).Text = "Image name"
OpenFileDialog1.Title = "Specify the image to get the information from"
Expand Down Expand Up @@ -77,6 +78,7 @@ Public Class GetImgInfoDlg
RadioButton2.Text = "Otra imagen"
Button1.Text = "Examinar..."
Button2.Text = "Guardar..."
Button3.Text = "Escoger..."
ListView1.Columns(0).Text = "Índice"
ListView1.Columns(1).Text = "Nombre de imagen"
OpenFileDialog1.Title = "Especifique la imagen de la que obtener información"
Expand Down Expand Up @@ -108,6 +110,7 @@ Public Class GetImgInfoDlg
RadioButton2.Text = "Autre image"
Button1.Text = "Parcourir..."
Button2.Text = "Sauvegarder..."
Button3.Text = "Choisir..."
ListView1.Columns(0).Text = "Index"
ListView1.Columns(1).Text = "Nom de l'image"
OpenFileDialog1.Title = "Spécifier l'image à partir de laquelle l'information doit être obtenue"
Expand Down Expand Up @@ -140,6 +143,7 @@ Public Class GetImgInfoDlg
RadioButton2.Text = "Another image"
Button1.Text = "Browse..."
Button2.Text = "Save..."
Button3.Text = "Pick..."
ListView1.Columns(0).Text = "Index"
ListView1.Columns(1).Text = "Image name"
OpenFileDialog1.Title = "Specify the image to get the information from"
Expand Down Expand Up @@ -171,6 +175,7 @@ Public Class GetImgInfoDlg
RadioButton2.Text = "Otra imagen"
Button1.Text = "Examinar..."
Button2.Text = "Guardar..."
Button3.Text = "Escoger..."
ListView1.Columns(0).Text = "Índice"
ListView1.Columns(1).Text = "Nombre de imagen"
OpenFileDialog1.Title = "Especifique la imagen de la que obtener información"
Expand Down Expand Up @@ -202,6 +207,7 @@ Public Class GetImgInfoDlg
RadioButton2.Text = "Autre image"
Button1.Text = "Parcourir..."
Button2.Text = "Sauvegarder..."
Button3.Text = "Choisir..."
ListView1.Columns(0).Text = "Index"
ListView1.Columns(1).Text = "Nom de l'image"
OpenFileDialog1.Title = "Spécifier l'image à partir de laquelle l'information doit être obtenue"
Expand Down Expand Up @@ -597,4 +603,11 @@ Public Class GetImgInfoDlg
InfoSaveResults.Show()
End If
End Sub

Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
PopupImageManager.Location = Button3.PointToScreen(Point.Empty)
If PopupImageManager.ShowDialog() = DialogResult.OK Then
TextBox1.Text = PopupImageManager.selectedImgFile
End If
End Sub
End Class
29 changes: 27 additions & 2 deletions Panels/Img_Ops/Drivers/ImportDrivers.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5bdad3e

Please sign in to comment.