Move PinnedItem script to proper location
This commit is contained in:
parent
81d0f2de32
commit
6e1322697a
2 changed files with 4 additions and 4 deletions
|
@ -89,7 +89,7 @@ $null = New-Module {
|
||||||
Invoke-Hook "Install-PSModules" -Fallback {
|
Invoke-Hook "Install-PSModules" -Fallback {
|
||||||
Install-Module -AcceptLicense -Force PSWindowsUpdate;
|
Install-Module -AcceptLicense -Force PSWindowsUpdate;
|
||||||
Install-Module -AcceptLicense -Force PSScriptAnalyzer;
|
Install-Module -AcceptLicense -Force PSScriptAnalyzer;
|
||||||
. "$PSScriptRoot/../../Common/Software/PinnedItem/Manage.ps1";
|
. "$PSScriptRoot/../Software/PinnedItem/Manage.ps1";
|
||||||
};
|
};
|
||||||
|
|
||||||
if (-not (Test-PSPackage Selenium.WebDriver)) {
|
if (-not (Test-PSPackage Selenium.WebDriver)) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ param (
|
||||||
[hashtable] $Arguments
|
[hashtable] $Arguments
|
||||||
)
|
)
|
||||||
|
|
||||||
. "$PSScriptRoot/../PowerShell/Module.ps1";
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||||||
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
. "$PSScriptRoot/../../../Common/Software/PowerShell/Module.ps1";
|
||||||
|
|
||||||
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly;
|
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly;
|
||||||
|
|
||||||
|
@ -27,5 +27,5 @@ Start-SoftwareInstaller @parameters -Installer {
|
||||||
choco install --source windowsFeatures -y $feature;
|
choco install --source windowsFeatures -y $feature;
|
||||||
}
|
}
|
||||||
|
|
||||||
& $Arguments.Installer;
|
& $Arguments.Installer @PSBoundParameters;
|
||||||
}
|
}
|
Loading…
Reference in a new issue