Forum Discussion
Trebke
Dec 01, 2023Brass Contributor
MSIX dependency
Hi, I created an MSIX package with Advanced Installer named R for Windows. Package runs great, with no problems. I have another package R Studio what depends on R for Windows, so without R for Windows R Studio doesn't start.
So i added an dependency in the R Studio MSIX package for R for Windows, but the install fails; see logfiles:
Information Started deployment Add operation on a package with main parameter RStudio-x64.msix and Options 0 and 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. 603 Info 15:37:46 27978
Verbose Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\74de9ebf-d29f-42da-be0c-c99e1d0c839d_S-1-5-21-4143827203-86912054-1809014233-114906_1.rslc for Add Operation on Package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc. 10002 Info 15:37:46 NT AUTHORITY\SYSTEM 27979
Information Deployment Add operation on package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc has been de-queued and is running for user SID S-1-5-21-4143827203-86912054-1809014233-114906. 607 Info 15:37:46 27980
Information Successfully added the following uri(s) to be processed: file:***/RStudio-x64.msix. 854 Info 15:37:46 *** 27981
Information Package RCoreTeam.RforWindows4.3.1_4.3.1.3454_x64__gqnwrcrc14nsc does not satisfy a dependency for package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc. Reason: The package's type isn't suitable for the dependency. 672 Info 15:37:47 *** 27982
Error Windows cannot install package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc because this package depends on a framework that could not be found. Provide the framework "RCoreTeam.RforWindows4.3.1" published by "CN=****", with neutral or x64 processor architecture and minimum version 4.3.1.3454, along with this package to install. 628 Info 15:37:47 *** 27983
Information The last successful state reached was Indexed. Failure occurred before reaching the next state Resolved. hr: 0x80073CF3 605 Info 15:37:47 *** 27984
Error Deployment Add operation with target volume C: on Package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc from: (RStudio-x64.msix) failed with error 0x80073CF3. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. 401 Info 15:37:47 *** 27985
Error AppX Deployment operation failed for package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc with error 0x80073CF3. The specific error text for this failure is: Windows cannot install package PositSoftwarePBC.RStudio_5698.6.0.0_x64__gqnwrcrc14nsc because this package depends on a framework that could not be found. Provide the framework "RCoreTeam.RforWindows4.3.1" published by "CN***", with neutral or x64 processor architecture and minimum version 4.3.1.3454, along with this package to install. 404 Info 15:37:47 *** 27986
Information error 0x12C: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbweecd7dcf1-793e-48ed-bc6e-a44dd6243d79\CascadiaCode.ttf failed. 471 Info 15:37:47 NT AUTHORITY\SYSTEM 27987
Information error 0x12C: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbweecd7dcf1-793e-48ed-bc6e-a44dd6243d79\CascadiaCodeItalic.ttf failed. 471 Info 15:37:47 NT AUTHORITY\SYSTEM 27988
Information error 0x12C: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbweecd7dcf1-793e-48ed-bc6e-a44dd6243d79\CascadiaMono.ttf failed. 471 Info 15:37:47 NT AUTHORITY\SYSTEM 27989
Warning There were 1 additional files that failed to be deleted under the folder \\?\C:\Program Files\WindowsApps\Deleted. 493 Info 15:37:47 NT AUTHORITY\SYSTEM 27990
R for Windows MSIX package is installed:
Name : RCoreTeam.RforWindows4.3.1
Publisher : ***
Architecture : X64
ResourceId :
Version : 4.3.1.3454
PackageFullName : RCoreTeam.RforWindows4.3.1_4.3.1.3454_x64__gqnwrcrc14nsc
InstallLocation : C:\Program Files\WindowsApps\RCoreTeam.RforWindows4.3.1_4.3.1.3454_x64__gqnwrcrc14nsc
IsFramework : False
PackageFamilyName : RCoreTeam.RforWindows4.3.1_gqnwrcrc14nsc
PublisherId : gqnwrcrc14nsc
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
IsPartiallyStaged : False
SignatureKind : Developer
Status : Ok
How can I let the package depence on another main installed package?
The vcredist installes great as a dependency but the self created MSIX package not..
Thanks for your help!
- TrebkeBrass ContributorCan Shared Package Container be a solution for this? https://learn.microsoft.com/en-us/windows/msix/manage/shared-package-container
- AppsPackGBrass ContributorThis looks like an interesting option, sounds like AppV virtual environments that were available and could be configured in MECM as well to manage the xml manipulation at time of deployment.
- AppsPackGBrass ContributorHave you checked this article out?
https://www.advancedinstaller.com/handle-prerequisites-msix-dependencies.html