Jump to content

Recommended Posts

Posted

Hi,

I'm trying to include .Net framework v2.0 (KB829019) in my unattended build but with no joy. My 'build' generates an entry in svcpack.inf of the form:

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

But when this entry is executed the quotes get removed and hence the command fails (confirmed by replacing dotnetfx.exe with cmdline.exe (a little AutoIt script that displays the raw command line).

So before I waste any time on [another] wrapper my question is - "Is it possible to include such entries in svcpack.inf and if so how do you escape the quotes such that they are preserved?"

Adv Thanks ance


Posted

Alas this makes no difference - the quotes are still lost when the svcpack.inf entries are executed.

Was this a guess or does it work for you [Alanoll] ?

Posted

hmm, only other thing i can think of then is

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

As that's what it'd be in a standard INF. I remember seeing it done before, i just forget exactly what it was. Try searching for SVCPACK and dotnetfx and it might bring up the right result.

Posted

I thought it was impossble to install 2.0 from svcpack.inf. For example, RyanVM's page says that his installer cannot be installed from svcpack.inf http://ryanvm.msfn.org/ I guess it just can't, ohterwise, there would be a silent sfx around.

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

That is the proper syntax. Now you can overcome the problem of installing DotNet from SVCPACK.INF ...

THERE IT IS! Of course the man i saw it from would come by and post it :P Long time no see

Posted (edited)
"dotnetfx.exe /q:a /c:""install /l /q"""

That is the proper syntax. Now you can overcome the problem of installing DotNet from SVCPACK.INF ...

So it is possible to install framework 2.0 from svcpack.inf, isn't it? Or you mean he can try to overcome the problem? :)

Edited by Vadikan
Posted
"dotnetfx.exe /q:a /c:""install /l /q"""

That is the proper syntax. Now you can overcome the problem of installing DotNet from SVCPACK.INF ...

Alas this doesn't work - Microsoft .NET Framework 2.0: x86 (KB829019) is still listed when I run Windows Update. So into RunOnceEx it must go :(

Thanks for the suggestions everyone.

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