Bug reinstalling when service already exists

Still doing test upgrades, so instead of uninstalling the previous 8.5 install, I shut down the Windows services, then deleted all the files out of the previous 8.5 Domino install directory and tried to do a reinstall. It barfed with this error trying to install the Domino NSD service…probably should make this a warning instead of an error in the installer. It looks like it uninstalled it, so the next install attempt finishes, but it shouldn’t hit this in the first place…

(Dec 23, 2008 10:18:16 PM), , com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Windows Service (winServiceNSD)

(Dec 23, 2008 10:18:17 PM), , com.installshield.wizard.platform.win32.win32service.WindowsService, err, ServiceException: (error code = -120000; message = "The specified service already exists.

(1073)"; severity = 0)

STACK_TRACE: 22

ServiceException: (error code = -120000; message = "The specified service already exists.

(1073)"; severity = 0)

at com.installshield.wizard.platform.win32.Win32ServiceImpl.createNTService(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at com.installshield.wizard.service.LocalImplementorProxy.invoke(LocalImplementorProxy.java(Compiled Code))

at com.installshield.wizard.service.AbstractService.invokeImpl(AbstractService.java(Compiled Code))

at com.installshield.wizard.platform.win32.GenericWin32Service.createNTService(GenericWin32Service.java:25)

at com.installshield.wizard.platform.win32.win32service.Win32ServiceUtils.installService(Win32ServiceUtils.java:29)

at com.installshield.wizard.platform.win32.win32service.WindowsService.install(WindowsService.java:134)

at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)

at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)

at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)

at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)

at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)

at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)

at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)

at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)

at java.lang.Thread.run(Thread.java:568)

(Dec 23, 2008 10:18:17 PM), , com.installshield.wizard.platform.win32.win32service.WindowsService, err, An error occurred and product installation failed. Look at the log file C:\Domino\DominoInstall.log for details.

(Dec 23, 2008 10:18:17 PM), , com.installshield.wizard.platform.win32.win32service.WindowsService, err, ProductException: (error code = 200; message=“Java error”; exception = [ServiceException: (error code = -120000; message = "The specified service already exists.

(1073)"; severity = 0)])

STACK_TRACE: 13

ProductException: (error code = 200; message=“Java error”; exception = [ServiceException: (error code = -120000; message = "The specified service already exists.

(1073)"; severity = 0)])

at com.installshield.wizard.platform.win32.win32service.WindowsService.install(WindowsService.java:137)

at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)

at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)

at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)

at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)

at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)

at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)

at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)

at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)

at java.lang.Thread.run(Thread.java:568)

(Dec 23, 2008 10:18:17 PM), , com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, uninstalling Windows Service (winServiceNSD)

(Dec 23, 2008 10:18:17 PM), , com.installshield.wizard.platform.win32.Win32ProductServiceImpl, dbg.install, JVM memory before installing Files (bean819): free=8829536 total=42138112

Subject: checking with Install development…

Subject: Apparently this is an ISMP installer bug

The settings for NSD (and other Domino services) on failure to install are “Continue”: like this

I observed same picture as you did though when service was already installed (but the product wasn’t uninstalled properly)