Please update the script
Please update the script. Its not working in new windows 11 version
You can simply run the Python script below to find out system apps package name for your iso image and then replace the corresponding dism commands (in the original tiny11 creator bat file) with those outputted by the following script:
import re
print("Inform the drive letter of the mounted image: ", end="")
drive_letter = input().upper()
if len(drive_letter) == 1:
drive_letter = drive_letter + ":"
elif len(drive_letter) == 2:
drive_letter = drive_letter[0] + ":"
elif len(drive_letter) == 3:
drive_letter = drive_letter[0] + ":"
else:
print("Invalid drive letter informed. Please inform a valid drive letter.")
exit()
file_name = (
drive_letter
+ "\\sources\\replacementmanifests\\microsoft-windows-appx-deployment-server\\appxprovisioning.xml"
)
# Read in the file
with open(file_name, "r", buffering=4096, encoding="UTF-8") as file:
file_contents = file.read()
system_package_list = [
"Clipchamp\.Clipchamp_",
"Microsoft\.BingNews_",
"Microsoft\.BingWeather_",
"Microsoft\.GamingApp_",
"Microsoft\.GetHelp_",
"Microsoft\.Getstarted_",
"Microsoft\.MicrosoftOfficeHub_",
"Microsoft\.MicrosoftSolitaireCollection_",
"Microsoft\.People_",
"Microsoft\.PowerAutomateDesktop_",
"Microsoft\.Todos_",
"Microsoft\.WindowsAlarms_",
"microsoft\.windowscommunicationsapps_",
"Microsoft\.WindowsFeedbackHub_",
"Microsoft\.WindowsMaps_",
"Microsoft\.WindowsSoundRecorder_",
"Microsoft\.Xbox.TCUI_",
"Microsoft\.XboxGamingOverlay_",
"Microsoft\.XboxGameOverlay_",
"Microsoft\.XboxSpeechToTextOverlay_",
"Microsoft\.YourPhone_",
"Microsoft\.ZuneMusic_",
"Microsoft\.ZuneVideo_",
"MicrosoftCorporationII\.MicrosoftFamily_",
"MicrosoftCorporationII\.QuickAssist_",
"MicrosoftTeams_",
"Microsoft\.549981C3F5F10_",
]
print("\nReplace the lines below in the original creator bat:\n")
error_list = []
for package_name in system_package_list:
pattern = rf'<Package FullName="({package_name}.*?)" PackageType="bundle"/>'
# Find the first match using the regex pattern
match = re.search(pattern, file_contents)
# Print the first match if found
if match:
print(
"dism /image:c:\\scratchdir /Remove-ProvisionedAppxPackage /PackageName:"
+ match.group(1)
)
else:
error_list.append(
f"ERROR: No match was found for package: {package_name.split('.', 1)[0]}"
)
for error in error_list:
print(error)
i could not find a way to download those both suggested builds
i have this one though: 25947.1000.230901-1416.RS_PRERELEASE_CLIENTMULTI_X64FRE_EN-US.ISO
running the above script gives me this:
i do not have any knowledge of python script running.
is there a way for me to either download any of those 2 builds suggested or maybe run a script for the build that i have?
thanks for your time
You can simply run the Python script below to find out system apps package name for your iso image and then replace the corresponding
dismcommands (in the original tiny11 creator bat file) with those outputted by the following script:
Worked for me, thanks Bernhard! A good thing because I couldn't find any of the builds referenced in the readme/instructions. PS: I had to remove the backslash escape character for the script not to error out on my Windows python installation. Thanks also to all who contribute(d) to this project.