Created
December 28, 2015 13:25
-
-
Save eohtake/d1543020ccd3c37ed3a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class javaplugin32 { | |
package { 'Java 8 Update 66' : | |
ensure => installed, | |
source => '\\FILE-SERVER\Software\Java\Plugins\jre-8u66-windows-i586.exe', | |
install_options => ['/s'], | |
notify => Exec['Uninstall Previous Version'] | |
} | |
exec { 'Uninstall Previous Version' : | |
command => 'MsiExec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83218060F0} /norestart', | |
path => 'C:\windows\system32', | |
subscribe => Package['Java 8 Update 66'], | |
} | |
} | |
####### Uninstall Strings ###### | |
# Java 8 Update 66 (32-bit) - {26A24AE4-039D-4CA4-87B4-2F83218066F0} | |
# Java 8 Update 65 (32-bit) - {26A24AE4-039D-4CA4-87B4-2F83218065F0} | |
# Java 8 Update 60 (32-bit) - {26A24AE4-039D-4CA4-87B4-2F83218060F0} | |
# Java 8 Update 31 (32-bit) - {26A24AE4-039D-4CA4-87B4-2F83218031F0} | |
# Java 8 Update 25 (32-bit) - {26A24AE4-039D-4CA4-87B4-2F83218025F0} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment