Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.0: ArcGIS Enterprise patches fail to install when ConfigData.DownloadPatches is set to false. #411

Closed
cameronkroeker opened this issue Aug 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working Fixed Label for when an issue is fixed. HasAWorkaround

Comments

@cameronkroeker
Copy link
Contributor

ArcGIS Enterprise patches fail to install when they are manually downloaded (ConfigData.DownloadPatches = false).

Impacted Module Version: v4.0.0

Error:

PowerShell DSC resource ArcGIS_InstallPatch failed to execute Test-TargetResource functionality with error message: Patch File C:\Patches\1091\ArcGIS-1091-S-SP-Patch.msp is not accessible

Workaround:
Change:

To:

if(-not(Test-Path $PatchLocation)){

and

Change:

$mspdb = $wi.GetType().InvokeMember("OpenDatabase", "InvokeMethod", $Null, $wi, $($PatchLocation.FullName, 32))

To:

$mspdb = $wi.GetType().InvokeMember("OpenDatabase", "InvokeMethod", $Null, $wi, $($PatchLocation, 32))
@cameronkroeker cameronkroeker self-assigned this Aug 23, 2022
@cameronkroeker cameronkroeker changed the title ArcGIS Enterprise patches fail to install when ConfigData.DownloadPatches is set to false. v4.0.0: ArcGIS Enterprise patches fail to install when ConfigData.DownloadPatches is set to false. Aug 23, 2022
@cameronkroeker
Copy link
Contributor Author

This is fixed in v4.0.1.

@cameronkroeker cameronkroeker added Fixed Label for when an issue is fixed. and removed will fix labels Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed Label for when an issue is fixed. HasAWorkaround
Projects
None yet
Development

No branches or pull requests

1 participant