Vumad Posted December 29, 2005 Share Posted December 29, 2005 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 Link to comment Share on other sites More sharing options...
Alanoll Posted December 29, 2005 Share Posted December 29, 2005 try"dotnetfx.exe /q:a /c:"install /l /q"" Link to comment Share on other sites More sharing options...
Vumad Posted December 29, 2005 Author Share Posted December 29, 2005 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] ? Link to comment Share on other sites More sharing options...
Alanoll Posted December 29, 2005 Share Posted December 29, 2005 hmm, only other thing i can think of then isdotnetfx.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. Link to comment Share on other sites More sharing options...
Vadikan Posted December 29, 2005 Share Posted December 29, 2005 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. Link to comment Share on other sites More sharing options...
GreenMachine Posted December 29, 2005 Share Posted December 29, 2005 "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 ... Link to comment Share on other sites More sharing options...
Alanoll Posted December 29, 2005 Share Posted December 29, 2005 "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 Long time no see Link to comment Share on other sites More sharing options...
Vadikan Posted December 30, 2005 Share Posted December 30, 2005 (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 December 30, 2005 by Vadikan Link to comment Share on other sites More sharing options...
Vumad Posted December 30, 2005 Author Share Posted December 30, 2005 "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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now