I got a 1001 error and had fight a lot against it using InstallShield LE (Visual Studio 2013) to deploy a simple Windows Service on Windows XP.
Sometimes the error happened, sometimes not.
I got a 1001 error and had fight a lot against it using InstallShield LE (Visual Studio 2013) to deploy a simple Windows Service on Windows XP.
Sometimes the error happened, sometimes not.
And finally I found the cause: My Services.msc window was opened, and when I uninstall the service it get "marked for deletion" but the window holds the service there until I close it.
So, close the services.msc window while reinstalling the service, to avoid this lock problem.
I have a Windows Service install created on Win7 with InstallShield LE, VS 2015, and installed on a Win Sever 2012 machine. In my case, the error was due to two different things on the installing user's part:
Hope this helps someone.
I am using VS2012 and InstallShield LE
I was also facing the very same issue. In my case, the service was not removed from the Service.msc window. It appears that the registry was not fully cleaned when I previously uninstalled it (from Add/Remove Programs).
Then I tried the below command. SC DELETE Then it cleared all the stray registry entries, and this time the installation went through fine.
Below is the help on this command (taken from the SC help on Command prompt) delete----------Deletes a service (from the registry).
© 2022 - 2024 — McMap. All rights reserved.