Skip to content

Commit 5796cf3

Browse files
DISMTools 0.7.2 Preview 3 (#310)
* Update assembly information * [PE Helper/HotInstall] Ignore errors on BOOTMGR view settings * [Unattended answer file/DTSS] New Git folder integration starter script * [Installer] Increase installer window size, update GPL license to use RTF version * [PE Helper] Update Sysprep Preparator (v0.7.2_p3; lots of updates) * [PE Helper/Main Menu] Add option for sysprep preparator * [Fix] Fixed crash * [PE Helper/Main Menu] Fixed dialog cancellation * [PE Helper/SysprepPreparator] Update binary * [Docs/Tour] Update submodule * [Lib] Update Markdig to 0.44.0 * [PE Helper] Added computer inventory support script for DT PE * [ServiceManager] Order svchost groups by name when they have an equal amount of services * [PE Helper/Sysprep Preparator] Update binary * [Unattended answer file/DTSS] Update to DTSS format; new Starter Script browser * [Unattended answer file/DTSS Browser] Disable OK button by default * [Unattended answer file] Modify default postinst script code * [PE Helper/Sysprep Preparator] Update binary * Italian language update (#307) * Italian language update * Delete license.rtf license.rtf is not needed here; it's now included in the installer --------- Co-authored-by: CodingWonders <[email protected]> * [PE Helper/Sysprep Preparator] Update binary * [Languages] Improve Italian translation * [Unattended answer file/DTSS] Make it easier to set the wallpaper path * [REL] Update What's New section --------- Co-authored-by: bovirus <[email protected]>
1 parent 134853c commit 5796cf3

File tree

102 files changed

+9733
-873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+9733
-873
lines changed

DISMTools.vbproj

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
<Reference Include="INIFileParser, Version=2.5.2.0, Culture=neutral, PublicKeyToken=79af7b307b65cf3c, processorArchitecture=MSIL">
8181
<HintPath>packages\ini-parser.2.5.2\lib\net20\INIFileParser.dll</HintPath>
8282
</Reference>
83-
<Reference Include="Markdig, Version=0.43.0.0, Culture=neutral, processorArchitecture=MSIL">
84-
<HintPath>packages\Markdig.0.43.0\lib\net462\Markdig.dll</HintPath>
83+
<Reference Include="Markdig, Version=0.44.0.0, Culture=neutral, processorArchitecture=MSIL">
84+
<HintPath>packages\Markdig.0.44.0\lib\net462\Markdig.dll</HintPath>
8585
</Reference>
8686
<Reference Include="Microsoft.Dism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5bba90053b345501, processorArchitecture=MSIL">
8787
<HintPath>packages\Microsoft.Dism.4.0.0\lib\net40\Microsoft.Dism.dll</HintPath>
@@ -113,8 +113,8 @@
113113
<Reference Include="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
114114
<Private>True</Private>
115115
</Reference>
116-
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
117-
<HintPath>packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
116+
<Reference Include="System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
117+
<HintPath>packages\System.Buffers.4.6.1\lib\net462\System.Buffers.dll</HintPath>
118118
</Reference>
119119
<Reference Include="System.ComponentModel.Composition">
120120
<Private>True</Private>
@@ -141,8 +141,8 @@
141141
<Reference Include="System.Management">
142142
<Private>True</Private>
143143
</Reference>
144-
<Reference Include="System.Memory, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
145-
<HintPath>packages\System.Memory.4.6.0\lib\net462\System.Memory.dll</HintPath>
144+
<Reference Include="System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
145+
<HintPath>packages\System.Memory.4.6.3\lib\net462\System.Memory.dll</HintPath>
146146
</Reference>
147147
<Reference Include="System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
148148
<HintPath>packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll</HintPath>
@@ -152,16 +152,16 @@
152152
<Reference Include="System.Numerics">
153153
<Private>True</Private>
154154
</Reference>
155-
<Reference Include="System.Numerics.Vectors, Version=4.1.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
156-
<HintPath>packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll</HintPath>
155+
<Reference Include="System.Numerics.Vectors, Version=4.1.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
156+
<HintPath>packages\System.Numerics.Vectors.4.6.1\lib\net462\System.Numerics.Vectors.dll</HintPath>
157157
</Reference>
158158
<Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
159159
<HintPath>packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
160160
<Private>True</Private>
161161
<Private>True</Private>
162162
</Reference>
163-
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
164-
<HintPath>packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
163+
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
164+
<HintPath>packages\System.Runtime.CompilerServices.Unsafe.6.1.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
165165
</Reference>
166166
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
167167
<HintPath>packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
@@ -236,6 +236,7 @@
236236
<Compile Include="Elements\AutoUnattend\NetworkConnections\WirelessSettings.vb" />
237237
<Compile Include="Elements\AutoUnattend\ProductKey\ProductKey.vb" />
238238
<Compile Include="Elements\AutoUnattend\Scripts\PostInstallScript.vb" />
239+
<Compile Include="Elements\AutoUnattend\StarterScripts\StarterScript.vb" />
239240
<Compile Include="Elements\AutoUnattend\SysConfig\ComputerName.vb" />
240241
<Compile Include="Elements\AutoUnattend\SysConfig\SVSettings.vb" />
241242
<Compile Include="Elements\AutoUnattend\Telemetry\SystemTelemetry.vb" />
@@ -858,6 +859,12 @@
858859
<Compile Include="Panels\Unattend_Files\Addition\NewUnattendWiz.vb">
859860
<SubType>Form</SubType>
860861
</Compile>
862+
<Compile Include="Panels\Unattend_Files\Addition\SampleScriptBrowser.Designer.vb">
863+
<DependentUpon>SampleScriptBrowser.vb</DependentUpon>
864+
</Compile>
865+
<Compile Include="Panels\Unattend_Files\Addition\SampleScriptBrowser.vb">
866+
<SubType>Form</SubType>
867+
</Compile>
861868
<Compile Include="Panels\Unattend_Files\Management\UnattendMgr.Designer.vb">
862869
<DependentUpon>UnattendMgr.vb</DependentUpon>
863870
</Compile>
@@ -1197,6 +1204,9 @@
11971204
<EmbeddedResource Include="Panels\Unattend_Files\Addition\NewUnattendWiz.resx">
11981205
<DependentUpon>NewUnattendWiz.vb</DependentUpon>
11991206
</EmbeddedResource>
1207+
<EmbeddedResource Include="Panels\Unattend_Files\Addition\SampleScriptBrowser.resx">
1208+
<DependentUpon>SampleScriptBrowser.vb</DependentUpon>
1209+
</EmbeddedResource>
12001210
<EmbeddedResource Include="Panels\Unattend_Files\Management\UnattendMgr.resx">
12011211
<DependentUpon>UnattendMgr.vb</DependentUpon>
12021212
</EmbeddedResource>
@@ -1229,6 +1239,7 @@
12291239
<None Include="Elements\AutoUnattend\StarterScripts\DuringSystemConfiguration\Enable Verbose Status Messages.dtss" />
12301240
<None Include="Elements\AutoUnattend\StarterScripts\DuringSystemConfiguration\Set Quick Machine Recovery Settings.dtss" />
12311241
<None Include="Elements\AutoUnattend\StarterScripts\DuringSystemConfiguration\Set OEM Information.dtss" />
1242+
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Configure Git folders for File Explorer.dtss" />
12321243
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Set Registered Owner and Organization Information.dtss" />
12331244
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Set Personalization Settings.dtss" />
12341245
<None Include="Elements\AutoUnattend\StarterScripts\WhenFirstUserLogsOn\Update Microsoft Store Apps.dtss" />
@@ -1269,6 +1280,9 @@
12691280
<None Include="Helpers\extps1\PE_Helper\files\scripts\initializenetwork.bat">
12701281
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
12711282
</None>
1283+
<None Include="Helpers\extps1\PE_Helper\files\startup\DTPE_Inventory.ps1">
1284+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1285+
</None>
12721286
<None Include="Helpers\extps1\PE_Helper\files\startup\menu.ps1">
12731287
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
12741288
</None>

Elements/AutoUnattend/StarterScripts/DuringSystemConfiguration/Close First Logon Animation.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: Batch
2+
Name: Close First Logon Animation Process
3+
Description: This script closes the First Logon Animation process and allows a system to reach the desktop sooner. This works on Windows 10 and Windows 11.
24

35
@echo off
46
REM This script forcefully closes the First Logon Animation process. This helps you reach the desktop

Elements/AutoUnattend/StarterScripts/DuringSystemConfiguration/Enable Verbose Status Messages.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: Batch
2+
Name: Enable Verbose Status Messages
3+
Description: This script enables the verbose status messages that are enabled by default on Windows Server. This can help report service start/stop status.
24

35
@echo off
46
REM This script enables verbose startup messages on client editions of Windows. It

Elements/AutoUnattend/StarterScripts/DuringSystemConfiguration/Set OEM Information.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: Batch
2+
Name: Set Original Equipment Manufacturer (OEM) information
3+
Description: This script configures OEM settings such as the manufacturer or the model to further customize a Windows installation.
24

35
@echo off
46
REM This script configures OEM Information that you can see in system information screens.

Elements/AutoUnattend/StarterScripts/DuringSystemConfiguration/Set Quick Machine Recovery Settings.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: Batch
2+
Name: Set Quick Machine Recovery (QMR) settings
3+
Description: This script configures a target system's Quick Machine Recovery settings on Windows 11 24H2 and later.
24

35
@echo off
46
REM This script configures Quick Machine Recovery (QMR) settings. QMR is a new recovery
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Public Class StarterScript
2+
3+
Public Property Name As String
4+
Public Property Description As String
5+
Public Property Language As String
6+
Public Property ScriptCode As String
7+
8+
Public Sub New(name As String, description As String, language As String, scriptCode As String)
9+
Me.Name = name
10+
Me.Description = description
11+
Me.Language = language
12+
Me.ScriptCode = scriptCode
13+
End Sub
14+
15+
Public Overrides Function ToString() As String
16+
Return "Starter Script. Name: " & Name & ". Description: " & Description & ". Language: " & Language
17+
End Function
18+
19+
End Class
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Language: PowerShell
2+
Name: Configure folders for Git integration
3+
Description: This script configures a folder, or a set of folders, for Git source control integration in the File Explorer. Git and the latest versions of system components need to be installed in the target system to take advantage of all features.
4+
5+
# This script configures folders eligible for VCS integration with the system's File Explorer. These settings
6+
# can be configured later from Settings -> System -> Advanced -> File Explorer. This script is useful
7+
# for developers who use Git and want to look at commit information from within the File Explorer, without
8+
# resorting to Git clients.
9+
10+
# To add a folder for Git integration, simply specify it as a value in the gitFolders array, like this:
11+
# $gitFolders = @(
12+
# "path\to\git\repo",
13+
# "path\to\another\git\repo",
14+
# ...
15+
# )
16+
17+
$gitFolders = @(
18+
"<your folders here>"
19+
)
20+
21+
# leave the rest as is
22+
23+
# This GUID is defined in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes. Its canonical name is
24+
# "VersionControl". If this GUID ever changes, reflect it here.
25+
$SOURCECONTROL_FOLDERTYPEGUID = "{69F1E26B-EC64-4280-BC83-F1EB887EC35A}"
26+
27+
# This GUID is defined in HKLM\SOFTWARE\Classes\PackagedCom\ClassIndex. It points to the DevHome APPX.
28+
$SOURCECONTROL_PROPERTYPROVIDERGUID = "{1212F95B-257E-414E-B44F-F26634BD2627}"
29+
30+
# we'll fool Windows into believing we did all this via Settings
31+
$SOURCECONTROL_REGISTEREDAPPID = "windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel"
32+
33+
# go through all the user-specified folders to be tracked by VCS
34+
foreach ($gitFolder in $gitFolders) {
35+
# for each entry we need to create a new GUID
36+
$gitFolderGuid = (New-Guid).Guid.ToUpper()
37+
38+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\PerFolderRoots\{$gitFolderGuid}" /F
39+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\PerFolderRoots\{$gitFolderGuid}" /F /V FolderType /T REG_SZ /D "$SOURCECONTROL_FOLDERTYPEGUID"
40+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\PerFolderRoots\{$gitFolderGuid}" /F /V Path /T REG_SZ /D "$gitFolder"
41+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\PerFolderRoots\{$gitFolderGuid}" /F /V PropertyProvider /T REG_SZ /D "$SOURCECONTROL_PROPERTYPROVIDERGUID"
42+
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\PerFolderRoots\{$gitFolderGuid}" /F /V RegisteredAppID /T REG_SZ /D "$SOURCECONTROL_REGISTEREDAPPID"
43+
}

Elements/AutoUnattend/StarterScripts/WhenFirstUserLogsOn/Invoke WinUtil configuration.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: PowerShell
2+
Name: Invoke Windows Utility configuration
3+
Description: This script configures a target system using a configuration file exported from the Windows Utility.
24

35
# Export your WinUtil configuration file to "winutil-config.json" on the root of the target
46
# Windows installation.

Elements/AutoUnattend/StarterScripts/WhenFirstUserLogsOn/Set Personalization Settings.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: PowerShell
2+
Name: Set Personalization Settings
3+
Description: This script configures settings related to color modes and accent colors on the user environment of the target system.
24

35
# This script was grabbed from an answer file in Christoph Schneegans' service.
46

Elements/AutoUnattend/StarterScripts/WhenFirstUserLogsOn/Set Registered Owner and Organization Information.dtss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Language: Batch
2+
Name: Set Registered Owner and Organization Information
3+
Description: This script configures the registered owner and organization of the target system.
24

35
@echo off
46
REM This script sets up registered user and organization information given the following settings:

0 commit comments

Comments
 (0)