n00b
Oct 27 2005, 05:42 PM
omg lolz
how do i do the unattended install of dotnetfx
can i still do the administrative install point method, cause i want it to be slipstreamable easily in the future in the world
hax
Zxian
Oct 27 2005, 06:06 PM
You can do the administrative install, but you'll end up with a file that's larger than the original.
Also... try running the installer from a command line with the /q switch. Sometimes it'll find you what you're looking for.
Nakatomi2010
Oct 27 2005, 06:42 PM
Figurees... The day I FINALLY get my Multiboot DVD in it's sweet spot Microsoft releases this thing, and now I have to go in and make a small change...
Oh weell, I least I heelped Bashrat solvee the nForcee Mass Storagee problem...
And yes the keyboard I'm using is adding extra e's heree aree theere... Sorry....
*sigh*
angel0104
Oct 27 2005, 07:05 PM
does /q:a /r:n works?
does /q:a /r:n works on 32 & 64 version? thanks.
Zxian
Oct 27 2005, 08:45 PM
QUOTE (angel0104 @ Oct 27 2005, 06:05 PM)

does /q:a /r:n works?
does /q:a /r:n works on 32 & 64 version? thanks.
Did you read my post at all?
I'm guessing 90% of the time you can find the silent install switches either by looking at the type of installer (and a bit of searching), or by running the installer with a
/? switch.
If you did that, you'd see a window like this:

Either that or you can extract the contents and run the install.exe from there (repeat process to find the switch

).
Or... you can find my switchless installer. Look in the Technology News section.
nmX.Memnoch
Oct 27 2005, 10:14 PM
dotnetfx.exe /Q /C:"install.exe /Q"
Jazkal
Oct 27 2005, 10:34 PM
Haven't tried that one before nmX.Memnoch. I'll give that a try later.
This is what I use, and it will install silently without rebooting:
dotnetfx.exe /q:a /c:"install /l /q"
Worked for my 32bit install. Haven't tested x64 yet, will get to that tomorrow.
nmX.Memnoch
Oct 27 2005, 10:50 PM
Yours is basically doing the same thing. You don't really
need to use the :A or the /l though.
evilvoice
Oct 28 2005, 02:57 AM
orrrr, you can do /q:a /c:"msiexec /i netfx.msi /qn"
MHz
Oct 28 2005, 03:07 AM
QUOTE (nmX.Memnoch @ Oct 28 2005, 02:14 PM)

dotnetfx.exe /Q /C:"install.exe /Q"
This works fine. Running the Netfx.msi instead of Install.exe failed for my attempts which made it complain to run Install.exe first.
Hatefulsorrow
Oct 28 2005, 04:37 AM
ok, off topic and maybe a stupid question, but do you need .net framework v1.0 or 1.1 installed for most programs AS WELL as 2.0 or can you just have 2.0??? I searched microsoft but had no luck
Petya V4sechkin
Oct 28 2005, 04:38 AM
* Deleted *
Jazkal
Oct 28 2005, 07:17 AM
QUOTE (Hatefulsorrow @ Oct 28 2005, 04:37 AM)

ok, off topic and maybe a stupid question, but do you need .net framework v1.0 or 1.1 installed for most programs AS WELL as 2.0 or can you just have 2.0??? I searched microsoft but had no luck
2.0 is stand alone, but not sure if it is backwards compatible yet.
Nakatomi2010
Oct 28 2005, 07:41 AM
QUOTE (Petya V4sechkin @ Oct 28 2005, 05:38 AM)

Repacked unattended installations:
.NET Framework 2.0 (x86) (16,1 Mb)
.NET Framework 2.0 (x64) (24,2 Mb)
(second file i didn't tryed, coz i doesn't have 64-bit windows).
Can I put your file in the svcpack directory and have it called through the svcpack.inf, or should I make this one have a new entry in WPI? (I've been putting the .NET 1 in the svcpack directory....)
I'll tell you if you're 64-bit version works in a few moments as I'm now integrating these into my DVD....
snekul
Oct 28 2005, 08:29 AM
The posts from the comments on the main page may give some insight into backwards compatability.
QUOTE
#1 Posted by Aegis (460 posts) at 27 Oct 2005 - 23:47
Does it offer backwards compatibility?
#2 Posted by travisowens (42 posts) at 28 Oct 2005 - 00:28 3 Replies
No, each version of .Net is seperate in order to gaurentee 100% "compatbility", if .Net 2.0 could run 1.0 or 1.1 apps would it would add a ton of testing that neither IT nor MS wans to do, norneed to.
While 30-100megs per .Net version isn't tiny, considering HDs are 120gig-400gig now-a-days, .NET isn't that big either.
#2.1 Posted by snekul (53 posts) at 28 Oct 2005 - 00:33
Let's rephrase the first question. Does installing the .Net 2.0 redistributable package install the 1.1 components recessary to run a program, like nlite? Or, do we need to install both. I would like to think it installs everything .Net wise, but I could be wrong.
#2.2 Posted by snekul (53 posts) at 28 Oct 2005 - 01:39
Well, I answered my own question. I found my test VM I had didn't have any .net framwork installed, so I ran the 2.0 installer and then ran nlite and it worked just fine. So, I assume this is all you need to install to be .net friendly. Your results may vary.
#2.3 Posted by Ideas Man (296 posts) at 28 Oct 2005 - 02:31
Yes, it is backwards compatible, dunno what he was smokin'.
#3 Posted by Ideas Man (296 posts) at 28 Oct 2005 - 02:40
Woooooo! I LOVE .NET FRAMEWORK 2.0!! Yey, been waiting years for this.
#4 Posted by Aegis (460 posts) at 28 Oct 2005 - 03:32
I had similar findings. While .NET 2.0 does work for some applications, apparently it doesn't work for applications that check what version you're using. An example of a non-working program would be Microsoft's very own Student Graphing Calculator.
Nakatomi2010
Oct 28 2005, 08:46 AM
So it would probably be wise for me to integrate both .NET 1/1.1 and 2.0 onto my DVD as I use it to install Windows on a variety of Customer units.....?
snekul
Oct 28 2005, 02:26 PM
QUOTE (Nakatomi2010 @ Oct 28 2005, 09:46 AM)

So it would probably be wise for me to integrate both .NET 1/1.1 and 2.0 onto my DVD as I use it to install Windows on a variety of Customer units.....?
If you install 1.1 first and then 2.0, you can't really hurt anything.
Nakatomi2010
Oct 28 2005, 03:20 PM
Yeah... Also, as a side note, the switchless installer can't be done using the same method I use for the .Net 1, which is putting it into the svcpack.inf file.....
Still not 100% sure on the 64-bit one, I went to try but it didn't install the OS right.... Go figure...
RogueSpear
Oct 28 2005, 05:25 PM
As long as you delete the registry entry for error reporting (HKLM\Software\Microsoft\Windows\PC Health) from the .msi file, the resultant switchless installer will install from svcpack.inf just fine. This is the same action I had to take in order to get Office 2003, and the latest refresh of Windows Messenger to install.
I took the package offered by Petya V4sechkin (excellent work by the way), decompressed it, made my mods to .msi file, recompressed, etc. As a side note, I've switched from using StartX.exe to using RunHiddenConsole.exe in my switchless installers and it works great, less filling. Much less in fact.
dotNET20.exe Petya V4sechkin
Oct 28 2005, 10:27 PM
QUOTE (RogueSpear @ Oct 28 2005, 05:25 PM)

As long as you delete the registry entry for error reporting (HKLM\Software\Microsoft\Windows\PC Health) from the .msi file, the resultant switchless installer will install from svcpack.inf just fine.
Thanks!!!
Это то, чего мне не хватало. Как говорится - век живи, век учись
zorro1
Oct 29 2005, 06:03 AM
sorry for my poor english
i try to compress with 7zip, but i have this error
to intall this product please run Install.exe
what is the command line to start netfx.msi ?
My script
QUOTE
%~d0
CD "%~p0"
MD tmp
MD netfxsp2
START /wait dotnetfx.exe /C /T:"%~dp0tmp"
CD tmp
START /wait msiexec /a netfx.msi TARGETDIR="%~dp0netfxsp2" /QB
CD..
upx.exe 7zSC.sfx
ECHO ;!@Install@!UTF-8!>config.txt
ECHO RunProgram="StartX.exe /WAIT /B \"msiexec.exe /i netfx.msi /qb\"">>config.txt
ECHO ;!@InstallEnd@!>>config.txt
COPY /b 7zSC.sfx + config.txt + netfxsp2.7z netfxsp2.exe
DEL 7zSC.sfx
DEL config.txt
DEL netfxsp2.7z
booster
Oct 31 2005, 03:24 PM
QUOTE (RogueSpear @ Oct 29 2005, 01:25 AM)

As long as you delete the registry entry for error reporting (HKLM\Software\Microsoft\Windows\PC Health) from the .msi file, the resultant switchless installer will install from svcpack.inf just fine. This is the same action I had to take in order to get Office 2003, and the latest refresh of Windows Messenger to install.
I took the package offered by Petya V4sechkin (excellent work by the way), decompressed it, made my mods to .msi file, recompressed, etc. As a side note, I've switched from using StartX.exe to using RunHiddenConsole.exe in my switchless installers and it works great, less filling. Much less in fact.
dotNET20.exeWhen I try to use this, I get "To install this product please use Install.exe" in the event viewer.
But with Petya's version I get "Could not write to HKLM\Software\Microsoft\Windows\PC Health bla bla bla"
So something must be different.
In either case the framework does not get installed.
Any fix to this ?
RogueSpear
Oct 31 2005, 03:50 PM
I actually had this work for me on a live PC. Guess I need to do a little testing here and figure out what's what.
EDIT: yep, it's pooched. What has me scratching my head is this - under what circumstances did this install properly for me? I wouldn't have posted it if it didn't work for me. I'll d/l the file again and see where I went wrong. Hopefully I'll have a replacement up before too long.
RogueSpear
Nov 1 2005, 08:32 AM
Well after spending entirely too long on this thing, here is where I'm at: Installing from svcpack is giving me this error in the event log
QUOTE
Product: Microsoft .NET Framework 2.0 -- Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: The handle is invalid.
I've managed to work through some other errors, but this one has me stumped. For the time being, installing from RunOnceEx or GUIRunOnce is the best bet using Petya's original installer. If I manage to figure this thing out, I'll update.
EDIT: Does anyone know if the Visual J# redist is included with .NET 2.0?
evilvoice
Nov 1 2005, 09:17 AM
roguespear, have you tried running install.exe instead of directly running the msi? with running install.exe with the switches, you dont need startx or runhiddenconsole...just a thought
RogueSpear
Nov 1 2005, 10:16 AM
I had given that some thought yes. I ended up modifying the .msi file, removing the custom action that prevents directly installing .msi file. But now I'm wondering if perhaps the install.exe could be used in conjunction with an AIP. By making the installer out of an AIP, you end up saving over 7MB of space. Personally I'd rather save the space and install it from RunOnceEx, than use the larger file from svcpack.
But I'll try making a new installer tonight that uses Install.exe and see what happens from svcpack. For now I need to catch up on everything else I've let go while messing around with this thing.
BoardBabe
Nov 4 2005, 06:56 PM
*DELETED*
lolocite
Nov 9 2005, 05:09 AM
Hello, is there a french version of this DotNet 2.0 switchless pack ?
Edit :
Ok I found the answer : Microsoft has only released english version yet. SO I have to wait...
But do you know if it is possible to have this switchless pack once Microsoft releases the french version ?
BoardBabe
Nov 9 2005, 06:43 AM
I believe the installer is multilingual. Might be wrong though...
RogueSpear
Nov 9 2005, 07:03 AM
From what I could see inside of the .msi file, there were maybe 6 to 8 languages supported. If memory serves me correct English, Spanish, French, German, Traditional Chinese, Simplified Chinese. I don't remember if Dutch, Portugese, Arabic, Hebrew, etc. were in there.
Sonic
Nov 9 2005, 05:02 PM
+1 , .NET FrameWork 2.0 is international ... It appears on additionals updates in Windows Update (french)
jamesagmoore
Nov 12 2005, 05:19 AM
I am trying this from a batch called during Windows XP installation, via cmdlines.txt. I get the error in the event logs:
QUOTE
Product: Microsoft .NET Framework 2.0 -- Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: The handle is invalid.
Anyone else installing donnet 2 from cmdlines.txt?
Sonic
Nov 12 2005, 05:33 AM
post your cmdlines.txt ...
Shark007
Nov 12 2005, 06:30 AM
No need to post your cmdlines.txt
This is a known issue,
Microsoft .NET Framework 2.0 will not install @ T-13 or T-9
You have to use guirunonce or runonceex.
shark
Sonic
Nov 12 2005, 12:59 PM
okay, it's pinned in my memory (hum sorry for direct translation) !
I don't know this limitation, in fact for me I always run install on runonceex
leungda
Nov 14 2005, 08:37 PM
I still have problem to do the installation. on my RunOnceEx.cmd, my code is the following:
REG ADD %KEY%\036 /VE /D "Microsoft .NET Framework v2.0" /f
REG ADD %KEY%\036 /V 1 /D "%CDROM%\$OEM$\install\dotnetfx.exe /Q /C:"install.exe /Q"" /f
It doesn't do anything and doesn't give any error message. I want to know how to fix it.
rustycaps
Nov 15 2005, 04:33 AM
CODE
"e:\dotnetfx2.exe" /Q /C:"install.exe /Q" /f
This is the line from the updated runonceex I used to get it to work, as I noticed the same thing when I'd originally run the installation. Yours looks the same except for the quotes in the wrong place.
PS - I run my apps from another partition/drive, which is why I have a specific letter, but does the same thing.
Sonic
Nov 15 2005, 06:04 AM
REG ADD %KEY%\036 /VE /D "Microsoft .NET Framework v2.0" /f
REG ADD %KEY%\036 /V 1 /D "%CDROM%\$OEM$\install\dotnetfx.exe /Q /C:
\"install.exe /Q
\"" /f
Because reg add think you close the command on the second " ...
http://unattended.msfn.org/intermediate/me...s/runonceex.htm This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.