Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Flags and quotations in svcpack.inf - how?

Featured Replies

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


  • Author

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

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.

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.

"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

"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

  • Author
"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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.