Answer:XenApp Sessions Cleaner supports MSI Properties for silent unattended installation.
Here are the .msi properties You can use to deploy silently XenApp Sessions Cleaner :
For Versions 4.X and later
SVCUSERNAME : The Service Account Username (Mydomain\MyAccount)
SVCPASSWORD : The Service Account Password
CLEANSESS_ENABLED : 1 if Sessions Cleaning Enabled, 0 otherwise
CLEANSESS_HOURS : The Hours (separated by a ";") You want the service to logoff sessions (Warning use your local time format like 23:00 or 11:00 PM)
CLEANSESS_THRESHOLD : The Time sessions should be disconnected before being logged off
CLEANSESS_LOGOFF_ACTIVE_SESSIONS : 1 if you want the service to also Log Active Sessions Off, 0 otherwise
CLEANSESS_EXCLUDE_GROUPS : 1 if you want to exclude Groups from the Sessions Cleaning Thread, 0 otherwise
CLEANSESS_EXCLUDED_GROUPS : List of excluded Groups, using the MyDomain\My Group format and separated by a ";"
CLEANSESS_EXCLUDE_USERS : 1 if you want to exclude Users from the Sessions Cleaning Thread, 0 otherwise
CLEANSESS_EXCLUDED_USERS : List of excluded Users, using the MyDomain\My User format and separated by a ";"
CLEANSESS_SEND_MESSAGE : 1 if you want to send a message to Active sessions before scheduled logoff, 0 otherwise. Note : Only valid when active sessions cleaning is enabled.
CLEANSESS_MESSAGE : The Message the Sessions Cleaning Thread will send (as string, can include the #Logoff_Timer# token)
CLEANSESS_MESSAGE_TITLE : The title of the sessions cleaning message
CLEANSESS_MESSAGE_STYLE : The style of the sessions cleaning Message ( "16" for Critical, "48" for Exclamation, "64" for Information)
CLEANSESS_MESSAGE_TIMER : The time (in minutes) before the logoff thread the message will start to be sent
CLEANSESS_MESSAGE_REPEAT_TIMER : The time interval (in minutes) between each message repeat.
REBOOT_ENABLED : 1 if reboot thread should be enabled, 0 otherwise
REBOOT_HOURS : The Hours (separated by a ";") you want the service to reboot the server on selected day(s), same warning as previously mentionned.
REBOOT_DAYS : The Reboot Days (like Monday .. separated by a ";")
REBOOT_DISABLE_LOGONS : 1 If you want the service to disable logons on the server before the reboot, 0 otherwise
REBOOT_LOGOFF_SESSIONS : 1 If you want the service to Log sessions Off before reboot, 0 Otherwise.
REBOOT_SEND_MESSAGE : 1 if you want to send a message to Active sessions before scheduled reboot, 0 otherwise.
REBOOT_MESSAGE : The Message the Scheduled Reboot Thread will send (as string, can include the #Logoff_Timer# token)
REBOOT_MESSAGE_TITLE : The title of the reboot message
REBOOT_MESSAGE_STYLE : The style of the reboot Message ( "16" for Critical, "48" for Exclamation, "64" for Information)
REBOOT_MESSAGE_TIMER : The time (in minutes) before the reboot thread the message will start to be sent
REBOOT_MESSAGE_REPEAT_TIMER : The time interval (in minutes) between each message repeat.
REBOOT_DISABLE_THRESHOLD : The time interval (in minutes) between the reboot and the server's logon disable option.
REBOOT_LOGOFF_THRESHOLD : The time interval (in minutes) between the reboot and the sessions logoff option.
CLEANPROFL_ENABLED : 1 if the Profiles Cache cleaning thread is enabled, 0 otherwise
CLEANPROFL_HOURS: The hours (separated by a ";" ) you want the service to purge the profiles caches, same warning as previously mentionned.
CLEANPROFL_LOCAL : 1 if you want the service to also purge local profiles, 0 otherwise
CLEANPROFL_SHADOW : 1 if You want the service to purge shadow profiles, 0 otherwise
CLEANPROFL_EXCLUDE_GROUPS : 1 if you want to exclude Groups from the Profiles Cleaning Thread, 0 otherwise
CLEANPROFL_EXCLUDED_GROUPS : List of excluded Groups, using the MyDomain\My Group format and separated by a ";"
CLEANPROFL_EXCLUDE_USERS : 1 if you want to exclude Users from the Profiles Cleaning Thread, 0 otherwise
CLEANPROFL_EXCLUDED_USERS : List of excluded Users, using the MyDomain\My User format and separated by a ";"
You command line (or IM config) should be just like this sample :
msiexec /i "XenApp Sessions Cleaner Setup.msi" SVCUSERNAME=MyDomain\MySvcAccount SVCPASSWORD=MySvcPassword CLEANSESS_ENABLED=1 CLEANSESS_HOURS=22:00 ..... /qn
Please note the the only mandatory settings are SVCUSERNAME and SVCPASSWORD.
If you do not specify a setting, it'll be disabled by default.
Regarding Schedules, Default Installed Schedules will be set if the property is null or absent.
Regarding User's and group exclusions, nested groups are supported and local users / groups also. To add a Local Group/User, please use the MyComputerName\My User syntax.
For Versions prior to 4.X
SVCUSERNAME : The Service Account Username (Mydomain\MyAccount)
SVCPASSWORD : The Service Account Password
CLEANING_ENABLED : 1 if Sessions Cleaning Enabled, 0 otherwise
CLEANING_HOURS : The Hours (separated by a ";") You want the service to logoff disconnected sessions (Warning use your local time format like 23:00 or 11:00 PM)
CLEANING_THRESHOLD : The Time sessions should be disconnected before being logged off
REBOOT_DAYS : The Reboot Days (like Monday .. separated by a ";")
REBOOT_ENABLED : 1 if reboot thread should be enabled, 0 otherwise
REBOOT_HOURS : The Hours (separated by a ";") you want the service to reboot the server on selected day(s), same warning as previously mentionned
REBOOT_DISABLE_THRESHOLD : The time before reboot You want the service to disable logon on the server
CLEANPROFL_ENABLED : 1 if the Profiles Cache cleaning thread is enabled, 0 otherwise
CLEANPROFL_HOURS : The hours (separated by a ";" ) you want the service to purge the profiles caches, same warning as previously mentionned
CLEANPROFL_LOCAL : 1 if you want the service to also purge local profiles, 0 otherwise
CLEANPROFL_SHADOW : 1 if You want the service to purge shadow profiles, 0 otherwise
You command line (or IM config) should be just like this sample :
msiexec /i "XenApp Sessions Cleaner Setup.msi" SVCUSERNAME=MyDomain\MySvcAccount SVCPASSWORD=MySvcPassword CLEANING_ENABLED=1 CLEANING_HOURS=22:00 ..... /qn
Please note the the only mandatory settings are SVCUSERNAME and SVCPASSWORD.
If you do not specify a setting, it'll be disabled by default.
Regarding Schedules, Default Installed Schedules will be set if the property is null or absent.