Fix NSIS installer and Windows service.

Refs #4865