Вопрос

From what I understand about MSI installers, the removal of services during uninstallation is now done via Restart Manager. But restart manager is not supported on Windows XP. So what is the official way to remove services in my MSI there?

PS. I'm coding the MSI markup using WiX.

Это было полезно?

Решение

The restart manager isn't needed to remove a service. Just use the ServiceInstall and ServiceControl elements and as long your component is removed the service will be removed.

Restart Manager is more about hibernating a process and restoring it's state so that file locks are avoided and availability in maintained.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top