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
in SetDefaultLanguage.ps1 at rule 154 it is referring to $languagecode but if the language is already installed, this string will be empty. Packer logs show:
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:22 ui: azure-arm: *** Starting AVD AIB CUSTOMIZER PHASE: Set default Language ***
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm:
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: TaskPath TaskName State
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: -------- -------- -----
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: \Microsoft\Windows\LanguageComponentsInstal... Installation Disabled
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: \Microsoft\Windows\LanguageComponentsInstal... ReconcileLanguageResources Disabled
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-plugin-azure plugin: 2024/07/10 09:30:25 [INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-668e5495-8087-f1de-1e21-d5c34530f737.ps1"' exited with code: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-plugin-azure plugin: 2024/07/10 09:30:25 [INFO] RPC endpoint: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] 1538 bytes written for 'stdout'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] 0 bytes written for 'stderr'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 ui: azure-arm: *** AVD AIB CUSTOMIZER PHASE : Set default language - Language pack for nl-NL is installed already***
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] RPC client: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] RPC endpoint: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-provisioner-powershell plugin: [INFO] 1538 bytes written for 'stdout'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-provisioner-powershell plugin: [INFO] 0 bytes written for 'stderr'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 ui: azure-arm: *** AVD AIB CUSTOMIZER PHASE: Set default Language - Exception occurred***
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-provisioner-powershell plugin: [INFO] RPC client: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 ui: azure-arm: System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Language' because it is null.
The text was updated successfully, but these errors were encountered:
Getting the same error, looks like there's a variable used $languagecode which is never set anywhere beforehand.
Seems like something that should have been picked up before testing
in SetDefaultLanguage.ps1 at rule 154 it is referring to $languagecode but if the language is already installed, this string will be empty. Packer logs show:
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:22 ui: azure-arm: *** Starting AVD AIB CUSTOMIZER PHASE: Set default Language ***
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm:
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: TaskPath TaskName State
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: -------- -------- -----
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: \Microsoft\Windows\LanguageComponentsInstal... Installation Disabled
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:24 ui: azure-arm: \Microsoft\Windows\LanguageComponentsInstal... ReconcileLanguageResources Disabled
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-plugin-azure plugin: 2024/07/10 09:30:25 [INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-668e5495-8087-f1de-1e21-d5c34530f737.ps1"' exited with code: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-plugin-azure plugin: 2024/07/10 09:30:25 [INFO] RPC endpoint: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] 1538 bytes written for 'stdout'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] 0 bytes written for 'stderr'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 ui: azure-arm: *** AVD AIB CUSTOMIZER PHASE : Set default language - Language pack for nl-NL is installed already***
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] RPC client: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 [INFO] RPC endpoint: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-provisioner-powershell plugin: [INFO] 1538 bytes written for 'stdout'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-provisioner-powershell plugin: [INFO] 0 bytes written for 'stderr'
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 ui: azure-arm: *** AVD AIB CUSTOMIZER PHASE: Set default Language - Exception occurred***
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 packer-provisioner-powershell plugin: [INFO] RPC client: Communicator ended with: 0
[611cec67-e529-47b8-89a9-021fca6ccdde] PACKER 2024/07/10 09:30:25 ui: azure-arm: System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Language' because it is null.
The text was updated successfully, but these errors were encountered: