Jump to content

Recommended Posts

Posted

Hi there,

 

I need to install this using a startup script/batch file but don't want it to install every time the machine is rebooted.

 

Is there I way I can make this happen?

 

I thought about getting the script/batch file to create a file at the root of C: and then when the machine restarts it can see that this file exists so will not attempt the install again! Does this make sense? If it does could someone please let me know how this could be done.

 

It's server 2008 with XP clients.

 

Thanks again!

Posted

i use a registry check

 


setlocal


reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"

if NOT %errorlevel%==1 (goto end)
"\\server\packages$\ms msi\dotnet4full\dotNetFx40_Full_x86_x64.exe" /passive /norestart /showfinalerror 

:End

  • Thanks 1

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



×
×
  • Create New...