Ask Your Question
0

how to uninstall the exe in windows client

asked 2015-02-12 05:15:36 -0500

akshay gravatar image

updated 2015-02-12 14:23:44 -0500

GregLarkin gravatar image
class winzip_exe {
  file { "C:\\Softwares\WinRAR.exe":
    ensure => absent,
    owner => administrator,
    group => users,
    mode => 0447,
    source => "puppet:///modules/winzip_exe/WinRAR.exe",
    notify => Package["WinRAR"],
  }

  package { "WinRAR":
    ensure => purgeable,
    source => "C:\\Softwares\WinRAR.exe",
    require => File["C:\\Softwares\WinRAR.exe"],
#   subscribe => File["C:\\Program Files\WinRAR"],
    install_options => ['/S'],
  }
}

I'm trying the ensure => purged also so please send another solution... Please help me......

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-13 06:08:47 -0500

YOGESH DANGCHE gravatar image

updated 2015-04-13 06:10:05 -0500

try this package { 'WinSCP 5.5.6': ensure => absent, uninstall_options => [ '/SILENT' ], } insert the name of the package/software in system.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-02-12 05:15:36 -0500

Seen: 357 times

Last updated: Apr 13 '15