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

AVD AIB CUSTOMIZER PHASE : Install language packs - Exception occurred #791

Open
HenryGelderbloem opened this issue Jul 11, 2024 · 0 comments

Comments

@HenryGelderbloem
Copy link

I added the built in script to install English (United Kingdom) language, but this step constantly fails. I have configured my Custom Image Template to use the Windows 11 23H2 Multi-Session + Microsoft 365 Apps - Gen 2 image and my Custom Image Template builds the image on my Virtual Network.

I have checked network connectivity from another Virtual Machine in the same VNet and I can download Language Packs as expected.

Because the Custom Image Template retries down download and install the Language Pack 5 times before moving on, Image builds take over an hour in total.

2024/07/11 09:58:09 ui: �[0;32m azure-arm: Starting AVD AIB Customization: Install Language packs: 07/11/2024 09:58:09�[0m
2024/07/11 09:58:13 ui: �[0;32m azure-arm:�[0m
2024/07/11 09:58:13 ui: �[0;32m azure-arm: TaskPath TaskName State�[0m
2024/07/11 09:58:13 ui: �[0;32m azure-arm: -------- -------- -----�[0m
2024/07/11 09:58:13 ui: �[0;32m azure-arm: \Microsoft\Windows\LanguageComponentsInstal... Installation Disabled�[0m
2024/07/11 09:58:13 ui: �[0;32m azure-arm: \Microsoft\Windows\LanguageComponentsInstal... ReconcileLanguageResources Disabled�[0m
2024/07/11 09:58:13 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Attempt: 1 �[0m
2024/07/11 10:26:39 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Exception occurred
�[0m
2024/07/11 10:26:39 ui: �[0;32m azure-arm: System.Exception: Language pack or features could only be partially installed. ErrorCode: -2147024864. Please try again.�[0m
2024/07/11 10:26:39 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.CheckLanguageInstallationResult()�[0m
2024/07/11 10:26:39 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.InstallLanguage(Boolean copyToSettings, Boolean excludeFeatures)�[0m
2024/07/11 10:26:39 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage.ProcessRecord()�[0m
2024/07/11 10:26:39 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Attempt: 2 �[0m
2024/07/11 10:30:01 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Exception occurred
�[0m
2024/07/11 10:30:01 ui: �[0;32m azure-arm: System.Exception: Language pack or features could only be partially installed. ErrorCode: -2147024864. Please try again.�[0m
2024/07/11 10:30:01 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.CheckLanguageInstallationResult()�[0m
2024/07/11 10:30:01 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.InstallLanguage(Boolean copyToSettings, Boolean excludeFeatures)�[0m
2024/07/11 10:30:01 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage.ProcessRecord()�[0m
2024/07/11 10:30:01 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Attempt: 3 �[0m
2024/07/11 10:33:19 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Exception occurred
�[0m
2024/07/11 10:33:19 ui: �[0;32m azure-arm: System.Exception: Language pack or features could only be partially installed. ErrorCode: -2147024864. Please try again.�[0m
2024/07/11 10:33:19 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.CheckLanguageInstallationResult()�[0m
2024/07/11 10:33:19 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.InstallLanguage(Boolean copyToSettings, Boolean excludeFeatures)�[0m
2024/07/11 10:33:19 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage.ProcessRecord()�[0m
2024/07/11 10:33:19 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Attempt: 4 �[0m
2024/07/11 10:36:37 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Exception occurred
�[0m
2024/07/11 10:36:37 ui: �[0;32m azure-arm: System.Exception: Language pack or features could only be partially installed. ErrorCode: -2147024864. Please try again.�[0m
2024/07/11 10:36:37 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.CheckLanguageInstallationResult()�[0m
2024/07/11 10:36:37 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.InstallLanguage(Boolean copyToSettings, Boolean excludeFeatures)�[0m
2024/07/11 10:36:37 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage.ProcessRecord()�[0m
2024/07/11 10:36:37 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Attempt: 5 �[0m
2024/07/11 10:39:54 packer-plugin-azure plugin: 2024/07/11 10:39:54 [INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-668facaa-ff8c-66f6-bde7-8c12ddb0f801.ps1"' exited with code: 0
2024/07/11 10:39:54 packer-plugin-azure plugin: 2024/07/11 10:39:54 [INFO] RPC endpoint: Communicator ended with: 0
2024/07/11 10:39:54 [INFO] 3933 bytes written for 'stdout'
2024/07/11 10:39:54 [INFO] 0 bytes written for 'stderr'
2024/07/11 10:39:54 [INFO] RPC client: Communicator ended with: 0
2024/07/11 10:39:54 [INFO] RPC endpoint: Communicator ended with: 0
2024/07/11 10:39:54 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Exception occurred
�[0m
2024/07/11 10:39:54 packer-provisioner-powershell plugin: [INFO] 3933 bytes written for 'stdout'
2024/07/11 10:39:54 packer-provisioner-powershell plugin: [INFO] 0 bytes written for 'stderr'
2024/07/11 10:39:54 packer-provisioner-powershell plugin: [INFO] RPC client: Communicator ended with: 0
2024/07/11 10:39:54 ui: �[0;32m azure-arm: System.Exception: Language pack or features could only be partially installed. ErrorCode: -2147024864. Please try again.�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.CheckLanguageInstallationResult()�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.CspLanguageInstaller.InstallLanguage(Boolean copyToSettings, Boolean excludeFeatures)�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: at Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage.ProcessRecord()�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: \Microsoft\Windows\LanguageComponentsInstal... Installation Ready�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: \Microsoft\Windows\LanguageComponentsInstal... ReconcileLanguageResources Ready�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: *** AVD AIB CUSTOMIZER PHASE : Install language packs - Exit Code: ***�[0m
2024/07/11 10:39:54 ui: �[0;32m azure-arm: Ending AVD AIB Customization : Install language packs - Time taken: 00:41:45.4839076�[0m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant