The Visual Installer installation tool can be used to install and uninstall a Windows service. By combining the XRUN script command with the new script command UNINSTALL_XRUN this is very easy done. UNINSTALL_XRUN is a new script command that vi added to Visual Installer’s scripting language in the version 10.0.27 update of Visual Installer. UNINSTALL_XRUN runs a program during Visual Installer’s uninstallation process.
XRUN can be used to install (register) the Windows service and UNINSTALL_XRUN can be used to uninstall (unregister) the Windows service. In this new tip on our website we will explain in detail how to install and uninstall a Windows service using the scripting language in Visual Installer 2014 / Professional: