Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:remote_desktop_manager_9.2.2.0 [2014/03/21 14:10]
hadro
userspace:remote_desktop_manager_9.2.2.0 [2014/03/21 14:27] (current)
hadro
Line 5: Line 5:
 Der Remote Desktop Manager kann hier runtergeladen werden: http://​remotedesktopmanager.com/​Home/​Download Der Remote Desktop Manager kann hier runtergeladen werden: http://​remotedesktopmanager.com/​Home/​Download
  
-Tree:\\ +In den RemoteDesktopManager.cfg Dateien muss der <​string>​ Part angepasst werden. 
- ​setup.ins\\ +Diese besagt, wo die exportierten Server Listen gespeichert wurden und wie die .rdm Datei heißt. 
- ​uninstall.ins\\ + 
- ​delsub.ins\\ +Zu finden ist die Original cfg unter"​%LocalAppData%\Devolutions\RemoteDesktopManager"​ ... 
- cfg_de\\ + 
- RemoteDesktopManager.cfg\\ +Dieses Script konfiguriert durch die RemoteDesktopManager.cfg sofort die Standard und nicht die Enterprise Version. 
- ​cfg_en\\ +Dafür wurde nur 2 Zeilen aus der Original cfg gelöscht, welche den Trial Key für die Enterprise Version enthielten. 
- RemoteDesktopManager.cfg\\+ 
 + 
 + 
 + 
 +=== setup.ins ​=== 
 +<code winst> 
 +[Actions] 
 +requiredWinstVersion >= "​4.11.2.6"​ 
 + 
 +DefVar $ProductId$ 
 +DefVar $ProductName$ 
 +DefVar $MinimumSpace$ 
 +DefVar $oslanguage$ 
 +DefVar $language$ 
 +DefStringList $languageInfo$ 
 + 
 +DefVar $ExitCode$ 
 + 
 +set $ProductId$ = "​remotedesktopmanager"​ 
 +set $ProductName$ = "​Remote Desktop Manager"​ 
 +set $MinimumSpace$ = "160 MB" 
 +set $languageInfo$ ​     = getLocaleInfoMap 
 +set $oslanguage$ ​       = getValue("​language_id_2chars",​ $languageInfo$) 
 +set $language$  ​ = GetProductProperty("​language","​OS"​) 
 + 
 +Message "​Installing " + $ProductName$ + " ..." 
 + 
 +if not(HasMinimumSpace ("​%SYSTEMDRIVE%",​ $MinimumSpace$)) 
 + LogError "Not enough space on %SYSTEMDRIVE%:​ . " + $MinimumSpace$ + " on Drive %SYSTEMDRIVE%:​ needed for " + $ProductId$ + "​."​ 
 + isFatalError 
 +else 
 + comment "show product picture"​ 
 + ShowBitmap "​%ScriptPath%\" + $ProductId$ + "​.png"​ $ProductName$ 
 +  
 + if FileExists("​%ScriptPath%\delsub.ins"​) 
 + comment ​ "​start ​uninstall ​sub section"​ 
 + sub "​%ScriptPath%\delsub.ins
 + endif 
 +  
 + Message "​Installing " + $ProductName$ + " ..." 
 +  
 + comment "Start setup program"​ 
 + Registry_config /​AllNTUserdats /​SysNative 
 +  
 + Winbatch_install_rdm 
 +  
 + sub "​%ScriptDrive%\check_exitcode\check_msi-exitcode.ins
 +  
 + if ($language$ = "​OS"​) 
 + if $oslanguage$="​DE"​ 
 + ; installiere deutsche Version 
 + Files_copy_cfg_server_de 
 + else 
 + ; installiere englische Version 
 + Files_copy_cfg_server_en 
 + endif 
 + endif 
 +  
 + if ($language$ = "​GER"​) 
 + Files_copy_cfg_server_de 
 + endif 
 +  
 + if ($language$ = "​EN"​) 
 + Files_copy_cfg_server_en 
 + endif 
 +  
 + Files_copy_serverlist 
 +endif 
 + 
 +[Winbatch_install_rdm] 
 +%ScriptPath%\Setup.RemoteDesktopManager.9.2.2.0.exe /q 
 + 
 +[Registry_config] 
 +OpenKey [HKCU\Software\RemoteDesktopManager] 
 +add "​OptionPath"​ = REG_SZ:"​%ProgramFiles32Dir%\Devolutions\Remote Desktop Manager\cfg\" 
 + 
 +[Files_copy_cfg_server_de] 
 +copy "​%ScriptPath%\cfg_de\*.*" "​%ProgramFiles32Dir%\Devolutions\Remote Desktop Manager\cfg\"​ 
 + 
 +[Files_copy_cfg_server_en] 
 +copy "​%ScriptPath%\cfg_en\*.*" "​%ProgramFiles32Dir%\Devolutions\Remote Desktop Manager\cfg\" 
 + 
 +[Files_copy_serverlist] 
 +copy "​%ScriptPath%\SERVERLISTE.rdm" "​%ProgramFiles32Dir%\Devolutions\Remote Desktop Manager\cfg\
 +</​code>​ 
 + 
 + 
 +=== delsub.ins === 
 +<code winst> 
 +DefVar $DisplayName$ 
 +DefVar $UninstallCommand$ 
 + 
 +set $DisplayName$ = GetRegistryStringValueSysNative("​[HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4C57681A-37FF-4DAB-9ECE-60D180EDEA75}] DisplayName"​) 
 +if not ($DisplayName$ = ""​) 
 + Message "​Deinstalling " + $ProductName$ + " ..." 
 + set $UninstallCommand$ = "​MsiExec.exe /x {4C57681A-37FF-4DAB-9ECE-60D180EDEA75} /qn REBOOT=ReallySuppress"​ 
 + Winbatch_Uninstall 
 + DosInAnIcon_uninstall 
 + sub "​%ScriptDrive%\check_exitcode\check_msi-exitcode.ins"​ 
 +endif 
 + 
 +[Winbatch_Uninstall] 
 +$UninstallCommand$ 
 + 
 +[DosInAnIcon_uninstall] 
 +rmdir /S /Q "​%ProgramFiles32Dir%\Devolutions"​ 
 +</​code>​ 
 + 
 + 
 +=== uninstall.ins === 
 +<code winst> 
 +[Actions] 
 +requiredWinstVersion >= "​4.11.2.6"​ 
 + 
 +DefVar $ProductId$ 
 +DefVar $ProductName$ 
 + 
 +DefVar $ExitCode$ 
 + 
 +set $ProductId$ = "​remotedesktopmanager"​ 
 +set $ProductName$ = "​Remote Desktop Manager"​ 
 + 
 +comment "show product picture"​ 
 +ShowBitmap "​%ScriptPath%\"​ + $ProductId$ + "​.png"​ $ProductName$ 
 + 
 +if FileExists("​%ScriptPath%\delsub.ins"​) 
 + comment ​ "start uninstall sub section"​ 
 + sub "​%ScriptPath%\delsub.ins"​ 
 +endif 
 +</​code>​ 
 + 
 +=== OPSI/​control === 
 +<code winst> 
 +[Package] 
 +version: 1 
 +depends:  
 +incremental:​ False 
 + 
 +[Product] 
 +type: localboot 
 +id: remotedesktopmanager 
 +name: Remote Desktop Manager 
 +description:​  
 +advice: Firefox und Putty (AdminUtils) können nach installiert werden, damit RDM darauf zugreifen kann. 
 +version: 9.2.2.0 
 +priority: 0 
 +licenseRequired:​ False 
 +productClasses:​  
 +setupScript:​ setup.ins 
 +uninstallScript:​ uninstall.ins 
 +updateScript:​  
 +alwaysScript:​  
 +onceScript:  
 +customScript:​  
 +userLoginScript:​  
 + 
 +[ProductProperty] 
 +type: unicode 
 +name: language 
 +multivalue: False 
 +editable: True 
 +description:​ Auswahl der Sprache. 
 +values: ["​EN",​ "​GER",​ "​OS"​] 
 +default: ["​OS"​] 
 + 
 +[Changelog] 
 +remotedesktopmanager (9.2.2.0-1) testing; urgency=low 
 +</​code>​ 
 + 
 + 
 +=== RemoteDesktopManager.cfg - Deutsch === 
 +<code winst> 
 +<?xml version="​1.0"?>​ 
 +<​Option>​ 
 +  <​CurrentLanguage>​de</​CurrentLanguage>​ 
 +  <​EditionSelected>​true</​EditionSelected>​ 
 +  <​EncryptedDataSources>​ 
 +    <​string>​!!!!HIER MUSS ANGEPASST WERDEN!!!!</​string>​ 
 +  </​EncryptedDataSources>​ 
 +</​Option>​ 
 +</​code>​ 
 + 
 +=== RemoteDesktopManager.cfg - Englisch === 
 +<code winst> 
 +<?xml version="​1.0"?>​ 
 +<​Option>​ 
 +  <​EditionSelected>​true</​EditionSelected>​ 
 +  <​EncryptedDataSources>​ 
 +    <​string>​!!!!HIER MUSS ANGEPASST WERDEN!!!!</​string>​ 
 +  </​EncryptedDataSources>​ 
 +</​Option>​ 
 +</​code>​

QR Code
QR Code userspace:remote_desktop_manager_9.2.2.0 (generated for current page)