Six Essential Dependencies Every Project Manager Must Master

Six Essential Dependencies Every Project Manager Must Master

Kenneth Lv8

Six Essential Dependencies Every Project Manager Must Master

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

IMsixDependencies

https://techidaily.com

Declaration

IMsixDependencies : IDispatch

https://techidaily.com

Overview

This interface is meant for configuring the MSIX package dependencies.

Properties

Array PackageDependencies
Gets the collection of package dependencies

Array DriverDependencies
Gets the collection of driver dependencies

Array ExternalDependencies
Gets the collection of external dependencies

Methods

NewPackageDependency(String aName, String aPublisher) returns IMsixPackageDependency
Creates new package dependency

NewDriverDependency(String aName) returns IMsixDriverDependency
Creates new driver dependency

NewExternalDependency(String aName, String aPublisher) returns IMsixExternalDependency
Creates new external dependency

RemoveDependency(VARIANT aDependency)
Removes any type of MSIX dependency

Sample

  $advinst = New-Object -ComObject AdvancedInstaller

$prj = $advinst.CreateProjects(“architect”)
$msixBuild = $prj.BuildComponent.NewMsixBuild(“MyMsixBuild”)

$msixDeps = $prj.MsixComponent.Dependencies

https://techidaily.com

add driver dependency

$driverDep = $msixDeps.NewDriverDependency(“My Driver Dep”)
$driverDep.NewConstraint(“DriverName”, “1.0.0.0”, “2010-01-01”)

#add external dependency
$extDep = $msixDeps.NewExternalDependency(“Microsoft.WebView2”, “CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”)
$extDep.MinVersion = “89.0.145.65”
$extDep.Optional = $false

#add package dependency
$packDep = $msixDeps.NewPackageDependency(“Microsoft.VCLibs.140.00.UWPDesktop”, “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”)
$packDep.MinVersion = “14.0.24217.0”
$packDep.ProcessorArchitecture = “x86”
$packDep.Optional = $false

$prj.SaveAs(“d:\my_project\msix_deps.aip”)
$prj.Build()

Copy
https://techidaily.com

See also

IMsixComponent

IMsixPackageDependency

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Six Essential Dependencies Every Project Manager Must Master
  • Author: Kenneth
  • Created at : 2024-10-06 18:31:43
  • Updated at : 2024-10-10 20:18:59
  • Link: https://fox-sys.techidaily.com/six-essential-dependencies-every-project-manager-must-master/
  • License: This work is licensed under CC BY-NC-SA 4.0.