User Tools

Site Tools


userspace:etu_adobe_reader

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
userspace:etu_adobe_reader [2015/04/03 10:04]
Robert Tauber [setup.ins]
userspace:etu_adobe_reader [2015/04/03 10:52]
Robert Tauber [ETU Adobe Reader]
Line 15: Line 15:
  
 Tree (Q:\Adobe Reader):\\ Tree (Q:\Adobe Reader):\\
-Copy.exe\\+[[Copy.exe]] (Für *.exe)\\
 Adobe Reader\AdbeRdr#####_de_DE.exe => [[http://get.adobe.com/de/reader/enterprise/]]\\ Adobe Reader\AdbeRdr#####_de_DE.exe => [[http://get.adobe.com/de/reader/enterprise/]]\\
  
Line 62: Line 62:
 </code> </code>
  
-==== Copy.exe / Copy.au3 ==== 
-Kopieren und Umbenennen \\ 
-//Später ermitteln der Version Nummer// 
  
-<code autoit> 
-#include <File.au3> 
-#include <Array.au3> 
- 
-Local $sPath = @ScriptDir 
-Local $aPath = StringSplit( @ScriptDir, "\" ) 
-Local $sPathTo = "C:\Temp\" & $aPath[$aPath[0]] 
-local $extention = ".exe" 
- 
- 
-;_ArrayDisplay($sFolderList, "$Folderolder") 
- 
-;MsgBox ( 1, "Zeil Pfad", $sPathTo  ) 
-DirRemove ( $sPathTo , 1 ) 
- 
-Local $sFolderList = _FileListToArray($sPath , "*" , 2 ) 
-local $i = 0 
-For $i = 1 to $sFolderList[0] 
-    
-   Local $sFileList = _FileListToArray($sPath & "\" & $sFolderList[$i]  , "*" & $extention , 1 ) 
-   if $sFileList <> 0 Then 
-   if $sFileList[0] = 1 Then 
- ;_ArrayDisplay($sFileList, "$sFileList") 
- $sFrom = $sPath & "\" & $sFolderList[$i] & "\" & $sFileList[$sFileList[0]] 
- $sTo = $sPathTo & "\" & $sFolderList[$i] &  $extention 
- FileCopy ( $sFrom, $sTo, 9 ) 
- ;DirRemove ( $sFrom ,1 ) 
- ;MsgBox ( 1, "OK", $sFrom & " => " & $sTo & "  " & @error ) 
-   Else 
- MsgBox ( 1, "ERROR", "Mehr als ein Subfolder in: " & $sPath & "\" & $sFolderList[$i]  ) 
- _ArrayDisplay($sFileList, "$sFileList") 
-   EndIf 
-   Else 
-   ;MsgBox ( 1, "No Subfolders in: ", $sPath & "\" & $sFolderList[$i]  ) 
-   endif 
-Next 
- 
-Exit 
-</code> 
  
 ==== setup.ins ==== ==== setup.ins ====
 <code winst> <code winst>
-(c) Robert Tauber 2014+; Robert Tauber 2014
  
 [Actions] [Actions]
Line 290: Line 248:
 ==== uninstall.ins ==== ==== uninstall.ins ====
 <code winst> <code winst>
 +; Robert Tauber 2014
  
 [Actions] [Actions]
Line 308: Line 267:
 ;----------------------------------------------------- ;-----------------------------------------------------
 ; Kurzer Produktname (max. 12 Zeichen) ; Kurzer Produktname (max. 12 Zeichen)
-Set $ProductNameShort$ = "Notepad++"+Set $ProductNameShort$ = "Adobe Reader"
 ; Langer Produktname (max. 30 Zeichen) ; Langer Produktname (max. 30 Zeichen)
-Set $ProductNameLong$ = "Notepad++"+Set $ProductNameLong$ = "Adobe Reader"
 ;----------------------------------------------------- ;-----------------------------------------------------
 ; Gewünschtes Betriebssystem (alle ungültigen auskommentieren) ; Gewünschtes Betriebssystem (alle ungültigen auskommentieren)
Line 353: Line 312:
 ; Netzlaufwerk verbinden/Copy ; Netzlaufwerk verbinden/Copy
 ;----------------------------------------------------- ;-----------------------------------------------------
-;DosInAnIcon_Q +DosInAnIcon_Q 
-;DosInAnIcon_Copy+DosInAnIcon_Copy
  
  
Line 363: Line 322:
 ;----------------------------------------------------- ;-----------------------------------------------------
  Set $Part$ = "setup.exe"  Set $Part$ = "setup.exe"
- if FileExists("%ProgramFiles32Dir%\VideoLAN\vlc\uninstall.exe"+ DosBatchUnInstallation
- Winbatch_uninstall +
- subCheckExitCodeVLC +
- Files_uninstall +
- endif +
- Winbatch_uninstall+
  subCheckExitCodeEXE  subCheckExitCodeEXE
  FilesCleanTemp  FilesCleanTemp
- Files_uninstall 
  ExitWindows /Reboot  ExitWindows /Reboot
 ;----------------------------------------------------- ;-----------------------------------------------------
Line 385: Line 338:
 mkdir $LocalDir$ mkdir $LocalDir$
  
-[Winbatch_uninstall+[DosBatchUnInstallation
-"%ProgramFiles32Dir%\Notepad++\uninstall.exe/S+@echo off 
 +MsiExec.exe /qn /X {AC76BA86-7AD7-1031-7B44-AB0000000001}  
  
-[Files_uninstall] 
-delete -sf "%ProgramFiles32Dir%\Notepad++\" 
  
  
Line 473: Line 426:
  Set $ValidOS$ = "true"  Set $ValidOS$ = "true"
 endif endif
- 
 </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_adobe_reader.txt · Last modified: 2021/08/23 08:37 (external edit)