ahmd0
ahmd0

Reputation: 17293

How to uninstall my service on Windows XP with WiX

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.

Upvotes: 0

Views: 264

Answers (1)

Christopher Painter
Christopher Painter

Reputation: 55581

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.

Upvotes: 2

Related Questions