This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:etu_notepad [2015/03/28 23:28] Robert Tauber |
userspace:etu_notepad [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
Tested with opsi xxxxx\\ | Tested with opsi xxxxx\\ | ||
- | Tested with opsi xxxxx | + | requiredWinstVersion >= 4.11.4.12 // |
- | requiredWinstVersion >= 4.10.5 // | + | |
Das Setup-File wird unter Q: | Das Setup-File wird unter Q: | ||
+ | |||
+ | Tree (..\opt_pcbin\install\!drivemap): | ||
+ | [[map_Q.exe]]\\ | ||
+ | |||
+ | Tree (Q: | ||
+ | [[Copy.exe]] (Für *.exe)\\ | ||
+ | Notepad++\npp.# | ||
Tree (..\notepadpp): | Tree (..\notepadpp): | ||
Line 21: | Line 27: | ||
CLIENT_DATA\userDefineLang\notepad++.exe\\ | CLIENT_DATA\userDefineLang\notepad++.exe\\ | ||
CLIENT_DATA\userDefineLang\userDefineLang.xml\\ | CLIENT_DATA\userDefineLang\userDefineLang.xml\\ | ||
+ | |||
+ | ==== control ==== | ||
+ | < | ||
+ | [Package] | ||
+ | version: 2015.03.13 | ||
+ | depends: | ||
+ | incremental: | ||
+ | |||
+ | [Product] | ||
+ | type: localboot | ||
+ | id: notepadpp | ||
+ | name: Notepad++ | ||
+ | description: | ||
+ | advice: packed by Robert Tauber | ||
+ | version: 0 | ||
+ | priority: 0 | ||
+ | licenseRequired: | ||
+ | productClasses: | ||
+ | setupScript: | ||
+ | uninstallScript: | ||
+ | updateScript: | ||
+ | alwaysScript: | ||
+ | onceScript: | ||
+ | customScript: | ||
+ | userLoginScript: | ||
+ | |||
+ | [ProductDependency] | ||
+ | action: setup | ||
+ | requiredProduct: | ||
+ | requiredAction: | ||
+ | requirementType: | ||
+ | |||
+ | [ProductDependency] | ||
+ | action: uninstall | ||
+ | requiredProduct: | ||
+ | requiredAction: | ||
+ | requirementType: | ||
+ | </ | ||
+ | |||
+ | |||
==== setup.ins ==== | ==== setup.ins ==== | ||
Line 93: | Line 139: | ||
; | ; | ||
Set $Part$ = " | Set $Part$ = " | ||
- | if FileExists(" | + | if FileExists(" |
Winbatch_uninstall | Winbatch_uninstall | ||
subCheckExitCodeVLC | subCheckExitCodeVLC | ||
Line 126: | Line 172: | ||
; z.B.: das Syntax Highlighting für winst dint das als workaround | ; z.B.: das Syntax Highlighting für winst dint das als workaround | ||
; dabei kommt ein auto it skript zum einsatz das sich als Notepad++.exe ausgibt zum einsatz | ; dabei kommt ein auto it skript zum einsatz das sich als Notepad++.exe ausgibt zum einsatz | ||
- | ; dise fängt den Befehl ab Kopirt wenn noch nicht vorhanden die userDefineLang.xml nach %appdata%\Notepad++ | + | ; dise fängt den Befehl ab, Kopirt wenn noch nicht vorhanden die userDefineLang.xml nach %appdata%\Notepad++ |
; und startet dan die umbenante Notepad+++.exe mit den ursprünglichen komandos. | ; und startet dan die umbenante Notepad+++.exe mit den ursprünglichen komandos. | ||
[DosBatch_Setings] | [DosBatch_Setings] | ||
Line 226: | Line 272: | ||
==== uninstall.ins ==== | ==== uninstall.ins ==== | ||
<code winst> | <code winst> | ||
- | ; (c) Robert Tauber 2014 | ||
[Actions] | [Actions] | ||
Line 245: | Line 290: | ||
; | ; | ||
; Kurzer Produktname (max. 12 Zeichen) | ; Kurzer Produktname (max. 12 Zeichen) | ||
- | Set $ProductNameShort$ = "Adobe Reader" | + | Set $ProductNameShort$ = "Notepad++" |
; Langer Produktname (max. 30 Zeichen) | ; Langer Produktname (max. 30 Zeichen) | ||
- | Set $ProductNameLong$ = "Adobe Reader" | + | Set $ProductNameLong$ = "Notepad++" |
; | ; | ||
; Gewünschtes Betriebssystem (alle ungültigen auskommentieren) | ; Gewünschtes Betriebssystem (alle ungültigen auskommentieren) | ||
Line 413: | Line 458: | ||
</ | </ | ||
- | ==== setup.ins ==== | + | ==== notepad++.exe / notepad++.au3 |
- | < | + | < |
+ | #include < | ||
+ | |||
+ | ;=== Befehle aufbereiten === | ||
+ | ;RT 2015.03.13: | ||
+ | ; Ziel ist es die aufruf parameter korekt weiter zu geben | ||
+ | $pfad = @ScriptDir | ||
+ | $name = " | ||
+ | $cmp = _ArrayToString($CmdLine, | ||
+ | $prog = '"' | ||
+ | ;RT 2015.03.13: Zur kontrolle | ||
+ | ; | ||
+ | |||
+ | |||
+ | ;=== Zusatz Aktionen === | ||
+ | ;RT 2015.03.13: | ||
+ | ; Was Soll Pasiren befor das Programm aufgerufen wird | ||
+ | ; == Kopiren == | ||
+ | ;RT 2015.03.13: Quelle und Ziel definiren | ||
+ | $file = " | ||
+ | $quelle = @ScriptDir & " | ||
+ | $ziel = @AppDataDir & " | ||
+ | |||
+ | ;RT 2015.03.13: Prüfen ob Quelle ok und Ziel nochnicht vorhanden | ||
+ | if FileExists($quelle) and not FileExists($ziel) then | ||
+ | ;RT 2015.03.13: Zur kontrolle | ||
+ | ; | ||
+ | | ||
+ | EndIf | ||
+ | |||
+ | run ($prog) | ||
+ | ;RT 2015.03.13: Zur kontrolle | ||
+ | ; | ||
</ | </ | ||
+ |