This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userspace:etu_notepad [2015/03/28 23:36] Robert Tauber [ETU Notepad++] |
userspace:etu_notepad [2015/04/03 10:49] Robert Tauber [ETU Notepad++] |
||
---|---|---|---|
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 15: | Line 14: | ||
[[map_Q.exe]]\\ | [[map_Q.exe]]\\ | ||
- | 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: | ||
+ | </ | ||
+ | |||
+ | ==== Copy.exe / Copy.au3 ==== | ||
+ | Kopieren und Umbenennen \\ | ||
+ | //Später ermitteln der Version Nummer// | ||
+ | |||
+ | <code autoit> | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | ;RT: Wo binn ich / Wo sol es denn hin | ||
+ | Local $sPath = @ScriptDir | ||
+ | Local $aPath = StringSplit( @ScriptDir, " | ||
+ | Local $sPathTo = " | ||
+ | local $extention = " | ||
+ | |||
+ | ;RT: Zur Kontrolle | ||
+ | ; | ||
+ | ;MsgBox ( 1, "Zeil Pfad", $sPathTo | ||
+ | |||
+ | ;RT: Erstmal aufräumen | ||
+ | DirRemove ( $sPathTo , 1 ) | ||
+ | |||
+ | ;RT: Wie sehen meine Ordner aus | ||
+ | Local $sFolderList = _FileListToArray($sPath , " | ||
+ | local $i = 0 | ||
+ | |||
+ | ;RT: Jetzt Ordner für ordner | ||
+ | For $i = 1 to $sFolderList[0] | ||
+ | ;RT: Was gibt es im aktuellen ordner | ||
+ | Local $sFileList = _FileListToArray($sPath & " | ||
+ | ;RT: Umbennenenen der *.[$extention] | ||
+ | if $sFileList <> 0 Then | ||
+ | if $sFileList[0] = 1 Then | ||
+ | ; | ||
+ | $sFrom = $sPath & " | ||
+ | $sTo = $sPathTo & " | ||
+ | FileCopy ( $sFrom, $sTo, 9 ) | ||
+ | ;DirRemove ( $sFrom ,1 ) | ||
+ | ;MsgBox ( 1, " | ||
+ | Else | ||
+ | MsgBox ( 1, " | ||
+ | _ArrayDisplay($sFileList, | ||
+ | EndIf | ||
+ | Else | ||
+ | ;MsgBox ( 1, "No Subfolders in: ", $sPath & " | ||
+ | endif | ||
+ | Next | ||
+ | |||
+ | Exit | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
==== setup.ins ==== | ==== setup.ins ==== | ||
Line 233: | Line 323: | ||
==== uninstall.ins ==== | ==== uninstall.ins ==== | ||
<code winst> | <code winst> | ||
- | ; (c) Robert Tauber 2014 | ||
[Actions] | [Actions] | ||
Line 252: | Line 341: | ||
; | ; | ||
; 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 509: | ||
</ | </ | ||
- | ==== notepad++.exe/ | + | ==== notepad++.exe / notepad++.au3 ==== |
<code autoit> | <code autoit> | ||
#include < | #include < | ||
Line 456: | Line 545: | ||
</ | </ | ||
+ |