This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- installutillib.dll unknown error 1001
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2013
01:00 PM
installutillib.dll unknown error 1001
I'm using the InstallShield 2012 LE Spring Edition for Visual Studio 2010, and I have a problem when it tries to register a service that I've included in the installation with an installer class. Sometimes it installs the service successfully and sometimes it returns installutillib.dll uknown error 1001. However, I can manually install with installutil. As a workaround, I think I can put a custom action in during the installation that will install the service. But, I can't see any way to do the same during the uninstallation. The only step that's available in the LE version is too late, because the files are already removed. Is there a service pack or hotfix for this issue? Or is there something else I can do?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2013
02:56 AM
Hello,
.NET Windows service installer class is using very fragile technology to install this services. The best practice is to use some higher Installshield version and configure windows service in Services tab.
The error 1001 is unhandled exception in .NET code. You should create blank .NET installer class(without designer), override the OnCommit method and add big try catch. In the catch you should display MessageBox with exception for debugging purposes. And write install logic inside OnCommit method. Also remember to uninstall your service.
http://blogs.flexerasoftware.com/installtalk/2012/11/using-installshield-to-create-an-installation-that-installs-windows-services.html
Hope it helps,
Marek
.NET Windows service installer class is using very fragile technology to install this services. The best practice is to use some higher Installshield version and configure windows service in Services tab.
The error 1001 is unhandled exception in .NET code. You should create blank .NET installer class(without designer), override the OnCommit method and add big try catch. In the catch you should display MessageBox with exception for debugging purposes. And write install logic inside OnCommit method. Also remember to uninstall your service.
http://blogs.flexerasoftware.com/installtalk/2012/11/using-installshield-to-create-an-installation-that-installs-windows-services.html
Hope it helps,
Marek
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2013
09:29 PM
Marek,
Thanks for the info. I'll try what you suggest and see if it helps
Thanks for the info. I'll try what you suggest and see if it helps