You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Upon running BIS-F 7.1912.2 an error appears when removing App-V packages:
Product Microsoft App-V Client (Version 10.0.14393.3471 (rs1_release_1.191218-1729)) installed
> Removing App-V packages
Import-Module : The specified module 'C:\Windows\System32\AppvClient\AppvClient.psd1' was not loaded because no valid
module file was found in any module directory.
At C:\Program Files (x86)\Base Image Script Framework (BIS-F)\framework\SubCall\Preparation\10_PrepBISF_AppVClient.ps1:70
char:7
the directory can be dynamicly be resolved with the following command (Get-ChildItem -Path $Installpath -Recurse -Filter $ModuleFile -ErrorAction SilentlyContinue).Directory.FullName
Describe the bug
Upon running BIS-F 7.1912.2 an error appears when removing App-V packages:
> Removing App-V packages
Import-Module : The specified module 'C:\Windows\System32\AppvClient\AppvClient.psd1' was not loaded because no valid
module file was found in any module directory.
At C:\Program Files (x86)\Base Image Script Framework (BIS-F)\framework\SubCall\Preparation\10_PrepBISF_AppVClient.ps1:70
char:7
Exception
To Reproduce
Steps to reproduce the behavior:
Enable App-V app clean up in BIS
Expected behavior
Script to run without errors
Screenshots
Desktop (please complete the following information):
Additional context
10_PrepBISF_AppVClient.ps1 resolves the path to the AppVClient.psd1 currently, as:
C:\Windows\System32
The path is actually:
C:\Windows\System32\WindowsPowerShell\v1.0\Modules\AppvClient
I changed line 42 to:
$Installpath = "C:\Windows\System32\WindowsPowerShell\v1.0\Modules"
and it seems to work now.
The text was updated successfully, but these errors were encountered: