- 
How can I quickly install Clients on all workstations on a network (silent installation)?
 
A silent installation allows you to remotely install an application on all workstations on a network, without having to intervene on each workstation.
Step 1: Prepare the *.iss file
The first step is to save all the answers to the questions asked during a "manual" installation in an *.iss file. To generate this file, proceed as follows:
- From a workstation on which the Client PRONOTE has not yet been installed, download the latest version of the Client PRONOTE (from this site, in the rubric Download) by saving it in a folder (in our example, we download the Install_HYPclient_EN1000200.exe application in the c:\InstallSilencieuse folder.
 
- Display a command prompt (by typing cmd in the Start menu search box) then enter the following command lines:
- cd c:\Install
 - Install_HYPclient_FR1000200.exe -r -f1c:\Install\ClientPRONOTE.iss
 
 - the installation of Client PRONOTE is launched: proceed with the installation; your answers are saved and will be reused during installation on the various workstations in the network.
 - At the end of the installation, the file ClientPRONOTE.iss containing your answers is generated in the folder c:\Install, next to the installation file.
 
Step 2: Test the silent installation
- Uninstall the Client PRONOTE from the workstation on which you "manufactured" the silent installation and check that the c:\InstallSilencieuse folder contains the 2 files:
- Install_HYPclient_FR1000200.exe
 - ClientPRONOTE.iss
 
 - Display a command prompt (by typing cmd in the search box of the menu Start) then enter the following command lines:
- cd c:\Install
 - Install_HYPclient_FR1000200.exe -s -f1c:\Install\ClientPRONOTE.iss -f2c:\Install\resultat.log
 
 - The installation of the Client PRONOTE takes place without you having to answer any questions. The answers given in step 1 are used.
 - a file resultat.log is generated in the file c:\Install: if the installation was successful, you should read at the end of the file: ResultCode=0.
 
Step 3: Launch the silent installation on all the workstations
To install the Client PRONOTE on all workstations on the network, run the previous script remotely.
Here's an example of a Vbscript script that can be used. You can copy it into a text file with the extension *.vbs. You can remotely copy and run this file on any workstation where you want to install the Client PRONOTE.
Set WshShell = Wscript.CreateObject("Wscript.Shell")
Set WSHNetwork = WScript.CreateObject("WScript.Network")
Set Fso = CreateObject("Scripting.FileSystemObject")
computer = WshNetwork.ComputerName
On error Resume Next
If Not Fso.FolderExists("c:\temp") Then
Fso.CreateFolder("C:\temp")
End IF
Fso.CopyFile "NomDuServeur\Install \*.*","C:\temp",True
wscript.Sleep 2000
command1 = "CMD /C C:\temp\Install_HYPclient_FR1000200.exe -s -f1c:\temp\ClientPRONOTE.iss -f2c:\temp\resultat.log"
Wshshell.run command1,0,True
wscript.sleep 5000
If Fso.FileExists("c:\temp\resultat.log") Then
Fso.CopyFile "c:\temp\resultat.log","NomDuServeur\Install\resultat-" & computer & ".log",True
End If
WScript.Quit
Here's an example of a Vbscript script that can be used. You can copy it into a text file with the extension *.vbs. You can remotely copy and run this file on any workstation where you want to install the Client PRONOTE.
Set WshShell = Wscript.CreateObject("Wscript.Shell")
Set WSHNetwork = WScript.CreateObject("WScript.Network")
Set Fso = CreateObject("Scripting.FileSystemObject")
computer = WshNetwork.ComputerName
On error Resume Next
If Not Fso.FolderExists("c:\temp") Then
Fso.CreateFolder("C:\temp")
End IF
Fso.CopyFile "NomDuServeur\Install \*.*","C:\temp",True
wscript.Sleep 2000
command1 = "CMD /C C:\temp\Install_HYPclient_FR1000200.exe -s -f1c:\temp\ClientPRONOTE.iss -f2c:\temp\resultat.log"
Wshshell.run command1,0,True
wscript.sleep 5000
If Fso.FileExists("c:\temp\resultat.log") Then
Fso.CopyFile "c:\temp\resultat.log","NomDuServeur\Install\resultat-" & computer & ".log",True
End If
WScript.Quit
Was this content useful to you ?
Can't find an answer to your question ?
Contact our support