kazazza 
Member 
 
Registered: 5th Oct 09
 Location: Herne Bay, Kent 
User status: Offline 
 
 | 
 
Hi everyone, hopefully some clever person will have the answer   
 
I'm trying to run this script: 
 
msiexec /i "c:\EXAMPLE.msi" /quiet 
 
But I'm getting this error: 
 
Line:  	1 
Char:	9 
Error:	Syntax error 
Code:	800A03EA 
Source: 	Microsoft VBScript compilation error 
 
Its only a syntax error but I've tried everything I can think of to fix it... Any help would be highly appreciated
 | 
Sam 
Moderator Premium Member 
 
Registered: 24th Dec 99
 Location: West Midlands 
User status: Offline 
 
 | 
 
Paste up the contents of line 1...
 | 
Steve 
Premium Member
 
Registered: 30th Mar 02
 Location: Worcestershire             Drives: Defender 
User status: Offline 
 
 | 
 
Why vbscript? Just run it as a batch file
 | 
kazazza 
Member 
 
Registered: 5th Oct 09
 Location: Herne Bay, Kent 
User status: Offline 
 
 | 
 
Dont worry guys, got it: 
 
Dim objShell 
Set oShell = CreateObject("WScript.Shell") 
 
oShell.Run "c:\CrystalReports2005x86.msi /quiet /passive /norestart",0, True 
 
Set oShell = Nothing
 | 
kazazza 
Member 
 
Registered: 5th Oct 09
 Location: Herne Bay, Kent 
User status: Offline 
 
 | 
 
quote: Originally posted by Sam 
Paste up the contents of line 1... 
   
 
I did  
 | 
kazazza 
Member 
 
Registered: 5th Oct 09
 Location: Herne Bay, Kent 
User status: Offline 
 
 | 
 
quote: Originally posted by Steve 
Why vbscript? Just run it as a batch file 
   
 
This is only 1 very small part of the program - vbs seemed the most appropriate for what I want...
 | 
VrsTurbo 
Premium Member 
 
Registered: 8th Jun 10
 
User status: Offline 
 
 | 
 
Why even run as a batch file? Do it via gpo software installer as its an msi. 
 | 
Steve 
Premium Member
 
Registered: 30th Mar 02
 Location: Worcestershire             Drives: Defender 
User status: Offline 
 
 | 
 
we sometimes roll out software using batch files as some msi's dont always work using group policy, and its easier than faffing about recreating an msi
 |