View Single Post
Old 06-15-2009   #2 (permalink)
sandert


 
 

RE: Executing a silent installshield installer with VBS

I have managed to find a solutions myself

Thanks to :
http://en.wiki.mcneel.com/default.as...StringLiterals


'Unattended install in VBscript
'Script Created by juni 2009
Dim WshShell, fso, temp, sysd, app

Set WshShell = WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
temp = WshShell.ExpandEnvironmentStrings("%TEMP%")
sysd = WshShell.ExpandEnvironmentStrings("%Systemdrive%")
app = "\\<servername>\<setupdir>\"
ins = "/s /f1""\\<servername>\<setupdir>\setup.iss"" "

On Error Resume Next

`Combine app 'setup.exe' with installation switch
Wshshell.Run (app & "setup.exe " & ins)

I hope this helps someone else

Sandert
My System SpecsSystem Spec