Jump to content

Recommended Posts

Posted (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 by DMD61

Posted

After several tests and with the help of AI, I tried the generalized ISO on a virtual machine and it finally works.

Screenshot-2.png

I used these parameters in PowerShell in Audit mode.

# 1. Installazione dell'app di installazione PowerShell

$AppxBundlePath = "C:\Ookla.SpeedtestbyOokla_1.18.194.0_neutral_~_43tkc6nmykmb6"


# 2. Installare le dipendenze di installazione di Powershell delle app essenziali

# dipendenze x64 
$DependencyPath1_x64 = "C:\Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x64__8wekyb3d8bbwe.Appx"
$DependencyPath2_x64 = "C:\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe.Appx"
$DependencyPath3_x64 = "C:\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe.Appx"

# dipendenze x86 
$DependencyPath4_x86 = "C:\Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x86__8wekyb3d8bbwe.Appx"
$DependencyPath5_x86 = "C:\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x86__8wekyb3d8bbwe.Appx"
$DependencyPath6_x86 = "C:\Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe.Appx"


# 3. Comando DISM totale Powershell 

DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:"C:\Ookla.SpeedtestbyOokla_1.18.194.0_neutral_~_43tkc6nmykmb6.AppxBundle" /SkipLicense /Region:all /DependencyPackagePath:"$DependencyPath1_x64" /DependencyPackagePath:"$DependencyPath2_x64" /DependencyPackagePath:"$DependencyPath3_x64" /DependencyPackagePath:"$DependencyPath4_x86" /DependencyPackagePath:"$DependencyPath5_x86" /DependencyPackagePath:"$DependencyPath6_x86"
                                                                                            

# 4. Rimuovere l'installazione specifica per l'utente corrente (modalità Audit)

Get-AppxPackage -AllUsers | Where-Object {$_.Name -like "*Ookla*"} | Remove-AppxPackage


# 5. Controllare il provisioning

Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -like "*Ookla*"}
 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   1 member

×
×
  • Create New...