Sample Command Line Usage
Launching and activating FlexApp One applications can be done in many ways using a variety of command line options.
For the best single user experience, instruct each FlexApp to create any provided Desktop and Start Menu shortcuts for the user, to place a shortcut to itself in the Start Menu FlexApp group and to do this each time the user logs in. The command line options for this are --CTL --AddToStart --Startup.
For multi-user systems, run in the system context and call each FlexApp with options --System --Index 999 to mount the application. You can also use --Sync to copy the FlexApp One local and then launch it locally when the sync completes. Including the --SessionIsolate option when initially activating the package will enable session isolation, preventing users from directly running the package executable and hiding the files of the played back application unless the user also passes the --SessionIsolate option when launching the application. After the initial launch, call each application again with --System --CTL --AddToStart --SkipActivation to create any Desktop and Start Menu Shortcuts, add a shortcut to the executable in the FlexApp Start Menu group, and skip activating the application since it was already mounted in the prior step. In order to ensure those without access to the application cannot also run the same shortcuts, an ACL will need to be used on the FlexApp One package EXE so that only authorized users or groups can execute it. The --SessionIsolate option alone only hides the files, like in Program Files, from users that have not activated the package within their session.
Note: FlexApp One applications are non-persistent and revert back each time you restart your desktop, unless you use the --persist command line option to persist the applications virtual disk changes.
The following are commonly used command line options.
System Context Options
Variations and combinations often used for multiuser workspaces depending on distribution solution or use case:
--system --addtostart --index 999
--sync C:\ProgramData\FlexApp\App.exe --outofband --system --ctl --startup --index 999
--index 999
--sync C:\ProgramData\FlexApp \App.exe --system --index 999 --sessionisolate
User Context Options
Variations and combinations often used for single user workspaces depending on distribution solution or use case:
--startup --addtostart --ctl --skipactivation
--sync C:\ProgramData\FlexApp\App.exe --outofband --system --ctl --startup --index 999
--index 999
--sync C:\ProgramData\FlexApp\App.exe --system --index 999 --sessionisolate
Using Login Scripts
Variations and combinations often used for single user workspaces:
A login script can also be used to execute each FlexApp One executable with command line options. The above single user system examples can also apply to logon scripts.
