Solved

windows installer

Posted on 2002-07-30
25
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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
 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Consume a webservice via VB in Visual Studio 2015 3 42
SSIS GUID Variable 2 57
locate sql commands in C# visual studio Project 6 67
Nested forach loop to linq 3 42
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

737 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