In my Packer Windows 11 23H2 Multi User Build, the...
# citrix-vad
m
In my Packer Windows 11 23H2 Multi User Build, the silent VDA 2507 setup fails. It fails, because the VDA setup marks the Visual C++ Runtime as missing, although the newest is pre-installed with PowerShell Module VCredist. It seems like the setup doesn't recognize the already installed pre-req? This leads to the problem, that the VDA setup installs the unnecessary pre-req, instead of the VDA, marks a reboot required (3) and the VDA itself is missing at the end of the progress. Do I install the wrong pre-req? This hasn't been an issue with all the previous VDA setups, this started with 2507. Screenshot shows what I already installed VS what the setup says is missing
When I check the (failed) setup log, I see that it tried to install the runtimes:
Copy code
12:28:40.6481       : XenDesktopSetup:All components initialized, starting installations.
12:28:40.6491 PROC  : XenDesktopSetup:InstallComponent: Entry, component name = 'Microsoft Visual x64 C++ Runtime'
12:28:40.6491       : XenDesktopSetup:InstallComponent: About to install component 'Microsoft Visual x64 C++ Runtime'
12:28:40.6531       : XenDesktopSetup:VC: Drive type Fixed
12:28:40.6531       : XenDesktopSetup:Succeed to release global mutex.
12:28:40.6531       : XenDesktopSetup:Starting synchronous process 'C:\Windows\TEMP\Ctx-AC2CD22A-A956-49B5-B608-800198F4A818\Extract\Image-Full\Support\VcRedist\vc_redist.x64.exe' with args '/quiet /norestart /log "C:\WINDOWS\TEMP\Citrix\XenDesktop Installer\Microsoft\Microsoft Visual x64 C++ Runtime.log"'
12:28:45.1324       : XenDesktopSetup:Process C:\Windows\TEMP\Ctx-AC2CD22A-A956-49B5-B608-800198F4A818\Extract\Image-Full\Support\VcRedist\vc_redist.x64.exe completed with error code 0x00000BC2
12:28:45.1334       : XenDesktopSetup:Succeed to lock global mutex.
12:28:45.1334       : XenDesktopSetup:Reboot level increased on behalf of 'Microsoft Visual x64 C++ Runtime' from NoReboot to ImmediateReboot
12:28:45.3274       : XenDesktopSetup:InstallComponent: Installed component 'Microsoft Visual x64 C++ Runtime'
12:28:45.3274       : XenDesktopSetup:Install tasks for this session have finished.
12:28:45.3274       : XenDesktopSetup:Installation partially complete, reboot is required
s
if you install that runtime manually by going to the path on the ISO, can you confirm it's the same version? or you might see a new entry for it in appwiz.cpl. You have a /noreboot param on the silent install?
m
I found the missmatch: Somehow VCredist installs the wrong version
omfg I had a critical error in my vcredist script and it has never done anything at all
$Redists = Get-VcList | Out-Null
The version was, in fact, too old.
👍 2