Merge pull request #135 from szepeviktor/indent4

Indent with 4 spaces
This commit is contained in:
NTDEV
2024-04-22 12:35:17 +03:00
committed by GitHub
3 changed files with 69 additions and 68 deletions

View File

@@ -31,29 +31,30 @@ Instructions:
6. When the image is completed, you will see it in the folder where the script was extracted, with the name tiny11.iso 6. When the image is completed, you will see it in the folder where the script was extracted, with the name tiny11.iso
What is removed: What is removed:
Clipchamp,
News, - Clipchamp
Weather, - News
Xbox (although Xbox Identity provider is still here, so it should be possible to be reinstalled with no issues), - Weather
GetHelp, - Xbox (although Xbox Identity provider is still here, so it should be possible to be reinstalled with no issues)
GetStarted, - GetHelp
Office Hub, - GetStarted
Solitaire, - Office Hub
PeopleApp, - Solitaire
PowerAutomate, - PeopleApp
ToDo, - PowerAutomate
Alarms, - ToDo
Mail and Calendar, - Alarms
Feedback Hub, - Mail and Calendar
Maps, - Feedback Hub
Sound Recorder, - Maps
Your Phone, - Sound Recorder
Media Player, - Your Phone
QuickAssist, - Media Player
Internet Explorer, - QuickAssist
Tablet PC Math, - Internet Explorer
Edge, - Tablet PC Math
OneDrive - Edge
- OneDrive
Known issues: Known issues:

View File

@@ -1,37 +1,37 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend"> <unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem"> <settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<OOBE> <OOBE>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
</OOBE> </OOBE>
</component> </component>
</settings> </settings>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<ConfigureChatAutoInstall>false</ConfigureChatAutoInstall> <ConfigureChatAutoInstall>false</ConfigureChatAutoInstall>
</component> </component>
<settings pass="windowsPE"> <settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<DynamicUpdate> <DynamicUpdate>
<WillShowUI>OnError</WillShowUI> <WillShowUI>OnError</WillShowUI>
</DynamicUpdate> </DynamicUpdate>
<ImageInstall> <ImageInstall>
<OSImage> <OSImage>
<Compact>true</Compact> <Compact>true</Compact>
<WillShowUI>OnError</WillShowUI> <WillShowUI>OnError</WillShowUI>
<InstallFrom> <InstallFrom>
<MetaData wcm:action="add"> <MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key> <Key>/IMAGE/INDEX</Key>
<Value>1</Value> <Value>1</Value>
</MetaData> </MetaData>
</InstallFrom> </InstallFrom>
</OSImage> </OSImage>
</ImageInstall> </ImageInstall>
<UserData> <UserData>
<ProductKey> <ProductKey>
<Key></Key> <Key/>
</ProductKey> </ProductKey>
</UserData> </UserData>
</component> </component>
</settings> </settings>
</unattend> </unattend>

View File

@@ -13,16 +13,16 @@ $myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWin
$adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator $adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator
if ($myWindowsPrincipal.IsInRole($adminRole)) if ($myWindowsPrincipal.IsInRole($adminRole))
{ {
$Host.UI.RawUI.WindowTitle = "tiny11 builder" $Host.UI.RawUI.WindowTitle = "tiny11 builder"
Clear-Host Clear-Host
} }
else else
{ {
$newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell"; $newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
$newProcess.Arguments = $myInvocation.MyCommand.Definition; $newProcess.Arguments = $myInvocation.MyCommand.Definition;
$newProcess.Verb = "runas"; $newProcess.Verb = "runas";
[System.Diagnostics.Process]::Start($newProcess); [System.Diagnostics.Process]::Start($newProcess);
exit exit
} }
Write-Host "Welcome to the tiny11 image creator!" Write-Host "Welcome to the tiny11 image creator!"
Start-Sleep -Seconds 3 Start-Sleep -Seconds 3
@@ -33,9 +33,9 @@ $DriveLetter = Read-Host "Please enter the drive letter for the Windows 11 image
$DriveLetter = $DriveLetter + ":" $DriveLetter = $DriveLetter + ":"
if ((Test-Path "$DriveLetter\sources\boot.wim") -eq $false -or (Test-Path "$DriveLetter\sources\install.wim") -eq $false) { if ((Test-Path "$DriveLetter\sources\boot.wim") -eq $false -or (Test-Path "$DriveLetter\sources\install.wim") -eq $false) {
Write-Host "Can't find Windows OS Installation files in the specified Drive Letter.." Write-Host "Can't find Windows OS Installation files in the specified Drive Letter.."
Write-Host "Please enter the correct DVD Drive Letter.." Write-Host "Please enter the correct DVD Drive Letter.."
exit exit
} }
New-Item -ItemType Directory -Force -Path "$mainOSDrive\tiny11" New-Item -ItemType Directory -Force -Path "$mainOSDrive\tiny11"