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/29 00:01] 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\\ | ||
| - | requiredWinstVersion >= 4.10.5 // | + | requiredWinstVersion >= 4.11.4.12 // |
| Das Setup-File wird unter Q: | Das Setup-File wird unter Q: | ||
| Line 15: | Line 15: | ||
| Tree (Q: | Tree (Q: | ||
| - | Copy.exe\\ | + | [[Copy.exe]] (Für *.exe)\\ |
| Notepad++\npp.# | Notepad++\npp.# | ||
| Line 28: | Line 28: | ||
| CLIENT_DATA\userDefineLang\userDefineLang.xml\\ | CLIENT_DATA\userDefineLang\userDefineLang.xml\\ | ||
| - | ==== Copy.exe / Copy.exe.au3 | + | ==== control |
| - | Kopieren und Umbenennen \\ | + | < |
| - | //Später ermitteln der Version Nummer// | + | [Package] |
| + | version: 2015.03.13 | ||
| + | depends: | ||
| + | incremental: | ||
| - | <code autoit> | + | [Product] |
| - | #include <File.au3> | + | type: localboot |
| - | #include <Array.au3> | + | id: notepadpp |
| + | name: Notepad++ | ||
| + | description: | ||
| + | advice: packed by Robert Tauber | ||
| + | version: 0 | ||
| + | priority: 0 | ||
| + | licenseRequired: | ||
| + | productClasses: | ||
| + | setupScript: | ||
| + | uninstallScript: | ||
| + | updateScript: | ||
| + | alwaysScript: | ||
| + | onceScript: | ||
| + | customScript: | ||
| + | userLoginScript: | ||
| - | ;RT: Wo binn ich / Wo sol es denn hin | + | [ProductDependency] |
| - | Local $sPath = @ScriptDir | + | action: setup |
| - | Local $aPath = StringSplit( @ScriptDir, " | + | requiredProduct: |
| - | Local $sPathTo = " | + | requiredAction: setup |
| - | local $extention = " | + | requirementType: after |
| - | ;RT: Zur Kontrolle | + | [ProductDependency] |
| - | ; | + | action: uninstall |
| - | ;MsgBox ( 1, "Zeil Pfad", $sPathTo | + | requiredProduct: |
| + | requiredAction: | ||
| + | requirementType: | ||
| + | </ | ||
| - | ;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 152: | Line 139: | ||
| ; | ; | ||
| Set $Part$ = " | Set $Part$ = " | ||
| - | if FileExists(" | + | if FileExists(" |
| Winbatch_uninstall | Winbatch_uninstall | ||
| subCheckExitCodeVLC | subCheckExitCodeVLC | ||
| Line 285: | Line 272: | ||
| ==== uninstall.ins ==== | ==== uninstall.ins ==== | ||
| <code winst> | <code winst> | ||
| - | ; (c) Robert Tauber 2014 | ||
| [Actions] | [Actions] | ||
| Line 304: | 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) | ||