User Tools

Site Tools


userspace:etu_notepad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 [notepad++.exe/notepad++.au3]
userspace:etu_notepad [2015/04/03 10:49]
Robert Tauber [Copy.exe / Copy.au3]
Line 7: Line 7:
  
 Tested with opsi xxxxx\\ Tested with opsi xxxxx\\
-Tested with opsi xxxxx +requiredWinstVersion >= 4.11.4.12 //[[tauber(at)fsmb.mw.tum.de|Robert Tauber]] 2015/03/13//\\
-requiredWinstVersion >= 4.10.//[[tauber(at)fsmb.mw.tum.de|Robert Tauber]] 2015/03/13//\\+
  
 Das Setup-File wird unter Q:\Notepad++\Notepad++\npp.#.#.#.Installer.exe bereit gestellt (den Speicher Ort des Netzlaufwerks Q: bestimmt die **map_Q.exe** //..\opt_pcbin\install\!drivemap\map_Q.exe//) Das Setup-File wird unter Q:\Notepad++\Notepad++\npp.#.#.#.Installer.exe bereit gestellt (den Speicher Ort des Netzlaufwerks Q: bestimmt die **map_Q.exe** //..\opt_pcbin\install\!drivemap\map_Q.exe//)
Line 15: Line 14:
 [[map_Q.exe]]\\ [[map_Q.exe]]\\
  
-Tree (Q:\Notepad++) +Tree (Q:\Notepad++):\\ 
-Copy.exe\\+[[Copy.exe]] (Für *.exe)\\ 
 Notepad++\npp.#.#.#.Installer.exe\\ Notepad++\npp.#.#.#.Installer.exe\\
  
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 ====
 +<code>
 +[Package]
 +version: 2015.03.13
 +depends: 
 +incremental: False
 +
 +[Product]
 +type: localboot
 +id: notepadpp
 +name: Notepad++
 +description: Notepad++
 +advice: packed by Robert Tauber
 +version: 0
 +priority: 0
 +licenseRequired: False
 +productClasses: 
 +setupScript: setup.ins
 +uninstallScript: uninstall.ins
 +updateScript: 
 +alwaysScript: 
 +onceScript: 
 +customScript: 
 +userLoginScript: 
 +
 +[ProductDependency]
 +action: setup
 +requiredProduct: cleanup
 +requiredAction: setup
 +requirementType: after
 +
 +[ProductDependency]
 +action: uninstall
 +requiredProduct: cleanup
 +requiredAction: setup
 +requirementType: after
 +</code>
 +
 +
  
 ==== setup.ins ==== ==== setup.ins ====
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:
 </code> </code>
  
-==== notepad++.exe/notepad++.au3 ====+==== notepad++.exe / notepad++.au3 ====
 <code autoit> <code autoit>
 #include <Array.au3> #include <Array.au3>
Line 456: Line 494:
  
 </code> </code>
-==== notepad++.exe/notepad++.au3 ==== 
-<code autoit> 
-#include <Array.au3> 
  
-;=== Befehle aufbereiten === 
-;RT 2015.03.13:  
-;  Ziel ist es die aufruf parameter korekt weiter zu geben 
-$pfad = @ScriptDir 
-$name = "notepad+++.exe" 
-$cmp = _ArrayToString($CmdLine, " ",1) 
-$prog = '"' & $pfad & "\" & $name & '" ' & $cmp 
-;RT 2015.03.13: Zur kontrolle 
-;MsgBox(1,"",$prog) 
- 
- 
-;=== Zusatz Aktionen === 
-;RT 2015.03.13: 
-;  Was Soll Pasiren befor das Programm aufgerufen wird 
-; == Kopiren == 
-;RT 2015.03.13: Quelle und Ziel definiren 
-$file = "userDefineLang.xml" 
-$quelle = @ScriptDir & "\" & $file 
-$ziel = @AppDataDir & "\Notepad++\" & $file 
- 
-;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 
-   ;MsgBox(1,"",$quelle & " ==> " & $ziel) 
-   FileCopy ($quelle,$ziel,8) & @error) 
-EndIf 
- 
-run ($prog) 
-;RT 2015.03.13: Zur kontrolle 
-;MsgBox(1,"",$prog) 
- 
-</code> 
userspace/etu_notepad.txt · Last modified: 2021/08/23 08:37 (external edit)