Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-65

Windows claims to requires reboot after uninstalling MSI when pxp-agent is running when it does not

    Details

    • Template:
    • Story Points:
      2
    • Sprint:
      Windows 2015-11-04, Windows 2015-11-18, Windows 2015-12-02
    • Release Notes:
      Known Issue
    • Release Notes Summary:
      Hide
      When uninstalling the puppet-agent 1.3.0 for Windows MSI, a dialog will be presented that states "The setup must update files or services that cannot be updated while the system is running. If you choose to continue, a reboot will be required to complete the setup." Windows Installer has incorrectly identified that the newly included pxp-agent.exe will be locked by the time it will be removed. This is not actually the case, and the dialog may be ignored. Unattended installs / future upgrades may log an error about this from the MSI Restart Manager, but this can be safely ignored.
      Show
      When uninstalling the puppet-agent 1.3.0 for Windows MSI, a dialog will be presented that states "The setup must update files or services that cannot be updated while the system is running. If you choose to continue, a reboot will be required to complete the setup." Windows Installer has incorrectly identified that the newly included pxp-agent.exe will be locked by the time it will be removed. This is not actually the case, and the dialog may be ignored. Unattended installs / future upgrades may log an error about this from the MSI Restart Manager, but this can be safely ignored.

      Description

      The uninstall dialog presents the following warning:

      The setup must update files or services that cannot be updated while the system is running. If you choose to continue, a reboot will be required to complete the setup.

      This is very undesirable, as it will cause issues for agent upgrades (including those done by our upgrade module or those done by the Azure extension handler)

      Note that if you manually call Stop-Service pxp-agent prior to initiating an uninstall, the dialog box does not appear requesting a reboot post-uninstall.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ethan Ethan Brown
                QA Contact:
                Ryan Gard
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support