Hi,
Hope someone can help me. I've created a batch file to install an application and that application requires .net 4 to be installed. I've added into the bat file the installer for .net, but even though i put the /q hash after it, it still asks me to agree to the license, can anyone advise how to get round this.
thanks
jonathan
.NET 4 Framework
Moderator: DosItHelp
Re: .NET 4 Framework
'
This is not an answer to your question, you are not the only one having problems with .NET
Always a pain installing .NET, so much pain I used a more powerful language to handle it:
Silent Install dotnetfx v3.5 SP1.au3
I don't know whether you can install .NET unattended AND hidden with only switches, probably but it will always be easier in AU3
Did you try MSFN forums already, I know there are many .NET switches but most are incompatible with different versions.
This is not an answer to your question, you are not the only one having problems with .NET
Always a pain installing .NET, so much pain I used a more powerful language to handle it:
Silent Install dotnetfx v3.5 SP1.au3
Code: Select all
WinWait ( $Title, $Text )
$Title = 'Microsoft .NET Framework 3.5 SP1 installeren'
$Text = ''
SleepTiming_ReSet ()
While Not WinExists ( $Title, 'Welkom bij Setup' )
$Title = 'Microsoft .NET Framework 3.5 SP1 installeren'
$Text = 'Onderhoudsmodus'
If WinExists ( $Title, $Text ) Then
$Title = 'Microsoft .NET Framework 3.5 SP1 installeren'
$Text = 'Onderhoudsmodus'
SleepTiming_ReSet ()
While Not WinExists ( $Title, 'Weet u zeker dat u de installatie wilt annuleren?' )
If WinExists ( $Title, $Text ) _
And WinActivate ( $Title, $Text ) _
And ControlFocus ( $Title, $Text, 'Button18' ) _
And ControlClick ( $Title, $Text, 'Button18' ) _
Then WinWait ( $Title, 'Weet u zeker dat u de installatie wilt annuleren?', 1 )
SleepTiming_Go ()
WEnd
I don't know whether you can install .NET unattended AND hidden with only switches, probably but it will always be easier in AU3

Did you try MSFN forums already, I know there are many .NET switches but most are incompatible with different versions.
Re: .NET 4 Framework
Thanks for your advice, i'll look into that now.
Thanks again.
Thanks again.