Solved

windows installer

Posted on 2002-07-30
25
342 Views
Last Modified: 2007-12-19
I was trying to install .NET framework SDK when I get this error message: "Setup failed to update Windows Installer components."

I downloaded the Installer and tried to install the installer, I get "an unexpected error occurred."

How do I get this to work?
Thanks.
0
Comment
Question by:anothercto
  • 11
  • 10
  • 2
  • +1
25 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 7187919
How are you installing .Net? Have you installed the .net framework itself yet?

CJ
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7187921
I mean. What CD's are available to you? What have you already installed? You cannot install the framework SDK without installing the .net framework itself first.

The .Net framework comes with 4 cd's and an additional cd called the windows component update.

CJ
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7187922
I mean. What CD's are available to you? What have you already installed? You cannot install the framework SDK without installing the .net framework itself first.

Visual Studio.Net comes with 4 cd's and an additional cd called the windows component update.

CJ
0
 

Author Comment

by:anothercto
ID: 7188012
I tried to install .NET framework from MSDN site download. I got the same message: "needs to update the Installer components.."

I thought .NET framework and SDK is free? Do I have to have the "update components" to go forward? Can I download from somewhere?
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7188030
Hmmm, so the installer is giving all the problems at first.

is there any error code you got when you installed only the installer update?

CJ
0
 

Author Comment

by:anothercto
ID: 7188052
"an unexpected error occurred" is the only thing I got..
0
 

Author Comment

by:anothercto
ID: 7188065
Can I just borrow the "update component" CD? Does that require a license also? Will the CD help?
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7188075
It should help much and does not require a key. trhe actual VS.Net does require a key.

I know that the component update comes with VS.Net and with MSDN subscriptions. it's not downloadable at microsoft's.

CJ
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7188076
And nothing in the event viewer?

CJ
0
 

Author Comment

by:anothercto
ID: 7188083
Event Viewer:

The C: disk is at or near capacity..

but when I check, there is 230 mb available. I didn't get to choose a different drive..
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7188104
Not enough. That is reserved for swapping space. You need more space!

CJ
0
 

Author Comment

by:anothercto
ID: 7188114
Need space for just the "Windows Installer?"
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 22

Expert Comment

by:CJ_S
ID: 7188128
For temporary files, for the windows installer etc. yea. And part of it is reserved for swapping space.

A tip: always keep at least twice the amount of ram free for correct working of your machine.

CJ
0
 

Author Comment

by:anothercto
ID: 7188152
I should be able to install these on NT 4.0 right?
Now I have only 2 GB partitioned for C:, and the OS takes a big part of it. I have hard time getting the space. Is there another way to do this?
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7188161
Use partition magic! And if you have the OS installed on a RAID disk then you can use the RAID utilities to do that. Otherwise the best option is to use partition magic.

CJ
0
 

Author Comment

by:anothercto
ID: 7189095
I have increased the space of C: drive to 360 mb, and I got same error.

I don't think the problem has anything to do with the disk space. I think the message from the event viewer does not refer to the installation attempt. Also I think just the installation of the Installer alone shouldn't need much resource. I got the error message "an unexpected error occurred" when installing the Installer. No meesage is found in the event viewer.
0
 

Author Comment

by:anothercto
ID: 7189099
I made a separate, unsuccessful attempt to install the Installer..
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7189112
Uhmmm :-(

Do you have sufficient rights on your machine? Do you have full access to winnt\installer? Is any virus scanner running?

I don't think i can be of much more help than what i've given so far.

CJ

(ps. off to bed now)
0
 

Author Comment

by:anothercto
ID: 7190616
If you cannot fix this, I don't know who can..

I have full access to winnt\installer.
There were many folders there- instMsi0, instMsi1, instMsi2,... etc. I removed all but one (denied).

If I go into that folder, there are 2 exe- msiinst.exe, msiexec.exe and 6 .dll and an sdb file.

If I type at a command prompt: "msiinst", it says "an unexpected error occurred."

If I type "msiexec", it says "incorrect command line parameters."
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7190668
It's the installer file :-/

Any bad sectors on your machine and no virus scanner running?

CJ
0
 

Author Comment

by:anothercto
ID: 7190707
Norton Antivirus is installed on my machine. There is an "rtvscan.exe" on my task manager process list..
0
 

Expert Comment

by:Arnar
ID: 8057183
I'm having the exact same problem for a while, that is, I haven't been able to run instmsiW.exe. This is not in particular related to .NET installation (which I'd like to run right now but this is stopping me).

Have you found any solution to this?
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 9421303
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Delete/No Refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0
 

Accepted Solution

by:
Arnar earned 0 total points
ID: 9422642
This was solved by removing the MSI 2.00 service manually and installing the old MSI 1.11. After that, one can successfully upgrade to 2.00 again and all is well.

How to remove the service:
http://appdeploy.com/articles/remove_msi.html

The document above describes using SC.EXE which comes from the Windows Resource Kit, but if you don't own the resource kit, this little C-program will do the job:

#include <windows.h>
#include <iostream.h>

int main (int argc, char** argv) {
   SC_HANDLE mgr, service;
   mgr = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS );
   service = OpenService(mgr, "MSIServer", DELETE );
   if (DeleteService(service)) {
      cout << "Success!" << endl;
      return 0;
   } else {
      cout << "Failure." << endl;
      return 1;
   }
}
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now