Unable to launch Google Chrome with URL as parameter

Unable to launch Google Chrome with URL as parameter

book

Article ID: CTX269139

calendar_today

Updated On:

Description

Unable to Pubish App-V packet for Chrome and add URL as a parameter to launch the browser automatically. 
Firefox works but chrome opens with a blank page.


For Example:

How to configure Infoblox IPAM chrome application with a parameter : SET EXEPara=--enable-local-sync-backend --local-sync-backend-dir=C:\Users\%username%\AppData\Roaming\Google\Chrome\UserData\ --no-first-run --no-default-browser-check --allow-outdated-plugins --user-data-dir=C:\Users\%username%\AppData\Roaming\Google\Chrome\UserData\ https://ipam.#####.abc

Resolution

NOTE: While setting the command line argument, the length of the command line used to launch the published application (InitialProgram) cannot exceed 256 characters including the path to icast.exe and the ending null character.

The 256 character limitation is defined by a Microsoft constant on the terminal server.

Solution:

Complete the following to resolve this issue:
1. If using Windows clients, use the LongCommandLine setting. Refer to ICA Settings Reference: https://docs.citrix.com/en-us/receiver/windows/ica-settings.html

2. Application can be launched using a script as a workaround.
Refer to CTX966450 - How to Publish an Application Using a Shortcut (.lnk file) for more information.

Additional Information

1. https://docs.citrix.com/en-us/receiver/windows/ica-settings.html
2.  CTX966450