mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 10:19:36 -06:00
modified VM deployment iso cmd scripts and fixed appx license file issue
This commit is contained in:
@@ -29,9 +29,9 @@ for /d %%D in ("%basepath%\*") do (
|
||||
)
|
||||
)
|
||||
)
|
||||
for %%F in ("!appfolder!\*.xml") do (
|
||||
set "licensefile=%%F"
|
||||
)
|
||||
@REM for %%F in ("!appfolder!\*.xml") do (
|
||||
@REM set "licensefile=%%F"
|
||||
@REM )
|
||||
if defined mainpackage (
|
||||
set "dism_command=DISM /Online /Add-ProvisionedAppxPackage /PackagePath:"!mainpackage!""
|
||||
if exist "!dependenciesfolder!" (
|
||||
@@ -39,6 +39,9 @@ for /d %%D in ("%basepath%\*") do (
|
||||
set "dism_command=!dism_command! /DependencyPackagePath:"%%G""
|
||||
)
|
||||
)
|
||||
for %%F in ("!appfolder!\*.xml") do (
|
||||
set "licensefile=%%F"
|
||||
)
|
||||
if defined licensefile (
|
||||
set "dism_command=!dism_command! /LicensePath:"!licensefile!""
|
||||
) else (
|
||||
|
||||
Reference in New Issue
Block a user