- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Error 1 -1001: Error opening MSI database F:\user\Documents\MyProgram.msi
- 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
Hello,
I have been using this computer for years to compile deployment packages with no issues. I am using InstallShield 2015 Limited Edition for Visual Studio 2013 Community. But lately, I started getting the error message above. Even though this error message, the project compiles three files, Setup.exe, setup.ini, and Myprogram.msi.
But when I run the created executable, it tries to install the program (!), and looks for the msi file at some obscure location. Although I cancel the installation, this, the program eventually runs.
I unregistered and registered the msiexec.exe file. I run sfc /scannow with no errors. I have v5.0 of msiexec.exe.
The project runs on a Win 10 computer without any error. So the problem is with the Msiexec. exe on this Win 7 Pro computer, not the installation project.
What's wrong? I am stuck! Please help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Anadolu ,
See the below KB article helps to resolve the issue:
https://community.flexera.com/t5/InstallShield-Knowledge/Build-Error-1001/ta-p/3628
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello Banna_k,
Thank you for your reply. I run it. I chose the file that was already installed, and that I am trying to create a new installation file. I chose the uninstall option. The tool uninstalled it. Then I run IS to create a new installation file, it still gave me the same -1001 error.
I believe my problem is not installing/uninstalling that this diagnostic tool would resolve. I am getting this error when I try to create an installation file in VS 2017 using IS 2015 LE. Instead of creating a single setup.exe file, the IS creates three files with -1001 error. On top of that, I cannot even run the same program that was installed before, because it tries to install itself again! You are possibly right that some registry entry is messed up. But which one?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Anadolu ,
It looks like some problem with your system: I dont have the exact solution for this, I can only give some suggestions:
1- Can you try to repair/reinstall windows installer.
2- Re register your msi.dll/msiexec.exe
3- See the below link which talks about the same error, but the same thing you did in last reply
https://www.wintips.org/fix-error-1001-while-uninstalling-or-installing-programs/
Lastly, I would like to know how your creating installer in VS 2017 using IS 2015 LE ("I am getting this error when I try to create an installation file in VS 2017 using IS 2015 LE")
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello banna_k,
1) I do not know how to uninstall/install msiexec.exe but I run sfc /scannow without any errors. I stopped and restarted windows installer service.
2) I followed instructions given a MS site to deregister/register the msiexec.exe file with no avail.
3) I followed the instructions in the link with no success.
I use VS2013 community not VS 2017 with IS 2015 LE, I’m sorry, my mistake. The installation project that has the -1001 problem on the Win 7 computer works fine on a Win 10 computer creating a setup.exe file that works to install the program on the Win 7 computer. But I cannot create a setup.exe program that runs successfully on this computer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Anadolu ,
See the below KB article helps to resolve the issue:
https://community.flexera.com/t5/InstallShield-Knowledge/Build-Error-1001/ta-p/3628
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello banna_k, Your patience paid off. I could not re-register msi.dll but after re-registering the scrrun.dll file, the -1001 error is gone, and the setup.exe file is created successfully. Thank you very much.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)