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
- :
- Error 1001 during installation
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
‎Jun 24, 2010
02:02 AM
Error 1001 during installation
I'm new in installshield , i created basic msi project using installshield 2010 .. build is succeeded , but unofrortunately when i tried to install the application and when it is about to finish the installtion , it gets two errors "Error 1001" then the installation rollback .. i wasted alot of time searching for a solution for that error , but i failed 😞
can any one help me :confused:
thanks in advance
can any one help me :confused:
thanks in advance
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2010
02:07 PM
Error 1001 is often due to a problem in a .NET Installer Class. Unfortunately for .NET Installer Classes this single error code corresponds to several different underlying problems. In general I prefer to avoid use of .NET Installer Classes because they do not conform well with Windows Installer best practices.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2010
03:12 AM
but i'm using the installer class to attach the db used by my application , is there a way instead of installer class to attach the db ??!!
thanks for reply
thanks for reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2010
01:52 PM
Two issues I ran into using installer classes that resulted in getting the "1001" error:
[LIST=1]
Make sure the correct version of InstallUtilLib.dll is installed in the MSI. If installing on a 32-bit OS, you'll need the 32-bit version. If installing on a 64-bit OS, you'll need the 64-bit version. Search the InstallShield help for where you specify the version of InstallUtilLib.dll.
Within your installer class make sure you call the base class method of every method you're overriding. For example, in your Install() method, make sure the first thing you do is call base.Install().
Other than that, I would simplify my installer class to determine if it's a problem with the installer loading the class vs. a problem with the logic inside the class. Adding some logging inside your installer class helps too.
[LIST=1]
Other than that, I would simplify my installer class to determine if it's a problem with the installer loading the class vs. a problem with the logic inside the class. Adding some logging inside your installer class helps too.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 05, 2010
06:56 AM
for installutillib.dll , i didn't find in installshield help what is the correct version for my OS , i have windows xp professional and i'm using installutill version "2.0.50727.3053 " , is that right? :confused:
for the installer class i'm sure that i call the base class method of every method i'm overriding
thanks
for the installer class i'm sure that i call the base class method of every method i'm overriding
thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 05, 2010
08:42 PM
Run, do not walk, away from the installer class custom action. They are pure garbage. We have some 5 year old merge modules ( VDPROJ junk ) that still have InstallUtil CA's in them because DEV won't refactor that old baseline. They continue to be a source of trouble and the only thing that comforts me is when someone comes to me and mentions '1001' I laugh them out of my office and tell them sorry, I don't support that as I didn't write that code.
Seriously, if you need to attach a DB, look at the built-in SQL script executing in InstallShield. If for some reason you still need a custom action, take a look at WiX's DTF. It'll package your CA's as Type 1 C++ DLL style which you can then consume from InstallShield.
Seriously, if you need to attach a DB, look at the built-in SQL script executing in InstallShield. If for some reason you still need a custom action, take a look at WiX's DTF. It'll package your CA's as Type 1 C++ DLL style which you can then consume from InstallShield.