Differences

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

Link to this comparison view

Next revision
Previous revision
userspace:adobe_flash_activex_plugin_all_in_one_script [2012/04/20 13:38]
DaWo created
userspace:adobe_flash_activex_plugin_all_in_one_script [2012/10/05 12:11] (current)
Thomas_H
Line 1: Line 1:
 ====== Adobe Flash ActiveX & Plugin All in One Script 11.0.2.202.233 ====== ====== Adobe Flash ActiveX & Plugin All in One Script 11.0.2.202.233 ======
 +Script by DaWo
 Used the Scripts for Adobe Flash installation by Der-Matze as the starting point. Used the Scripts for Adobe Flash installation by Der-Matze as the starting point.
  
Line 16: Line 17:
  
 Note: settings.sol can be found in "​%UserProfileDir%\Anwendungsdaten\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\"​ and customized via Control Panel\Flash Player. You might have to run the configuration in the Control Panel before the file is created.\\ Note: settings.sol can be found in "​%UserProfileDir%\Anwendungsdaten\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\"​ and customized via Control Panel\Flash Player. You might have to run the configuration in the Control Panel before the file is created.\\
 +
 +**Tree:**
 +<​code>​
 +CLIENT_DATA
 +  ├ Install.ins
 +  ├ Uninstall.ins
 +  ├ SubUninstall.ins
 +  ├ Adobe Flash.png
 +  ├ install_flash_player_11_active_x_32bit.msi
 +  ├ install_flash_player_11_active_x_64bit.msi
 +  ├ install_flash_player_11_plugin_32bit.msi
 +  ├ install_flash_player_11_plugin_64bit.msi
 +  └ settings.sol
 +</​code>​
  
 ==== Install.ins ==== ==== Install.ins ====
 <code winst> <code winst>
 [Initial] [Initial]
-;Standard Text, der während der Installation angezeigt wird+;Standard Text, shown during installation
 Message = Bitte warten, das Produkt wird installiert Message = Bitte warten, das Produkt wird installiert
-;​Loglevel ​einstellen+;Set Loglevel
 setLogLevel = 6 setLogLevel = 6
-;Bei Fehlern abbrechen+;Stop on Errors
 ExitOnError = false ExitOnError = false
-;​Syntax ​Fehler werden ​in einem separaten Fenster angezeigt+;​Syntax ​Errors will be shown in a seperate window
 ScriptErrorMessages = on ScriptErrorMessages = on
-;Single-Step Mode nicht verwenden+;Don't use single-step mode
 TraceMode = off TraceMode = off
-;Im Batchmode das Winst-Fenster nicht im Vordergrund anzeigen+;Don't show winst-window in foreground while batchmode
 StayOnTop = false StayOnTop = false
    
 [Actions] [Actions]
-;​Variable ​für die Ermittlung des Betriebssystems+;​Variable ​for the OS
 DefVar $OS$ DefVar $OS$
 set $OS$ = GetOS set $OS$ = GetOS
    
-;​Variable ​für die Ermittlung der Betriebssystem Unterversion+;​Variable ​for the OS-subversion
 DefVar $NTVersion$ DefVar $NTVersion$
 set $NTVersion$ = GetNTVersion set $NTVersion$ = GetNTVersion
    
-;​Variable ​zur Ermittlung der Systemarchitektur+;​Variable ​for the Systemarchitecture
 DefVar $SystemType$ DefVar $SystemType$
 Set $SystemType$ = GetSystemType Set $SystemType$ = GetSystemType
    
-;Name des Produkts ​(max. 12 Zeichen)+;Name of Product ​(max. 12 cols.)
 DefVar $ProductName$ DefVar $ProductName$
 Set $ProductName$ = "Adobe Flash" Set $ProductName$ = "Adobe Flash"
    
-;Vollständiger Produktname ​incl. Versionsnummer+;Complete Productname ​incl. versionnumber
    
 DefVar $ProductNameFull1$ DefVar $ProductNameFull1$
 set $ProductNameFull1$ = "Adobe Flash 11.0.2.202.233 Plugin"​ set $ProductNameFull1$ = "Adobe Flash 11.0.2.202.233 Plugin"​
    
-;Dateiname des Produktbildes mit Erweiterung+;Filename of productpicture incl. extension
 DefVar $ProductPicture$ DefVar $ProductPicture$
 Set $ProductPicture$ = "Adobe Flash.png"​ Set $ProductPicture$ = "Adobe Flash.png"​
    
-;Selektiert, ob ActiveX ​oder Plugin ​installiert werden soll+;Should ​ActiveX ​or Plugin ​be installed?
 DefVar $BrowserType$ DefVar $BrowserType$
 DefVar $Executable1$ DefVar $Executable1$
 DefVar $Executable2$ DefVar $Executable2$
 Set $BrowserType$ = GetProductProperty("​browsertype","​ActiveX"​) Set $BrowserType$ = GetProductProperty("​browsertype","​ActiveX"​)
-;Dateinamen der zu installierenden MSI-Pakete+;Filenames of msi-packages, which have to be installed
 if ($BrowserType$ = "​ActiveX"​) if ($BrowserType$ = "​ActiveX"​)
  Set $Executable1$ = "​install_flash_player_11_active_x_32bit.msi"​  Set $Executable1$ = "​install_flash_player_11_active_x_32bit.msi"​
Line 73: Line 88:
 endif endif
    
-;Die Variable ​zur Auswertung des ExitCodes+;​Variable ​for checking the exitcode
 DefVar $ExitCode$ DefVar $ExitCode$
    
-;Prüfen der Winst Version+;checking the Winst Version
 requiredWinstVersion >= "​4.11"​ requiredWinstVersion >= "​4.11"​
    
-;​$ProductPicture$ ​und $ProductName$ ​anzeigen+show $ProductPicture$ ​and $ProductName$
 ShowBitmap /3 "​%scriptpath%\"​ + $ProductPicture$ $ProductName$ ShowBitmap /3 "​%scriptpath%\"​ + $ProductPicture$ $ProductName$
    
-;Anzeigen der Installationsbenachrichtigung ​incl. des vollen Produktnamens+;show installationmessage ​incl. the full programname
 Message "​Installiere "​+$ProductNameFull1$ Message "​Installiere "​+$ProductNameFull1$
    
-;Freien Speicherplatz ermitteln+;check free diskspace
 if not (HasMinimumSpace ("​%SYSTEMDRIVE%",​ "500 MB")) if not (HasMinimumSpace ("​%SYSTEMDRIVE%",​ "500 MB"))
      ​LogError "Nicht genügend Platz auf %SYSTEMDRIVE%"​      ​LogError "Nicht genügend Platz auf %SYSTEMDRIVE%"​
Line 91: Line 106:
 endif endif
    
-;​OS-Version ​ermitteln+;get OS-Version
 if ( $NTVersion$ = "​Win2K"​ OR $NTVersion$ = "​WinXP"​ OR $NTVersion$ = "Win NT 5.2" OR $NTVersion$ = "​Windows Vista" ) if ( $NTVersion$ = "​Win2K"​ OR $NTVersion$ = "​WinXP"​ OR $NTVersion$ = "Win NT 5.2" OR $NTVersion$ = "​Windows Vista" )
     if $SystemType$ = "x86 System"​     if $SystemType$ = "x86 System"​
Line 119: Line 134:
    
 [Files_Copy_AllUsers_WinNT5x] [Files_Copy_AllUsers_WinNT5x]
-;Konfigurationsdatei in alle Userprofile kopieren+;copy conf-file to all userprofiles
 copy -s "​%SCRIPTPATH%\settings.sol"​ "​%UserProfileDir%\Anwendungsdaten\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\"​ copy -s "​%SCRIPTPATH%\settings.sol"​ "​%UserProfileDir%\Anwendungsdaten\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\"​
    
 [Files_Copy_AllUsers_WinNT6x] [Files_Copy_AllUsers_WinNT6x]
-;Konfigurationsdatei in alle Userprofile kopieren+;copy conf-file to all userprofiles
 copy -s "​%SCRIPTPATH%\settings.sol"​ "​%UserProfileDir%\AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\"​ copy -s "​%SCRIPTPATH%\settings.sol"​ "​%UserProfileDir%\AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\"​
 </​code>​ </​code>​
Line 177: Line 192:
 </​code>​ </​code>​
  
-==== Uninstall.ins ====+==== SubUninstall.ins ====
  
 <code winst> <code winst>
-;​Variable ​für den msiexec ​Aufruf zur Deinstallation+;​Variable ​for msiexec-call for deinstallation
 DefVar $UninstallCommand$ DefVar $UninstallCommand$
    
-;​Variable ​für die jeweilige VersionWird aus der Registry ausgelesen+;​Variable ​for the found versionGotten by the redistry
 DefVar $DisplayName$ DefVar $DisplayName$
  
-;Adobe Flash ActiveX 11.0.2.202 64-Bit ​deinstallierenwenn es in der Registry ​gefunden wurde+;uninstall ​Adobe Flash ActiveX 11.0.2.202 64-Bit, ​if found in the Registry
 Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9E25236A-E313-4853-9C8C-DB7015E9F9C4}] DisplayName"​) Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9E25236A-E313-4853-9C8C-DB7015E9F9C4}] DisplayName"​)
 if not ($DisplayName$ = ""​) if not ($DisplayName$ = ""​)
Line 192: Line 207:
 endif endif
  
-;Adobe Flash Plugin 11.0.2.202 64-Bit ​deinstallierenwenn es in der Registry ​gefunden wurde+;uninstall ​Adobe Flash Plugin 11.0.2.202 64-Bit, ​if found in the Registry
 Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1E4B6678-A507-4B6A-B6C7-FEE55FC0C14C}] DisplayName"​) Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1E4B6678-A507-4B6A-B6C7-FEE55FC0C14C}] DisplayName"​)
 if not ($DisplayName$ = ""​) if not ($DisplayName$ = ""​)
Line 198: Line 213:
 endif endif
  
-;Adobe Flash Plugin 11.0.2.202 ​32-Bit deinstallierenwenn es in der Registry ​gefunden wurde+;uninstall ​Adobe Flash Plugin 11.0.2.202, ​if found in the Registry
 Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2883418-71EB-4F63-97AB-222C67E99358}] DisplayName"​) Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2883418-71EB-4F63-97AB-222C67E99358}] DisplayName"​)
 if not ($DisplayName$ = ""​) if not ($DisplayName$ = ""​)
Line 204: Line 219:
 endif endif
    
-;Adobe Flash Active X 11.0.2.202 32-Bit ​deinstallierenwenn es in der Registry ​gefunden wurde+;uninstall ​Adobe Flash Active X 11.0.2.202 32-Bit, ​if found in the Registry
 Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6B393C32-A8CE-4663-9D5B-EA75C8D1233C}] DisplayName"​) Set $DisplayName$ = GetRegistrystringvalue64("​[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6B393C32-A8CE-4663-9D5B-EA75C8D1233C}] DisplayName"​)
 if not ($DisplayName$ = ""​) if not ($DisplayName$ = ""​)

QR Code
QR Code userspace:adobe_flash_activex_plugin_all_in_one_script (generated for current page)