Jump to content

Silent .NET Maker (latest update: 20080603)


Recommended Posts

Posted (edited)
And add support for every possible .NET 1.1 executable name? Or force people who don't use this script to name it DNF11.exe? I don't think that's really feasible...

Why don't you just rename the output file(s)? It's easy...

1_DNF20.exe

2_DNF30.exe

3_DNF11.exe

:)

I have tried this method and it doesn't work. It installs 2.0 and 3.0 without error, windows cardspace is installed too... but 1.1 net framework doesn't install at all. Now I'll try to merge 1.1 with 3.0. I'll tell you if in this way all works well.

EDIT: I have tried with the merge installer and everything is installed well, windows cardspace is installed properly, only 2 errors are shown about Windows Presentation Foundation.

These errors are:

-Product: Windows Presentation Foundation -- Error 2004. Method SHGetFolderPath failed. HRESULT: 0x80004005

-Product: Windows Presentation Foundation -- Error 2004. Method GetFontCacheDataFolder failed. HRESULT: 0x80004005

Anyway, in other event properties, there is one that show me that Windows Presentation Foundation is installed completely.

Edited by S3pHiroTh

Posted

I am aware of those errors but am not sure why they are logged.

Windows Communication Foundation (installed right before Windows Presentation Foundation) also calls the SHGetFolderPath function and it doesn't report an error. However, right after the SHGetFolderPath calls in the Communication Foundation log it's written that the needed info was found "by spelunking the registry"... which could indicate that the calls did fail but that there was a "backup method" (scanning the registry).

I don't think that the Presentation Foundation installer doesn't have a backup method, otherwise the new fonts wouldn't be present in the Windows Fonts folder. So I guess the difference lies in the nature of the logging: report everything except "recoverable errors" for WCF, and report only errors for WPF. I'll have the WPF installer output a verbose log to verify that.

Posted (edited)

Another error is that Webclient service doesn't start anymore with the merged installer. It reports that his current state is not valid 87 and it stops itself.

Today I'll try to install the merged installer like the RunOnce.cmd do (in Windows, but automatically with a batch) and I'll tell you if there are some errors. If in this method it hasn't had any error, maybe is better to install Net frameworks in Windows than SVCPACK directory (I tell you as a HFSLIP user) :)

EDIT: Ok I have installed Merged Net pack (in Windows) and everything is installed without error, only some warning are shown in event viewer. These warnings are:

-Could not detect IIS installation or IIS is disabled, skipping the Web Host Script Mappings component since it depends upon IIS to function properly.
If you believe this message is an error, check your IIS installation to make sure it is installed properly.

This is OK, I haven't installed ISS.

-Configuration section system.serviceModel does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

-Configuration section system.runtime.serialization does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

-Configuration section system.serviceModel.activation does not exist in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.

-A configuration entry for BuildProvider System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 does not exist.

-All compilation assembly nodes do not exist in System.Web section group.

-HttpHandlers node *.svc does not exist in System.Web section group.

-HttpModules node ServiceModel does not exist in System.Web section group.

-HTTP namespace reservations are not installed.

If you know some tests to do, I'll do the tests. Ask if you want to... :)

Edited by S3pHiroTh
Posted

I also have this problem with the WebClient service but thought it was because of my system. I had to reinstall Virtual PC 2004 recently because my NICs weren't properly recognized anymore by it so I assumed it was a "leftover" from those problems.

This could take some time to debug. I'll start off with trying RogueSpear's silent installer to see if it produces the same problem. If not, I may have to abandon the admin install approach for the .NET 3.0 "wrapper"; the downsides of that will be:

- future updates can't be slipstreamed

- you can no longer customize the .NET 3.0 install

That would really stink...

Posted (edited)

Alright. I did the test with RogueSpear's installer.

- the two errors for Windows Presentation Foundation are there

- WebClient service fails

So nothing that I'm doing differently from RogueSpear is causing this.

In my situation, this leaves room for three possibilities:

1) .NET 3.0 can't be installed from SVCPACK

2) There's an unforeseen error in one or more of the .NET 3.0 applications

3) IE7 and .NET 3.0 don't get along very well (either the install order should be changed or one should be omitted; I installed IE7 from SVCPACK.INF after .NET 3.0)

Edited by Tomcat76
Posted

The problems are still there when only installing .NET 3.0 from SVCPACK.INF (RogueSpear's).

Conclusion: .NET 3.0 just can't be installed at T-13.

I updated the main post and the readme file in the script package.

Posted
The problems are still there when only installing .NET 3.0 from SVCPACK.INF (RogueSpear's).

Conclusion: .NET 3.0 just can't be installed at T-13.

I updated the main post and the readme file in the script package.

Ok

For HFSLIP users, can you add a directory like NET for adding 3.0 net framework that can install itself at windows first logon?

Posted

does anyknow how I could do this will "iexpress.exe"???

Tho I must say, the program does do the trick!

worked for me :)

now I just got to find out, how to run it with windows setup!!!!

Posted

i ve tryed your tools

installed via svcpack, at T-13

result:

viewsq7.jpg

now i don t understand if it works or not and just appear that the framework 3.0 it s installed :unsure:

note: i don't use IE7

Sorry for my bad english ^^

anyway thanks (just because it seems to work :P )

I was joking :)

great job!! :thumbup;)

Posted

Greetings, this is my first post (newbie alert!). Please forgive if I kind of barge in here, and also if you find this post to be in the inappropriate thread. I've been searching the forums for about a week now and, while I'm not absolutely certain to have looked everywhere proper for an answer, I can at least say I tried.

The guide to make a silent installer worked ok for me, I tested it on another computer and it worked just ok. Now, what I do want to do with this installer is integrate it in a WinXP SP2 unattended cd. The problem with this lies in the fact that I am, well, pretty much ignorant on the subject. There's nLite which is brilliant, but nLite says Dot Net can't go with hotfixes, not being, well, a hotfix. So I thought I'd ask here if an installer made through the SNM can *at all* be integrated/slipstreamed into a WinXP install disc and, if so, how. Please bear in mind that I don't know much about svcpack.inf and such, but will readily read any documentation about it if necessary. Since I'm doing pretty much everything else with nLite though, if there is indeed a way to do this I will most certainly need to know whether it must be done before or after feeding source files to nLite.

Thanks for your time in advance

Inited()

Posted

@darafat

.NET 3.0 breaks the WebClient service in Windows if installed at T-13 (from SVCPACK.INF). It must be installed at first GUI logon.

Posted
@darafat

.NET 3.0 breaks the WebClient service in Windows if installed at T-13 (from SVCPACK.INF). It must be installed at first GUI logon.

Thanks :)

so i must install the two output (net 1.1 and net 2.0) via svcpack, and the third output (not 3.0) via RunOnceEx :)

Posted

Yes. But don't include .NET 2.0 inside .NET 3.0 in that case (it would be pointless). The latest version of SNM excludes it by default.

Posted (edited)

Tomcat you should remove the option of MERGE_FRAMEWORKS=13 from this script :)

EDIT: Found a bug in the latest script, if I set MERGE_FRAMEWORKS=12, and I put files for all version of Net framework, silent installer for version 3.0 isn't created. In .ini file PROCESS_DNF3 is YES

Edited by S3pHiroTh

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...