Originally Posted By: JSosa

....
im still getting a syntax error when I call it \:\(


Probably because there is a lot of incorrect code in there. Below is a corrected version but I may have missed something cause I'm actually busy doing something else and I did not test it.

 Code:
$systemdrive = SubStr($windir, 1, 2) ; -- This will show C: or M: or what drive Windows is installed on
$InstRoot = '\\usmiadc01\Software$$\Lync\'


If Exist($systemdrive + '\Program Files (x86)')
	$Is64 = "yes"
EndIf
	
If InGroup('Lync_Users')
	If Not Exist($systemdrive + '\program files\microsoft office 15\root\office15\lync.exe')
		? "OK to Install Lync"
	Else 	  
		; set the installer based on the platform bitness
		If $Is64 = "yes"           ; running on x64 platform
			$Install = '\setup.exe /configure configuration-en-64.xml'
		Else	
			$Install = 'setup.exe /configure configuration-en.xml'
		EndIf
		
		; run the installer
		? 'Running: ' + $InstRoot $Install
		;RUN $InstRoot + $Install
	Else
		? "Lync already installed"
	EndIf
Else
	? 'No Lync for you!'
EndIf
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.