I am trying to upgrade a clients VDAs from 1912/22...
# _general
n
I am trying to upgrade a clients VDAs from 1912/2203 to 2402 LTSR cu1 and my scripts keeps failing. here is the command lane. it runs but then the wizard appears instead of proceed with the installs it prompts me to select. here is my script...can anyone tell me what i am doing wrong - VDAServerSetup_2411.exe /xenapp /components VDA /controllers "DDCINSTALL01.labdomain2.com" /noreboot /enable_real_time_transport /enable_hdx_ports /enable_hdx_udp_ports /exclude "Machine Identity Service","Citrix Backup and Restore","Citrix MCS IODriver","Citrix Personalization for App-V - VDA","Citrix Rendezvous V2","Citrix VDA Upgrade Agent","Citrix Web Socket Vda Registration Tool" /logpath "C:\Installs\VDAServerSetup.log" and this - VDAServerSetup_2411.exe /xenapp /components VDA /controllers "DDCINSTALL01.labdomain2.com" /noreboot /enable_real_time_transport /enable_hdx_ports /enable_hdx_udp_ports /includeadditional "Citrix Profile Management","Citrix Profile Management WMI Plug-in" /exclude "Machine Identity Service","Citrix Backup and Restore","Citrix MCS IODriver","Citrix Personalization for App-V - VDA","Citrix Rendezvous V2","Citrix VDA Upgrade Agent","Citrix Web Socket Vda Registration Tool" /logpath "C:\Installs\VDAServerSetup.log"
r
https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/install-configure/install-core/install-command.html#command-line-options-for-installing-a-vda /quiet or /passive “No user interface appears during the installation. The only evidence of the installation process is in Windows Task Manager. If this option is omitted, the graphical interface launches.”
n
You also don't need to exclude most of those, as they are not installed by default. Probably want to get into the habit of doing that now so that it doesn't bite you later when Citrix either renames a component (looking at you, CPM) or removes one, and the installs start to fail.
🎯 2
n
@Nick Panaccio - really? i'll check the documentation again.
n
n
thanks, i'll check it out.
still get this...even when i remove the exclude commands ..... this is what was happening to me last night..Excluded components: machine identity service, citrix backup and restore, machine identity service, citrix personalization for app-v - vda, citrix rendezvous v2, citrix vda upgrade agent Include additional components: citrix profile management, citrix profile management wmi plug-in Preselected components: Virtual Delivery Agent 045319.7721 : XenDesktopSetup:Succeed to release global mutex. 045319.7721 : XenDesktopSetup:MetaInstaller terminating 045319.7721 : XenDesktopSetup&lt;BACKUP&gt;Cleanup > NO RP was created in this session:Success ,exitCode=BadCommandLineArgument 045319.7721 : XenDesktopSetup:Analytics << InstallResultMain=BadCommandLineArgument, InstallationResuming=False, WillContinueAfterReboot=False, NoResume=False NoReboot=True 045319.7721 : XenDesktopSetup:> Analytics Session: Closing...&(BadCommandLineArgument) 045331.8449 $ERR$ : XenDesktopSetup:Failed to obtain DNS hostname for the requested host: 'INSTALL01.LABDOMAIN2.COM'. 045331.8449 $ERR$ : XenDesktopSetup:Hostname "DDCINSTALL01.LABDOMAIN2.COM" could not be found. 045331.8449 : XenDesktopSetup:0123456789.=23456789.123456789.1234567.9.123456789.123456789.123 045331.8449 : XenDesktopSetup:0x00====131100001620001500000=========01======================== 045331.8974 : XenDesktopSetupGetRegValue Key Opened successfully. Software\Citrix\MetaInstall 045331.8974 : XenDesktopSetupGetRegValue Key Name queried successfully Software\Citrix\MetaInstall SendExperienceMetrics 045331.8974 $ERR$ : XenDesktopSetup:You must enter valid command line arguments. For more information, use /Help. 045331.8974 : XenDesktopSetup&lt;BACKUP&gt;Cleanup > NO RP was created in this session:Success ,exitCode=BadCommandLineArgument 045331.8974 : XenDesktopSetupCheckRegKeyExists RegKey Software\Citrix\MetaInstall: Opened Registry Key successfully. 045331.8974 : XenDesktopSetupSetRegValue Registry value 6 set successfully Software\Citrix\MetaInstall ExitCode
it's installing the prereqs now but not the components
i think i got it
it's working with the quiet switch and include switch....thanks @Nick Panaccio and @Ray Davis .
now i adjust have to figure out what's wrong with the exclude commands or if i need it.
@Ray Davis - i can't believe i missed that quiet switch...