mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Overhauls Store app installation with dependency resolution
Refactors the Store app installation script to be significantly more robust and intelligent. The new implementation automatically resolves application dependencies instead of relying on a simple folder structure. Key improvements include: - Pre-scans all application folders to create a central catalog of available dependencies. - Parses the `AppxManifest.xml` from each main app package (including from within bundles) to determine its true dependencies. - Resolves the required dependencies by finding the best available package from the catalog that meets version and OS architecture requirements. - Adds support for extracting zipped dependency packages. - Improves temporary file management and logging.
This commit is contained in:
@@ -345,9 +345,6 @@ function Save-HPDriversTask {
|
||||
New-Item -Path $extractFolder -ItemType Directory -Force -ErrorAction Stop | Out-Null
|
||||
$arguments = "/s /e /f `"$extractFolder`""
|
||||
WriteLog "Extracting driver $driverFilePath with args: $arguments"
|
||||
#DEBUG
|
||||
# wrap $driverFilePath in quotes to handle spaces
|
||||
# $driverFilePath = "`"$driverFilePath`""
|
||||
WriteLog "Running HP Driver Extraction Command: $driverFilePath $arguments"
|
||||
Invoke-Process -FilePath $driverFilePath -ArgumentList $arguments -ErrorAction Stop | Out-Null
|
||||
# Start-Process -FilePath $driverFilePath -ArgumentList $arguments -Wait -NoNewWindow -ErrorAction Stop | Out-Null
|
||||
|
||||
Reference in New Issue
Block a user