Installation problem

G

Guest

Hi there,

I'm trying to install the .NET framework by launching the following from
within my MSI app on XP SP2 (though other OSs will also be supported):

dotnetfx.exe /q:a /c:"install /l /q"

It returns error 4120, namely, "an internal error occurred while trying to
initialize the Darwin Service" according to the documentatiion at
http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetfxref1_1.asp?frame=true.
Moreover, if I simply launch the above command from the command line instead,
just to see what happens, then another installation program starts altogether
(trying to install some non-MS app called "Free Download Manager 1.0 - FDC
Edition" ). And that only happens when passing the exact arguments above as
seen (otherwise it starts normally). What's going on here. I can't silently
install this in my MSI app (right after the UI phase but just prior to the
execution phase), and I have no idea what the latter program is.
 
G

Guest

I'm trying to install the .NET framework by launching the following from
within my MSI app on XP SP2 (though other OSs will also be supported):

dotnetfx.exe /q:a /c:"install /l /q"

It returns error 4120, namely, "an internal error occurred while trying to
initialize the Darwin Service" according to the documentatiion at
http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetfxref1_1.asp?frame=true.
Moreover, if I simply launch the above command from the command line instead,
just to see what happens, then another installation program starts altogether
(trying to install some non-MS app called "Free Download Manager 1.0 - FDC
Edition" ). And that only happens when passing the exact arguments above as
seen (otherwise it starts normally). What's going on here. I can't silently
install this in my MSI app (right after the UI phase but just prior to the
execution phase), and I have no idea what the latter program is.

Just an update. The "dotnetfx.log" during my MSI install shows the following
lines towards the end:

08/04/05,18:19:56] StopDarwinService() - Call to ControlService() failed!
[08/04/05,18:19:56] GetLastError() returned: <183>
[08/04/05,18:19:56] Preparing Dialog
[08/04/05,18:19:56] Message: An error occurred while Windows Installer was
initializing. Setup will now close.
[08/04/05,18:19:56] Install.exe returning 4120

The 183 error is "Cannot create a file when that file already exists.".
Anyone?
 
P

Peter Huang [MSFT]

Hi

This issue had many causes. It is hard to guess, anyway you may try to
check the follow steps.
1. Free Drive Space up on the System Drive
a) Clean out the Temp Directory
Start > Run and type %Temp% and then click Ok
Select All and Delete
b) Clean out the Internet Cache
Open Internet Explorer
Select Tools > Internet Options
Click on the button Delete Files
Click on the button Clear History
c) Move the Virtual Memory to another drive
Windows 2000
Right click on My Computer and select Properties
Select the Advanced Tab
Click the button Performance Options
Click Change
Change the settings
Click Ok until back to the Desktop
Restart the computer
2. Download and install the latest MDAC from the Microsoft Data Access
website

http://msdn.microsoft.com/library/default.asp?url=/downloads/list/dataaccess
asp

3. Register the Windows Installer Engine - SOX030430700035
Start > Run and type msiexec /unregister and then click Ok
Start > Run and type msiexec /regserver and then click Ok

Also I think you may try to post in the setup queue as below.
microsoft.public.vstudio.setup


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

This issue had many causes. It is hard to guess, anyway you may try to
check the follow steps.
1. Free Drive Space up on the System Drive
a) Clean out the Temp Directory
Start > Run and type %Temp% and then click Ok
Select All and Delete
b) Clean out the Internet Cache
Open Internet Explorer
Select Tools > Internet Options
Click on the button Delete Files
Click on the button Clear History
c) Move the Virtual Memory to another drive
Windows 2000
Right click on My Computer and select Properties
Select the Advanced Tab
Click the button Performance Options
Click Change
Change the settings
Click Ok until back to the Desktop
Restart the computer
2. Download and install the latest MDAC from the Microsoft Data Access
website

http://msdn.microsoft.com/library/default.asp?url=/downloads/list/dataaccess
.asp

3. Register the Windows Installer Engine - SOX030430700035
Start > Run and type msiexec /unregister and then click Ok
Start > Run and type msiexec /regserver and then click Ok

Also I think you may try to post in the setup queue as below.
microsoft.public.vstudio.setup

With all due respect, I find it hard to believe that this is the likely
cause of the problem. The machine I'm running it on is up-to-date and has
plenty of disk space. Moreover, I tried it on another XP SP2 machine with a
similar problem (4119 error instead of 4120 but it's still a "Darwin" service
problem). On that machine however it does run from the command line without a
problem. I still have no idea what the free download manager app is all about
on the first machine however, given that I'm launching "dotnetfx.exe" (why is
some foreign app then starting unless it's being triggered by something that
"dotnetfx.exe" is doing - I assume this app has nothing to do with MS but
even then it's strange). Note that I'm a (very experienced) Windows developer
and I need to launch this silently from within an MSI app on an arbitrary
customer's machine. Even if the things you mentioned above were having some
impact (possible but I wouldn't bet on it), I can't ask customers to do this
nor can I be expected to do it programatically. I simply need to silently
install the .NET framework in an MSI application and need to get to the
bottom of this. I'll try the other newsgroup you mentioned in the meantime.
Thanks.
 
P

Peter Huang [MSFT]

Hi

Based on my research and the error code, there are some similar problem, so
I suggest check that.
Also if you want to install .NET framework with your application, you may
try to use Bootstrapper.

The Microsoft Visual Studio .NET 2003 Bootstrapper Plug-In allows you to
easily create an installer that redistributes the .NET Framework 1.1 and/or
MDAC 2.7 with your application.
Microsoft Visual Studio .NET 2003 Bootstrapper Plug-In
http://www.microsoft.com/downloads/details.aspx?familyid=627921a0-d9e7-43d6-
a293-72f9c370bd19&displaylang=en

Microsoft .NET Framework Setup.exe Bootstrapper Sample
http://www.microsoft.com/downloads/details.aspx?familyid=BF253CFD-1EFC-4FC5-
BA7E-6A6F21403495&displaylang=en

HOW TO: Distribute the .NET Framework with a Visual Studio .NET Deployment
Project
http://support.microsoft.com/default.aspx?scid=kb;en-us;324733

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top