Ask Your Question
0

puppet agent for windows : uninstall

asked 2014-01-28 15:00:18 -0600

BaltoStar gravatar image

Windows 7

I installed Puppet Agent for Windows and I can see that two dir-structures were created :

C:\ProgramData\PuppetLabs\ 
C:\Program Files (x86)\Puppet Labs\Puppet\

However, in the Programs & Features applet, nothing is listed for Puppet, PuppetLabs, etc.

I tried

msiexec /qn /x puppet-3.4.2.msi

and it came back immediately with no errors, so I tried

msiexec /x puppet-3.4.2.msi

and after a confirm prompt it said there is nothing to uninstall.

C:\Program Files (x86)\Puppet Labs\Puppet\

is no longer present but

C:\ProgramData\PuppetLabs\

is still present.

How do I know ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-04 23:28:15 -0600

joshc gravatar image

If you want to block until installation completes, you need to do something like:

start /w msiexec /qn /x puppet-3.4.2.msi

During uninstall, the C:\Program Files (x86)\Puppet Labs directory will be removed, but the C:\ProgramData\PuppetLabs directory will not, because we want data, e.g. ssl certificates, to persist across MSI updates. AFAIK, there is no way to tell windows installer to preserve these files across major updates, but remove them during an uninstall.

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: 2014-01-28 15:00:18 -0600

Seen: 511 times

Last updated: Nov 04 '14