![]() If $receiver_Present_2 = 1 Then Call ( "Cleanup" ) Exit Else EndIf Checks for Citrix PNAgent 12.3.0.8 and if it exists then exits. If $receiver_Present = 1 Then Call ( "Cleanup" ) Exit Else EndIf Checks for Citrix receiver and exits if present. If FileExists ( "C:\Program Files (x86)\RemoteScan Server\server.ini" ) Then Call ( "Cleanup" ) Exit ElseIf FileExists ( "C:\Program Files\RemoteScan Server\server.ini" ) Then Call ( "Cleanup" ) Exit Else EndIf Checks for Citrix receiver and exits if present. ![]() ico Global $x86 = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\", "ClientName" ) Global $圆4 = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\", "ClientName" ) Global $receiver_Present = FileExists ( "C:\ProgramData\Citrix\Citrix Receiver (Enterprise)\TrolleyExpress.exe" ) Global $receiver_Present_2 = FileExists ( "C:\ProgramData\Citrix\Citrix Receiver\TrolleyExpress.exe" ) Global $PNAgent_圆4_Upgrade = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\PluginPackages\XenAppSuite\PN_Agent\", "Version" ) Global $PNAgent_x86_Upgrade = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\PNAgent\", "Version" ) Global $Dragon_圆4 = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Voice\SpeechRecognition\Engine", "Dragon NaturallySpeaking" ) Global $Dragon_x86 = RegRead ( "HKEY_LOCAL_MACHINE\SOFTWARE\Voice\SpeechRecognition\Engine", "Dragon NaturallySpeaking" ) Global $Dragon_Installed Global $Dragon_Installed_圆4 Global $Dragon_Installed_x86 If Not $Dragon_圆4 = "" Then $Dragon_Installed_圆4 = 1 If Not $Dragon_x86 = "" Then $Dragon_Installed_x86 = 1 If $Dragon_Installed_圆4 = 1 Or $Dragon_Installed_x86 = 1 Then $Dragon_Installed = 1 If Not FileExists ( & "\Citrix\" ) then Exit IniWrite ( & "\ClientName.ini", "section1", "ClientName", $x86 ) IniWrite ( & "\ClientName.ini", "section2", "ClientName", $圆4 ) Func Cleanup ( ) FileDelete ( & '\ReceiverCleanupUtility.exe' ) File Cleanup FileDelete ( & '\CitrixUninstallPrevious.bat' ) File Cleanup EndFunc =>Cleanup File installation from executable FileInstall ( "C:\AutoItCitrix\CitrixUninstallPrevious.bat", & "\", 0 ) FileInstall ( "C:\AutoItCitrix\ReceiverCleanupUtility.exe", & "\", 0 ) This block will check for remotescan and if it exists then exits. Uninstalling the application requires the reverse order.Expand collapse popup #AutoIt3Wrapper_Res_Comment=CHI Citrix Uninstaller #AutoIt3Wrapper_Res_Description=This application will uninstall any version of Citrix Online Plugin #AutoIt3Wrapper_Res_Fileversion=1.0.1.0 #AutoIt3Wrapper_Res_FileVersion_AutoIncrement=P #AutoIt3Wrapper_Res_ProductVersion=1.0 #AutoIt3Wrapper_res_requestedExecutionLevel=requireAdministrator #AutoIt3Wrapper_Icon=favicon. Installation order was taken from the log files produced by the CitrixReceiver.exe installer. This "forces" the application to be repaired and creates/replaces all user centric files and settings. I created two values, one for the Name of the component (Default) and one for the command to run the repair (StubPath). ![]() ![]() The reboot was my own requirement since this would "force" the repair to be run by any user logging on.Īdding this to Active Setup is easily accomplished by following the guidance in this post ( ). The application must be installed using an elevated context followed by a reboot with subsequent "repair" for each user. The CitrixReceiver.exe file extracts into 9 MSI files which comprise the components of the application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |