Action Script for the exe files

Hi, I am having problem in importing .EXE fixlets in Big fix, Can you say weather the statement I am using is correct or not. If not what should I have to use?

wait {"WSCRIPT.EXE " & value of variable “SystemDrive” of environment & “\ProgramData\DSE\BigFix” & parameter “_app_name” & “\Default_SQLServer2008R2Express10.50.1600.1R0.vbs Install”}

Thanks.

I think it might be that “parameter” shouldn’t be in the “Relevance” statement between the curly braces.

Try …
wait {“WSCRIPT.EXE " & value of variable “SystemDrive” of environment & “\ProgramData\DSE\BigFix”} & parameter “appname” & {”\Default_SQLServer2008R2Express10.50.1600.1R0.vbs Install"}

This is the same post from here: Action Script for the CMD fixlet

Since you haven’t posted the whole ActionScript can we assume that WSCRIPT.EXE is being downloaded as part of the action? Try this:

wait __Download\WSCRIPT.EXE "{value of variable "SystemDrive" of environment & "\ProgramData\DSE\BigFix\" & parameter "appname" as string & "\Default_SQLServer2008R2Express10.50.1600.1R0.vbs"}" Install
1 Like

I believe WSCRIPT is the built in thing to run VBS like CSCRIPT. It should already be on the system and in the PATH. Probably not being downloaded.

He messaged me the script and part of the issues is some inconsistency in the spelling of parameters and some syntax language. There are also some unconventional methods of how files are being downloaded and I would say that’s due to this fixlet attempting to be a cookie-cutter template for deploying other applications with minimal configuration.

Also, as you’ve stated @jgstew, WSCRIPT is part of the Windows OS but it looks like the switches are not being used for command line.

wait WSCRIPT.EXE "{value of variable "SystemDrive" of environment & "\ProgramData\DSE\BigFix\" & parameter "appname" as string & "\Default_SQLServer2008R2Express10.50.1600.1R0.vbs"}" Install //B
1 Like