DMD61 Posted September 28 Posted September 28 (edited) Good morning. I am trying to install a particular app, Ookla.SpeedtestbyOokla, inside the W11 iso using the AuditMode \Sys Prep procedure. I downloaded both the app and the dependencies, then I used some powershell commands $AppxBundlePath = "C:\Ookla.SpeedtestbyOokla_1.18.194.0_neutral_~_43tkc6nmykmb6" $DependencyPath1_x64 = "C:\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe.Appx" $DependencyPath2_x64 = "C:\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe.Appx" $DependencyPath3_x86 = "C:\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x86__8wekyb3d8bbwe.Appx" $DependencyPath4_x86 = "C:\Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe.Appx" DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:"$AppxBundlePath" /SkipLicense /Region:all /DependencyPackagePath:"$DependencyPath1_x64" /DependencyPackagePath:"$DependencyPath2_x64" /DependencyPackagePath:"$DependencyPath3_x86" /DependencyPackagePath:"$DependencyPath4_x86" Unfortunately, I am receiving an error in the syntax of this last command, and I cannot figure out how to resolve it. Any ideas? Thank you. Edited September 28 by DMD61
Tripredacus Posted September 29 Posted September 29 DISM's Region option expects an actual region. all would be invalid. It wants a country code there.
DMD61 Posted September 29 Author Posted September 29 (edited) I try to check the scripts Edited September 29 by DMD61
DMD61 Posted September 29 Author Posted September 29 (edited) With the help of AI, I finally managed to install in audit mode using the advanced PowerShell script. Script https://justpaste.it/ak2h9 Edited September 29 by DMD61
Tripredacus Posted Tuesday at 01:01 PM Posted Tuesday at 01:01 PM Can you post what the actual thing was that you changed to make it work?
DMD61 Posted Tuesday at 02:16 PM Author Posted Tuesday at 02:16 PM (edited) In my example, it was Ookla.SpeedtestbyOokla, but it can be done for any other app or multiple apps at the same time. I followed this procedure: In the virtual machine in Audit Mode, I copied all the files related to the app in question, plus all the files related to x64 and x86 dependencies, to the main C directory. Along with the files, the app installation file with all dependencies must be present, which is the file in PowerShell (Install-Ookla.ps1). All files must be removed when the entire procedure is complete. This can be launched via a DOS command. PowerShell.exe -ExecutionPolicy Bypass -File C:\Install-Ookla.ps1 If we need to install multiple apps, for which there are multiple .ps1 installation files, we can use a single batch command to launch them all in sequence. Below, I have included the two sample scripts. PS1 installation file (Ookla.SpeedtestbyOokla) https://justpaste.it/aushf Unified batch script for multiple apps (personal example) https://justpaste.it/dbisn Edited Tuesday at 03:49 PM by DMD61 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now