Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Josh Cooper commented on PUP-10616 Re: Windows: package doesn't pass uninstall_options to uninstaller I can't reproduce this and the code shows we append the uninstall options to the uninstall command, where the uninstall command is taken from the registry. https://github.com/puppetlabs/puppet/blob/7e6e6c03b28b263548c26288cfa3a4fa5e1d71ce/lib/puppet/provider/package/windows.rb#L89 Please reopen with steps to reproduce including the manifest and output of puppet agent -t --debug.. Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.368818.1597143026000.3755.1658869620057%40Atlassian.JIRA.
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Ciprian Badescu Sprint: ready for triage Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.368818.1597143026000.61866.1624348680218%40Atlassian.JIRA.
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Bogdan Irimie updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Bogdan Irimie Sprint: ready for triage Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.368818.1597143026000.72438.1604566322628%40Atlassian.JIRA.
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Bogdan Irimie updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Bogdan Irimie Sprint: Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.368818.1597143026000.72346.1604566261356%40Atlassian.JIRA.
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Mihai Buzgau Team: Night's Watch Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.368818.1597143026000.14432.1597212480207%40Atlassian.JIRA.
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Mihai Buzgau Sprint: PR - Triage Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.368818.1597143026000.14433.1597212480255%40Atlassian.JIRA.
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Dirk Heinrichs updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Dirk Heinrichs *Puppet Version: 6.17.0* *Puppet Server Version: 6.12.1* *OS Name/Version: Windows*In order to uninstall a package from Windows agent agents , I created a package resource, which also included specific "uninstall_options" for the package. While the correct uninstaller ("...\uninstall.exe", as recorded in the registry) was executed, the package wasn't uninstalled. I checked with Process Explorer and found that the uninstaller was called w/o any option. So I ended up using an exec resource...{code:java}package {'Sentinel Agent': ensure => absent, uninstall_options => ['/uninstall', '/norestart', '/q', "/k=\"${unlock_key}\""],}{code} *Desired Behavior:*Puppet should have uninstalled the package by passing the correct options to the uninstaller.*Actual Behavior:*Options were not passed, which lead to package not being uninstalled. (Maybe related: There was also no error in the report, but that might have been caused by the uninstaller itself, which might not have reported one). Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Dirk Heinrichs updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Dirk Heinrichs *Puppet Version: 6.17.0* *Puppet Server Version: 6.12.1* *OS Name/Version: Windows*In order to uninstall a package from Windows agent, I created a package resource, which also included specific "uninstall_options" for the package. While the correct uninstaller ("...\uninstall.exe", as recorded in the registry) was executed, the package wasn't uninstalled. I checked with Process Explorer and found that the uninstaller was called w/o any option. So I ended up using an exec resource... {code:java} package {'Sentinel Agent': ensure=> absent, uninstall_options => ['/uninstall', '/norestart', '/q', "/k=\"${unlock_key}\""], }{code} *Desired Behavior:*Puppet should have uninstalled the package by passing the correct options to the uninstaller.*Actual Behavior:*Options were not passed, which lead to package not being uninstalled. (Maybe related: There was also no error in the report, but that might have been caused by the uninstaller itself, which might not have reported one). Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Dirk Heinrichs updated an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Change By: Dirk Heinrichs *Puppet Version: 6.17.0* *Puppet Server Version: 6.12.1* *OS Name/Version: Windows*In order to uninstall a package from Windows agent, I created a package resource, which also included specific "uninstall_options" for the package. While the correct uninstaller ("...\uninstall.exe", as recorded in the registry) was executed, the package wasn't uninstalled. I checked with Process Explorer and found that the uninstaller was called w/o any option. So I ended up using an exec resource... {code:java}package {'Sentinel Agent': ensure => absent, uninstall_options => ['/uninstall', '/norestart', '/q', "/k=\"${unlock_key}\""],}{code} *Desired Behavior:*Puppet should have uninstalled the package by passing the correct options to the uninstaller.*Actual Behavior:*Options were not passed, which lead to package not being uninstalled. (Maybe related: There was also no error in the report, but that might have been caused by the uninstaller itself, which might not have reported one). Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (PUP-10616) Windows: package doesn't pass uninstall_options to uninstaller
Title: Message Title Dirk Heinrichs created an issue Puppet / PUP-10616 Windows: package doesn't pass uninstall_options to uninstaller Issue Type: Bug Affects Versions: PUP 6.17.0 Assignee: Unassigned Components: Types and Providers Created: 2020/08/11 3:50 AM Priority: Major Reporter: Dirk Heinrichs Puppet Version: 6.17.0 Puppet Server Version: 6.12.1 OS Name/Version: Windows In order to uninstall a package from Windows agent, I created a package resource, which also included specific "uninstall_options" for the package. While the correct uninstaller ("...\uninstall.exe", as recorded in the registry) was executed, the package wasn't uninstalled. I checked with Process Explorer and found that the uninstaller was called w/o any option. So I ended up using an exec resource... package {'Sentinel Agent': ensure=> absent,