modified VM deployment iso cmd scripts and fixed appx license file issue

This commit is contained in:
rbalsleyMSFT
2024-07-16 18:48:43 -07:00
parent 88ef8f70a1
commit a5c38fd09b
3 changed files with 28 additions and 4 deletions
@@ -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 (