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


 
 

Executing a silent installshield installer with VBS

Hello all,

i am new to VBS

I want to use VBS to execute a silent InstallshieldInstaller.

Here is the source

'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>\d$\SetUp\Prequisities\Packaging\<setupdir>\"

On Error Resume Next


WshShell.Run (app & "setup.exe /s /sms /f1"setup.iss" ")

This does not work

---------------------------------------------

I need the correct vbs syntax for executing

setup.exe /s /f1"<somepath>setup.iss"

in a vb script file

Thanks in advance

sandert
My System SpecsSystem Spec