I had a task to deploy the framework .Net 3.5sp1 over than
1000 PC, the Microsoft way
To resolve this was by GPO, or when you try it you will
find many and
Many problem s and difficulties.
I had to try something else, what i needed was a silent or
automatic way of deployment.
After a long time spend in searching about free software to
make a new
Package (msi or exe), I found Auto it.
With it, it's so easy to understand its language of
scripting even it had a tool to record
Actions and transform them to script.
This is my script of Auto it, my package is supposed to be
under K: and it was a French package
#################################################################################
Run("K:\dotnetfx35.exe")
winwaitactive("Installation
de Microsoft .NET Framework 3.5","J'ai lu le contrat de licence et
j'A&CCEPTE ses termes et conditions")
send("{TAB}")
sleep(50)
send("{TAB}")
sleep(50)
send("{TAB}")
sleep(50)
send("{TAB}")
sleep(50)
send("{TAB}")
sleep(50)
send("{TAB}")
sleep(50)
Send("{space}")
Send("!l")
winwaitactive("Installation
de Microsoft .NET Framework 3.5","Installation terminée")
send("{ENTER}")
###################################################################################
The next step was to transform it on something.exe which
was so easy with "Aut2exe.exe"
Another tool of the suite Auto it.
Then we put the script.exe with the package dotnetfx35.exe under a network share.
All you have to do then is to make script batch to start
the script.exe at startup.
I had some problems when I try to execute the script.exe
from an UNC PATH, that's why the best way is to
Map the network share as a local resource then you start
the script.exe, as you can see
In the script batch below which i put in the GPO of startup.
##########################################################
@echo off
if exist %windir%\Microsoft.NET\Framework\v3.5 goto exit
net use K: "\\network share"
start /wait K:\frame.exe
net use k: /del
exit
###########################################################
I recommend that you
use it under script of shutdown GPO
because it makes some time to finish.
Mounir Ben Mohamed
20/08/2011