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:37] Robert Tauber [ETU Notepad++] |
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: | ||
Line 16: | Line 15: | ||
Tree (Q: | Tree (Q: | ||
- | Copy.exe\\ | + | [[Copy.exe]] (Für *.exe)\\ |
Notepad++\npp.# | Notepad++\npp.# | ||
Line 28: | 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 100: | Line 139: | ||
; | ; | ||
Set $Part$ = " | Set $Part$ = " | ||
- | if FileExists(" | + | if FileExists(" |
Winbatch_uninstall | Winbatch_uninstall | ||
subCheckExitCodeVLC | subCheckExitCodeVLC | ||
Line 233: | Line 272: | ||
==== uninstall.ins ==== | ==== uninstall.ins ==== | ||
<code winst> | <code winst> | ||
- | ; (c) Robert Tauber 2014 | ||
[Actions] | [Actions] | ||
Line 252: | 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 420: | Line 458: | ||
</ | </ | ||
- | ==== notepad++.exe/ | + | ==== notepad++.exe / notepad++.au3 ==== |
<code autoit> | <code autoit> | ||
#include < | #include < | ||
Line 456: | Line 494: | ||
</ | </ | ||
- | ==== notepad++.exe/ | ||
- | <code autoit> | ||
- | #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 | ||
- | ; | ||
- | |||
- | </ |