Skip to content

Commit b342205

Browse files
committed
[ISO Creator] Automatically set ADK marker after installation
1 parent 9f02125 commit b342205

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Panels/ISOFiles/ISOCreator.vb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,10 @@ Public Class ISOCreator
406406
Process.Start("https://learn.microsoft.com/it-it/windows-hardware/get-started/adk-install")
407407
End Select
408408
Close()
409+
Else
410+
If MainForm.DetectPossibleADKs() = 1 Then
411+
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "system32", "reg.exe"), "/add HKLM\Software\Microsoft\WIMMount /v AdkInstallation /t REG_DWORD /d 1 /f").WaitForExit()
412+
End If
409413
End If
410414
Else
411415
Close()

0 commit comments

Comments
 (0)