This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
userspace:winscp [2011/10/10 14:02] Der-Matze created |
userspace:winscp [2021/08/23 08:37] (current) |
||
|---|---|---|---|
| Line 21: | Line 21: | ||
| [Initial] | [Initial] | ||
| - | ;Standard Text, der während der Installation angezeigt wird | + | ;Standard Text, der während der Installation angezeigt wird / Standardtext shown during installation |
| - | Message = Bitte warten, das Produkt wird installiert | + | Message = Bitte warten, das Produkt wird installiert |
| - | + | ;Loglevel einstellen | |
| - | + | setLogLevel = 6 | |
| - | + | ;Bei Fehlern abbrechen | |
| - | ;Loglevel einstellen | + | ExitOnError = false |
| - | setLogLevel = 6 | + | ;Syntax Fehler werden in einem separaten Fenster angezeigt |
| - | + | ScriptErrorMessages = on | |
| - | + | ; | |
| - | + | TraceMode = off | |
| - | ;Bei Fehlern abbrechen | + | ;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen |
| - | ExitOnError = false | + | StayOnTop = false |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;Syntax Fehler werden in einem separaten Fenster angezeigt | + | |
| - | ScriptErrorMessages = on | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ; | + | |
| - | TraceMode = off | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen | + | |
| - | StayOnTop = false | + | |
| - | + | ||
| [Actions] | [Actions] | ||
| - | + | ;Variable für die Ermittlung des Betriebssystems | |
| - | ;Variable für die Ermittlung des Betriebssystems | + | DefVar $OS$ |
| - | DefVar $OS$ | + | Set $OS$ = GetOS |
| - | Set $OS$ = GetOS | + | ;Variable für die Ermittlung der Betriebssystem Unterversion |
| - | + | DefVar $NTVersion$ | |
| - | + | Set $NTVersion$ = GetNTVersion | |
| - | + | ||
| - | ;Variable für die Ermittlung der Betriebssystem Unterversion | + | |
| - | DefVar $NTVersion$ | + | |
| - | Set $NTVersion$ = GetNTVersion | + | |
| - | + | ||
| - | + | ||
| ;Die Variable zur Auswertung des ExitCodes | ;Die Variable zur Auswertung des ExitCodes | ||
| - | DefVar $ExitCode$ | + | DefVar $ExitCode$ |
| + | ;Name des Produkts (max. 12 Zeichen) / Name of product (max 12 characters) | ||
| + | DefVar $ProductName$ | ||
| + | Set $ProductName$ = " | ||
| + | ; | ||
| + | DefVar $ProductNameFull1$ | ||
| + | Set $ProductNameFull1$ = " | ||
| + | ;Dateiname des Produktbildes mit Erweiterung / Dilename of productpicture incl. extension | ||
| + | DefVar $ProductPicture$ | ||
| + | Set $ProductPicture$ = " | ||
| + | ;Anzeigen der Installationsbenachrichtigung incl. des vollen Produktnamens / Show installation-message incl. productname | ||
| + | Message " | ||
| + | ;Prüfen der Winst Version / Check the winst-version | ||
| + | requiredWinstVersion >= " | ||
| - | ;Name des Produkts (max. 12 Zeichen) | + | ;$ProductPicture$ und $ProductName$ |
| - | DefVar | + | ShowBitmap /3 " |
| - | Set $ProductName$ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ; | + | |
| - | DefVar $ProductNameFull1$ | + | |
| - | Set $ProductNameFull1$ = " | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;Dateiname des Produktbildes mit Erweiterung | + | |
| - | DefVar | + | |
| - | Set $ProductPicture$ = " | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;Anzeigen der Installationsbenachrichtigung incl. des vollen Produktnamens | + | |
| - | Message " | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;Prüfen der Winst Version | + | |
| - | requiredWinstVersion >= " | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ; | + | |
| - | ShowBitmap /3 " | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;Freien Speicherplatz ermitteln | + | |
| - | if not (HasMinimumSpace (" | + | |
| - | LogError "Nicht genügend Platz auf %SYSTEMDRIVE%" | + | |
| - | isFatalError | + | |
| - | endif | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ;OS-Version ermitteln | + | |
| - | if ( $NTVersion$ = " | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Winbatch_Install | + | |
| - | sub " | + | |
| - | + | ||
| - | Files_Copy | + | |
| - | Linkfolder_Custom | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | else | + | |
| - | LogError "Kein kompatibles Betriebssystem installiert" | + | |
| - | isFatalError | + | |
| - | endif | + | |
| + | ;Freien Speicherplatz ermitteln / Check free space on disk | ||
| + | if not (HasMinimumSpace (" | ||
| + | LogError "Nicht genügend Platz auf %SYSTEMDRIVE%" | ||
| + | isFatalError | ||
| + | endif | ||
| + | ;OS-Version ermitteln / Get the OS-Version | ||
| + | if ( $NTVersion$ = " | ||
| + | Winbatch_Install | ||
| + | sub " | ||
| + | Files_Copy | ||
| + | Linkfolder_Custom | ||
| + | else | ||
| + | LogError "Kein kompatibles Betriebssystem installiert" | ||
| + | isFatalError | ||
| + | endif | ||
| [Winbatch_Install] | [Winbatch_Install] | ||
| - | + | " | |
| - | " | + | |
| [Linkfolder_Custom] | [Linkfolder_Custom] | ||
| - | |||
| ;Startmenü anpassen | ;Startmenü anpassen | ||
| - | Set_basefolder common_programs | + | Set_basefolder common_programs |
| - | delete_subfolder " | + | delete_subfolder " |
| - | Set_link | + | Set_link |
| - | name: $ProductName$ | + | name: $ProductName$ |
| - | target: %ProgramFiles32Dir%\WinSCP\WinSCP.exe | + | target: %ProgramFiles32Dir%\WinSCP\WinSCP.exe |
| - | parameters: | + | parameters: |
| - | working_dir: | + | working_dir: |
| - | icon_file: | + | icon_file: |
| - | icon_index: | + | icon_index: |
| - | end_link | + | end_link |
| - | + | Set_link | |
| - | Set_link | + | name: " |
| - | name: " | + | target: %ProgramFiles32Dir%\WinSCP\PuTTY\pageant.exe |
| - | target: %ProgramFiles32Dir%\WinSCP\PuTTY\pageant.exe | + | parameters: |
| - | parameters: | + | working_dir: |
| - | working_dir: | + | icon_file: |
| - | icon_file: | + | icon_index: |
| - | icon_index: | + | end_link |
| - | end_link | + | Set_link |
| - | + | name: " | |
| - | Set_link | + | target: %ProgramFiles32Dir%\WinSCP\PuTTY\puttygen.exe |
| - | name: " | + | parameters: |
| - | target: %ProgramFiles32Dir%\WinSCP\PuTTY\puttygen.exe | + | working_dir: |
| - | parameters: | + | icon_file: |
| - | working_dir: | + | icon_index: |
| - | icon_file: | + | end_link |
| - | icon_index: | + | |
| - | end_link | + | |
| [Files_Copy] | [Files_Copy] | ||
| - | + | copy " | |
| - | copy " | + | |
| </ | </ | ||
| Line 188: | Line 127: | ||
| ;Standard Text, der während der Deinstallation angezeigt wird | ;Standard Text, der während der Deinstallation angezeigt wird | ||
| - | Message = Bitte warten, das Produkt wird deinstalliert | + | Message = Bitte warten, das Produkt wird deinstalliert |
| - | + | ||
| - | + | ||
| ;Loglevel einstellen | ;Loglevel einstellen | ||
| - | setLogLevel = 6 | + | setLogLevel = 6 |
| - | + | ||
| - | + | ||
| ;Bei Fehlern abbrechen | ;Bei Fehlern abbrechen | ||
| - | ExitOnError = false | + | ExitOnError = false |
| - | + | ||
| - | + | ||
| ;Syntax Fehler werden in einem separaten Fenster angezeigt | ;Syntax Fehler werden in einem separaten Fenster angezeigt | ||
| - | ScriptErrorMessages = on | + | ScriptErrorMessages = on |
| - | + | ||
| - | + | ||
| ; | ; | ||
| - | TraceMode = off | + | TraceMode = off |
| - | + | ||
| - | + | ||
| ;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen | ;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen | ||
| - | StayOnTop = false | + | StayOnTop = false |
| - | + | ||
| - | + | ||
| - | + | ||
| [Actions] | [Actions] | ||
| - | |||
| ;Name des Produkts (max. 12 Zeichen) | ;Name des Produkts (max. 12 Zeichen) | ||
| - | DefVar $ProductName$ | + | DefVar $ProductName$ |
| - | Set $ProductName$ = " | + | Set $ProductName$ = " |
| - | + | ||
| - | + | ||
| ; | ; | ||
| - | DefVar $ProductNameFull1$ | + | DefVar $ProductNameFull1$ |
| - | set $ProductNameFull1$ = " | + | set $ProductNameFull1$ = " |
| - | + | ||
| - | + | ||
| ;Dateiname des Produktbildes mit Erweiterung | ;Dateiname des Produktbildes mit Erweiterung | ||
| - | DefVar $ProductPicture$ | + | DefVar $ProductPicture$ |
| - | Set $ProductPicture$ = " | + | Set $ProductPicture$ = " |
| - | + | ||
| - | + | ||
| ;Die Variable zur Auswertung des ExitCodes | ;Die Variable zur Auswertung des ExitCodes | ||
| - | DefVar $ExitCode$ | + | DefVar $ExitCode$ |
| - | + | ||
| - | + | ||
| ;Anzeigen der Deinstallationsbenachrichtigung incl. des vollen Produktnamens | ;Anzeigen der Deinstallationsbenachrichtigung incl. des vollen Produktnamens | ||
| - | Message " | + | Message " |
| - | + | ||
| - | + | ||
| ; | ; | ||
| - | ShowBitmap /3 " | + | ShowBitmap /3 " |
| - | + | ||
| Winbatch_Uninstall | Winbatch_Uninstall | ||
| - | sub " | + | sub " |
| Linkfolder_Custom | Linkfolder_Custom | ||
| - | |||
| - | |||
| - | |||
| - | |||
| [Winbatch_Uninstall] | [Winbatch_Uninstall] | ||
| - | + | " | |
| - | " | + | |
| - | + | ||
| [Linkfolder_Custom] | [Linkfolder_Custom] | ||
| - | |||
| ;Startmenü Verknüpfung löschen | ;Startmenü Verknüpfung löschen | ||
| - | Set_basefolder common_programs | + | Set_basefolder common_programs |
| - | Set_subfolder "" | + | Set_subfolder "" |
| - | delete_element " | + | delete_element " |
| - | delete_element " | + | delete_element " |
| - | delete_element " | + | delete_element " |
| </ | </ | ||