/build/static/layout/Breadcrumb_cap_w.png

How to chain two commands in a single command line instead of using CMD/BAT file

Hello,

I want to create a managed install that runs two commands in a single command line like:

"C:\Program Files (x86)\Citrix\ICA Client\SelfServicePlugin\SelfService.exe" -deleteproviderandlocalappsbyname StoreFront && CitrixWorkspaceApp.exe /silent /noreboot /includeSSON /forceinstall /AutoUpdateCheck=disabled

The first part will delete an existing Storefront entry which was created during install of Citrix Receiver and second one is to install new Citrix WorkspaceApp which is now configured via GPO.


Any chance to solve or do I really need to create a BAT/CMD for just two commands?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Hobbsy 3 years ago
Red Belt
1

You either need to create the batch file with the two commands in or you need to setup a script to run the commands consecutively, that will at least give you control over making sure part 1 is complete before your SMA starts part 2, which it may do when running the batch file

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ