Installing a .js applications

I am trying to install ibm I access and the vendor supplies .js files that do the install

i tried bot of these with no luck

Execute-Process -Path “$dirFiles\Windows_Application\install_acs_64_allusers.js” -Parameters “/q” -WindowStyle Hidden -WaitForMsiExec -ContinueOnError $true

Execute-Process “cmd.exe” -Parameters “/C $dirFiles\Windows_Application\install_acs_64_allusers.js /q” -WindowStyle Hidden -WaitForMsiExec -ContinueOnError $true

any thoughts?

I’ve never done it but since Execute-Process only does EXEs, try this:

Execute-Process "cscript.exe"-Parameters "$dirFiles\Windows_Application\install_acs_64_allusers.js /q" -WindowStyle Hidden -ContinueOnError $true

Not sure about the /q though

That-Annoying-Guy is correct. I just completed this with the same thing.

1 Like

Thank you both it did work perfect

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.