Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DISMTools 0.5 #133

Merged
merged 55 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
b7fb089
Prepare for the next version
CodingWonders Dec 30, 2023
dbb4361
DISMTools 0.4.1 Preview 1 (#94)
CodingWonders Jan 6, 2024
0b479b6
Update README.md
CodingWonders Jan 7, 2024
3e1f027
DISMTools 0.4.1 Preview 2 (#97)
CodingWonders Jan 27, 2024
9a5e358
Update nightly installer link
CodingWonders Jan 27, 2024
406211a
Last changes for DISMTools 0.4.1 (#98)
CodingWonders Feb 2, 2024
130628a
Merge branch 'stable' into dt_preview
CodingWonders Feb 2, 2024
d45e849
Merge branch 'stable' into dt_preview
CodingWonders Feb 2, 2024
47c8284
Prepare files for next version
CodingWonders Feb 2, 2024
5bdad3e
DISMTools 0.4.2 Preview 1 (#100)
CodingWonders Feb 10, 2024
ec7991e
Update README.md
CodingWonders Feb 10, 2024
1eb3d84
DISMTools 0.4.2 Preview 2 (#101)
CodingWonders Feb 17, 2024
74dcdb5
Update README.md
CodingWonders Feb 17, 2024
7a31802
DISMTools 0.4.2 Preview 3 (#102)
CodingWonders Feb 24, 2024
80c542c
Update README.md
CodingWonders Feb 24, 2024
6d1f823
Last changes for DISMTools 0.4.2 (#103)
CodingWonders Feb 28, 2024
5213893
Update README.md
CodingWonders Feb 28, 2024
45271a3
Merge branch 'stable' into dt_preview
CodingWonders Feb 28, 2024
c5654f9
Prepare for version 0.5
CodingWonders Feb 28, 2024
a01828e
DISMTools 0.5 Preview 1 (#105)
CodingWonders Mar 2, 2024
48d2951
Update README.md
CodingWonders Mar 2, 2024
e9daa70
Update nightly installer link
CodingWonders Mar 2, 2024
dd222d5
DISMTools 0.5 Preview 2 (#106)
CodingWonders Mar 16, 2024
2f6d7e0
Update README.md
CodingWonders Mar 16, 2024
755b7a6
Add instructions for program exceptions
CodingWonders Mar 17, 2024
6f2d570
Begin experimental video playback implementation
CodingWonders Mar 19, 2024
224c6df
Update README.md
CodingWonders Mar 20, 2024
ec670d1
Tutorial Video update - 2024/03/24
CodingWonders Mar 24, 2024
9b2c224
Make use of video feed from dedicated repo
CodingWonders Mar 26, 2024
7019145
DISMTools 0.5 Preview 3 (#108)
CodingWonders Mar 30, 2024
9ec1cb9
Copy videos folder on portable installations
CodingWonders Mar 30, 2024
5a2cfd0
Update README.md
CodingWonders Mar 30, 2024
27b930d
Add contribution guidelines and steps
CodingWonders Apr 6, 2024
89a3305
DISMTools 0.5 Preview 4 (Beta 2) (#110)
CodingWonders Apr 13, 2024
94f0ff4
Update README.md
CodingWonders Apr 13, 2024
96a96a9
DISMTools 0.5 Preview 5 (#115)
CodingWonders Apr 27, 2024
fd93730
DISMTools Nightly Installer
CodingWonders Apr 27, 2024
1bc3d83
Update README.md
CodingWonders Apr 27, 2024
143cf20
DISMTools Nightly Installer
CodingWonders Apr 27, 2024
127474d
DISMTools 0.5 Preview 6 (Beta 3) (#123)
CodingWonders May 11, 2024
2ab2cc6
DISMTools Nightly Installer
CodingWonders May 11, 2024
f68cad6
Fixed update pipelines for new versions
CodingWonders May 11, 2024
ca5e766
DISMTools Nightly Installer
CodingWonders May 11, 2024
9dc3d91
Update README.md
CodingWonders May 11, 2024
f0b7566
DISMTools Nightly Installer
CodingWonders May 11, 2024
5c3d7a0
DISMTools 0.5 Preview 7 (#126)
CodingWonders May 25, 2024
bdeb43a
DISMTools Nightly Installer
CodingWonders May 25, 2024
21da271
Update README.md
CodingWonders May 25, 2024
0d8b04a
DISMTools Nightly Installer
CodingWonders May 25, 2024
0056ed5
DISMTools 0.5 Preview 8 (Beta 4) (#131)
CodingWonders Jun 8, 2024
602aea9
DISMTools Nightly Installer
CodingWonders Jun 8, 2024
4478fdc
Last changes for DISMTools 0.5 (#132)
CodingWonders Jun 23, 2024
26feadd
DISMTools Nightly Installer
CodingWonders Jun 23, 2024
7f72005
Merge branch 'stable' into dt_preview
CodingWonders Jun 24, 2024
42a738a
DISMTools Nightly Installer
CodingWonders Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified 7z/amd64/7z.dll
Binary file not shown.
Binary file modified 7z/amd64/7z.exe
Binary file not shown.
Binary file modified 7z/i386/7z.dll
Binary file not shown.
Binary file modified 7z/i386/7z.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion ApplicationEvents.vb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Namespace My
Private Sub CatchEmAll(sender As Object, e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException
ExceptionForm.ErrorText.Text = e.Exception.ToString() & CrLf & CrLf &
"Error Message: " & e.Exception.Message & CrLf & CrLf &
"Error Code (HRESULT): " & e.Exception.HResult
"Error Code (HRESULT): " & Hex(e.Exception.HResult)
Try
' Get basic information about the system. This does not include any personally identifiable information (PII) or
' serial numbers that can identify the computer this program is run on
Expand Down
6 changes: 6 additions & 0 deletions DISMTools.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DISMTools-UCS", "Updater\DISMTools-UCS\DISMTools-UCS.vbproj", "{C084B601-F395-47D3-9E66-C0582139DCF4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnpEax", "Tools\UnpEax\UnpEax.csproj", "{5330BC3F-1BFF-4200-8872-3A2236F814AB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -24,6 +26,10 @@ Global
{C084B601-F395-47D3-9E66-C0582139DCF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C084B601-F395-47D3-9E66-C0582139DCF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C084B601-F395-47D3-9E66-C0582139DCF4}.Release|Any CPU.Build.0 = Release|Any CPU
{5330BC3F-1BFF-4200-8872-3A2236F814AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5330BC3F-1BFF-4200-8872-3A2236F814AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5330BC3F-1BFF-4200-8872-3A2236F814AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5330BC3F-1BFF-4200-8872-3A2236F814AB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
86 changes: 76 additions & 10 deletions DISMTools.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@
<Compile Include="ApplicationEvents.vb" />
<Compile Include="Elements\AppxPackage.vb" />
<Compile Include="Elements\Recents.vb" />
<Compile Include="Elements\SearchBox.vb">
<SubType>Component</SubType>
</Compile>
<Compile Include="Help\HelpBrowserForm.Designer.vb">
<DependentUpon>HelpBrowserForm.vb</DependentUpon>
</Compile>
Expand Down Expand Up @@ -459,6 +462,12 @@
<Compile Include="Panels\Img_Ops\ImgCapture.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Panels\Img_Ops\ImgExport.Designer.vb">
<DependentUpon>ImgExport.vb</DependentUpon>
</Compile>
<Compile Include="Panels\Img_Ops\ImgExport.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Panels\Img_Ops\ImgIndexDelete.Designer.vb">
<DependentUpon>ImgIndexDelete.vb</DependentUpon>
</Compile>
Expand Down Expand Up @@ -561,6 +570,12 @@
<Compile Include="Panels\Internal\ProjectValueLoadForm.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Panels\ISOFiles\ISOCreator.Designer.vb">
<DependentUpon>ISOCreator.vb</DependentUpon>
</Compile>
<Compile Include="Panels\ISOFiles\ISOCreator.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Panels\MSEdge\AddEdgeBrowser.Designer.vb">
<DependentUpon>AddEdgeBrowser.vb</DependentUpon>
</Compile>
Expand Down Expand Up @@ -868,6 +883,9 @@
<EmbeddedResource Include="Panels\Img_Ops\ImgCapture.resx">
<DependentUpon>ImgCapture.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Panels\Img_Ops\ImgExport.resx">
<DependentUpon>ImgExport.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Panels\Img_Ops\ImgIndexDelete.resx">
<DependentUpon>ImgIndexDelete.vb</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -919,6 +937,9 @@
<EmbeddedResource Include="Panels\Internal\ProjectValueLoadForm.resx">
<DependentUpon>ProjectValueLoadForm.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Panels\ISOFiles\ISOCreator.resx">
<DependentUpon>ISOCreator.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Panels\MSEdge\AddEdgeBrowser.resx">
<DependentUpon>AddEdgeBrowser.vb</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1026,6 +1047,15 @@
<None Include="Helpers\extps1\mImgMgr.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Helpers\extps1\PE_Helper\files\diskpart\dp_listdisk.dp">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Helpers\extps1\PE_Helper\files\startup\startnet.cmd">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Helpers\extps1\PE_Helper\PE_Helper.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Installer\Default.isl" />
<None Include="Installer\French.isl" />
<None Include="Installer\German.isl" />
Expand Down Expand Up @@ -1207,6 +1237,18 @@
<Content Include="docs\search\main.js" />
<Content Include="docs\search\worker.js" />
<Content Include="docs\sitemap.xml" />
<Content Include="Helpers\extps1\PE_Helper\backgrounds\winpe_amd64.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Helpers\extps1\PE_Helper\backgrounds\winpe_arm.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Helpers\extps1\PE_Helper\backgrounds\winpe_arm64.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Helpers\extps1\PE_Helper\backgrounds\winpe_x86.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Installer\dt.iss" />
<Content Include="Installer\ISCC.exe" />
<Content Include="Installer\ISCmplr.dll" />
Expand Down Expand Up @@ -1266,8 +1308,19 @@
<None Include="Resources\about\gitter_chat.png" />
<None Include="Resources\import_driver.png" />
<None Include="Resources\onedrive_exclusion.png" />
<None Include="Resources\color_schemes\CS_Idle_Blue.png" />
<None Include="Resources\color_schemes\CS_Idle_Green.png" />
<None Include="Resources\color_schemes\CS_Ops_Blue.png" />
<None Include="Resources\color_schemes\CS_Ops_Green.png" />
<None Include="Resources\color_schemes\CS_ProgressPanel_Blue.png" />
<None Include="Resources\color_schemes\CS_ProgressPanel_Green.png" />
<None Include="Resources\error_32px.png" />
<None Include="Resources\search_dark.png" />
<None Include="Resources\search_light.png" />
<None Include="Resources\video_play.png" />
<None Include="Resources\progresspanel_logview_hidden.png" />
<None Include="Resources\progresspanel_logview_shown.png" />
<None Include="Resources\create_iso.png" />
<Content Include="ThemeVS2012\Resources\Dockindicator_PaneDiamond_Hotspot.png" />
<Content Include="ThemeVS2012\Resources\DockIndicator_PaneDiamond_HotspotIndex.png" />
<Content Include="ThemeVS2012\Resources\MaskArrowBottom.png" />
Expand Down Expand Up @@ -1541,6 +1594,7 @@
<ItemGroup>
<Folder Include="bin\Debug\" />
<Folder Include="Panels\Set_Ops\" />
<Folder Include="Tools\UnpEax\" />
<Folder Include="Updater\" />
<Folder Include="wimlib\" />
</ItemGroup>
Expand All @@ -1559,7 +1613,7 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<PropertyGroup>
<PostBuildEvent>SET DELETELOGDIR="Yes"
SET ISPREVIEW="No"
SET ISPREVIEW="Yes"
SET GEN_INSTALLER="Yes"
SET COPY_DOCS="Yes"
ECHO Generating program structure...
Expand All @@ -1568,14 +1622,16 @@ IF EXIST "$(SolutionDir)portable" (
ATTRIB portable +H
)
IF NOT EXIST bin (
md bin
md bin\exthelpers
md bin\extbatch
md bin\utils
md bin\extps1
move helpers\extbatch\*.* bin\extbatch
move helpers\dthelper.bat bin
move helpers\extps1\*.* bin\extps1
md "bin"
md "bin\exthelpers"
md "bin\extbatch"
md "bin\utils"
md "bin\extps1"
move "helpers\extbatch\*.*" "bin\extbatch"
move "helpers\dthelper.bat" "bin"
move "helpers\extps1\*.*" "bin\extps1"
md "bin\extps1\PE_Helper"
xcopy "helpers\extps1\PE_Helper\*.*" "bin\extps1\PE_Helper" /cehyi
IF EXIST HELPERS (
rd HELPERS /s /q
)
Expand All @@ -1602,6 +1658,12 @@ IF NOT EXIST scratch (
)
:: Copy the Internet Explorer browser emulation registry file to the program directory
copy /y "$(SolutionDir)Tools\DT_IEConfig.reg" "DT_IEConfig.reg"

IF EXIST "$(SolutionDir)Tools\UnpEax\bin\Debug\UnpEax.exe" (
md "Tools\UnpEax"
copy /y "$(SolutionDir)Tools\UnpEax\bin\Debug\UnpEax.exe" "Tools\UnpEax\UnpEax.exe"
)

IF %25ISPREVIEW%25=="Yes" (
echo You will be running a preview release, which may not be ready for production. You may experience more bugs and less stability. Please switch to a stable release whenever possible.
)
Expand Down Expand Up @@ -1653,7 +1715,11 @@ IF EXIST videos (
)

IF EXIST videos.xml (del videos.xml)
IF EXIST videos.xml.old (del videos.xml.old)</PreBuildEvent>
IF EXIST videos.xml.old (del videos.xml.old)

IF EXIST tools (
rd tools /s /q
)</PreBuildEvent>
</PropertyGroup>
<Import Project="packages\Scintilla5.NET.5.5.1\build\scintilla5.net.targets" Condition="Exists('packages\Scintilla5.NET.5.5.1\build\scintilla5.net.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down
33 changes: 33 additions & 0 deletions Elements/SearchBox.vb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Imports System
Imports System.Windows.Forms
Imports System.Runtime.InteropServices

Public Class SearchBox
Inherits TextBox

Private Const EM_SETCUEBANNER As Integer = &H1501
<DllImport("user32.dll", CharSet:=CharSet.Auto)>
Private Shared Function SendMessage(ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByVal lParam As String) As Int32
End Function

Protected Overrides Sub OnHandleCreated(e As EventArgs)
MyBase.OnHandleCreated(e)
If Not String.IsNullOrEmpty(cueBanner) Then UpdateCueBanner()
End Sub

Private m_CueBanner As String
Public Property cueBanner As String
Get
Return m_CueBanner
End Get
Set(value As String)
m_CueBanner = value
UpdateCueBanner()
End Set
End Property

Private Sub UpdateCueBanner()
SendMessage(Handle, EM_SETCUEBANNER, 0, cueBanner)
End Sub

End Class
8 changes: 7 additions & 1 deletion Help/HelpBrowserForm.vb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Public Class HelpBrowserForm

Dim TitleMsg As String = ""
Dim CurrentSite As String = ""
Dim DocTitle As String = ""

Private Sub HelpBrowserForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Select Case MainForm.Language
Expand Down Expand Up @@ -39,7 +40,12 @@ Public Class HelpBrowserForm
Process.Start(e.Url.AbsoluteUri)
WebBrowser1.Navigate(CurrentSite)
End If
Text = WebBrowser1.DocumentTitle & " - " & TitleMsg
If WebBrowser1.DocumentTitle = "" Then
Text = DocTitle & " - " & TitleMsg
Else
Text = WebBrowser1.DocumentTitle & " - " & TitleMsg
If e.Url.AbsoluteUri.StartsWith("file:///") Then DocTitle = WebBrowser1.DocumentTitle
End If
CurrentSite = e.Url.AbsoluteUri
End Sub

Expand Down
1 change: 1 addition & 0 deletions Helpers/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ We can provide a short description of all scripts in this directory:
| `extbatch\options.bat` | (Functionality _to be added_) Options script that configures the Command Console |
| `extps1\extappx.ps1` | The Extended AppX package getter script, which is run when managing online installations |
| `extps1\mImgMgr.ps1` | The CLI version of the mounted image manager, which lets you manage your mounted Windows images |
| `extps1\PE_Helper\PE_Helper.ps1` | The DISMTools Preinstallation Environment (PE) Helper |

This list of scripts will be updated as we add new scripts in this directory.

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.2
:: DISMTools Helper Script - version 0.5
@echo off


:init
:: Set initial vars
set script_ver=v0.4.2
set script_ver=v0.5
set outputmode=0
:: outputmode=0 (output to file)
:: 1 (output to console)
Expand Down
Loading