PDA

View Full Version : Silent mode w/ .NET 2.0 as dependency


PROKA
03-31-2006, 02:30 AM
I've created a normal installation kit with .net 2.0 as dependency and it works just fine!

But when in silent mode, if there's no .NET Framework installed on that computer, it simply aborts the installation.
- It works though if I uncheck the "Start in silent mode" checkbox,and this way, the installation of .net framework 2.0 is not silent, But I need it checked.

I'm desperate, it has to be done by noon!

PROKA
03-31-2006, 03:22 AM
it says to run it like this:

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

The problem is that if I put
local strFileToRun = strRuntimeSupportFolder.."\\dotnetfx.exe /q:a /c:""install /q"""; in Setup Factory Code, it gives me an error.

:((

Brett
03-31-2006, 09:51 AM
Try:


local strFileToRun = strRuntimeSupportFolder.."\\dotnetfx.exe";
local strArguments = "/q:a /c:\"install /q\"";
File.Run(strFileToRun,strArguments);


You need to separate the command line arguments from the filename.