User Tools

Site Tools


userspace:adobe_reader_11.0.06

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:adobe_reader_11.0.06 [2014/04/15 12:56]
opsi.simi
userspace:adobe_reader_11.0.06 [2021/08/23 08:37] (current)
Line 1: Line 1:
 Script by Opsi.Simi Script by Opsi.Simi
 +
 Comments and improvements welcome  Comments and improvements welcome 
  
Line 149: Line 150:
 </code> </code>
  
 +
 +==== Uninstall.ins ====
 +
 +<code winst>
 +
 +;Standard Text, shown during installation
 +Message = Bitte warten, das Produkt wird deinstalliert
 + 
 +;Set Loglevel
 +setLogLevel = 6
 + 
 +;Stop when errors
 +ExitOnError = false
 +;Syntax Fehler are shown in a seperate window
 +ScriptErrorMessages = on
 +;Do not use Single-Step Mode
 +TraceMode = off
 +;No winst-window in foreground while batchmode
 +StayOnTop = false
 + 
 +[Actions]
 +;Name of product (max. 12 columns)
 +DefVar $ProductName$
 +Set $ProductName$ = "Adobe Reader XI"
 + 
 +;filename of productpicture with extension
 +DefVar $ProductPicture$
 +Set $ProductPicture$ = "pdf-logo.jpg"
 + 
 +;the variable for the ExitCode
 +DefVar $ExitCode$
 + 
 +;show $ProductPicture$ and $ProductName$
 +ShowBitmap /3 "%scriptpath%\" + $ProductPicture$ $ProductName$
 + 
 +sub "%ScriptPath%\delsub.ins"
 +
 +</code>
 +
 +==== delsub.ins ====
 +
 +<code winst>
 +
 +;Variable for msiexec-call of deinstallation
 +DefVar $UninstallCommand$
 + 
 + 
 + 
 +;Variable for the diffrent versions gotten from the registry
 +DefVar $DisplayName$
 + 
 +;Deinstalling Adobe Reader 9.3.1 - 9.3.4, if found in the Registry
 +Set $DisplayName$ = GetRegistrystringvalue32("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1031-7B44-A93000000001}] DisplayName")
 +if not ($DisplayName$ = "")
 + Message "Deinstalliere "+$DisplayName$
 + set $UninstallCommand$ = "MsiExec.exe /x {AC76BA86-7AD7-1031-7B44-A93000000001} /qb-! REBOOT=ReallySuppress"
 + Winbatch_Uninstall
 + sub "%ScriptDrive%\adobe\CLIENT_DATA\check_msi-exitcode.ins"
 +endif
 + 
 +;Deinstalling Adobe Reader 9.4.0, if found in the Registry
 +Set $DisplayName$ = GetRegistrystringvalue32("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1031-7B44-A94000000001}] DisplayName")
 +if not ($DisplayName$ = "")
 + Message "Deinstalliere "+$DisplayName$
 + set $UninstallCommand$ = "MsiExec.exe /x {AC76BA86-7AD7-1031-7B44-A94000000001} /qb-! REBOOT=ReallySuppress"
 + Winbatch_Uninstall
 + sub "%ScriptDrive%\adobe\CLIENT_DATA\check_msi-exitcode.ins"
 +endif
 + 
 +;Deinstalling Adobe Reader 10.0.x, if found in the Registry
 +Set $DisplayName$ = GetRegistrystringvalue32("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1031-7B44-AA0000000001}] DisplayName")
 +if not ($DisplayName$ = "")
 + Message "Deinstalliere "+$DisplayName$
 + set $UninstallCommand$ = "MsiExec.exe /x {AC76BA86-7AD7-1031-7B44-AA0000000001} /qb-! REBOOT=ReallySuppress"
 + Winbatch_Uninstall
 + sub "%ScriptDrive%\adobe\CLIENT_DATA\check_msi-exitcode.ins"
 +endif
 + 
 +;Deinstalling Adobe Reader 10.1.x, if found in the Registry
 +Set $DisplayName$ = GetRegistrystringvalue32("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1031-7B44-AA1000000001}] DisplayName")
 + if not ($DisplayName$ = "")
 + Message "Deinstalliere "+$DisplayName$
 + set $UninstallCommand$ = "MsiExec.exe /x {AC76BA86-7AD7-1031-7B44-AA1000000001} /qb-! REBOOT=ReallySuppress"
 + Winbatch_Uninstall
 + sub "%ScriptDrive%\adobe\CLIENT_DATA\check_msi-exitcode.ins"
 +endif
 +
 +;Deinstalling Adobe Reader 11.0.x, if found in the Registry
 +Set $DisplayName$ = GetRegistrystringvalue32("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1031-7B44-AB0000000001}] DisplayName")
 + if not ($DisplayName$ = "")
 + Message "Deinstalliere "+$DisplayName$
 + set $UninstallCommand$ = "MsiExec.exe /x {AC76BA86-7AD7-1031-7B44-AB0000000001} /qb-! REBOOT=ReallySuppress"
 + Winbatch_Uninstall
 + sub "%ScriptDrive%\adobe\CLIENT_DATA\check_msi-exitcode.ins"
 +endif
 + 
 +Linkfolder_Custom
 + 
 +[Winbatch_Uninstall]
 +$UninstallCommand$
 + 
 +[Linkfolder_Custom]
 +;Delete Startmenu-Link
 +Set_basefolder common_programs
 +Set_subfolder ""
 +delete_element "$ProductName$"
 +
 +</code>
userspace/adobe_reader_11.0.06.1397566609.txt.gz ยท Last modified: 2021/08/23 08:37 (external edit)