Good morning,
I need your help creating a task on BigFix.
Here is my script:
waithidden cmd.exe /C “C:\Program Files (x86)\Siem\syn\Setup\Remove_RTC.vbs”
???
dos rmdir /s /q /f “C:\Program Files (x86)\Siem”
waithidden \***\packages\S\DeploymentClient\PreReq\DotNetFx\NDP48-x86-x64-AllOS-enu.exe /quiet /AcceptEULA /norestart
wait c:\windows\system32\msiexec /i “\\packages\S\DeploymentClientVB60S_HF01\PreReq\Teamviewer\TeamViewer.msi" /qn
wait c:\windows\system32\msiexec /i "\\packages\S\DeploymentClientVB60S_HF01\PreReq\Teamviewer\TeamViewer TeamConnector.msi” /qn
waithidden \\packages\S\DeploymentClientVB60S_HF01\PreReq\vc12redist\vcredist_x64.exe /install /quiet /norestart
waithidden \\packages\S\DeploymentClientVB60S_HF01\PreReq\vc14redist\VC_redist.x64.exe /install /quiet /norestart
wait c:\windows\system32\msiexec /i “\\packages\S\DeploymentClientVB60S_HF01\PreReq\s.Client.DeviceGuard.CatalogFiles.msi" /qn
wait c:\windows\system32\msiexec /I "\\packages\S\DeploymentClientVB60S_HF01\PreReq\s.Flight.msi” /lv c:\sfr.log TARGET="c:\program files\siem\syn\bin" /qn
wait c:\windows\system32\msiexec /i "\***\packages\S\DeploymentClientVB60S_HF01\PreReq\VNC Viewer.msi" /qn
if {(exists true whose (if true then (exists (computer name) whose (it as string as lowercase starts with “h-” as lowercase)) else false))}
wait c:\windows\system32\msiexec /i “\***.msi” /qn
endif
if {(exists true whose (if true then (exists (computer name) whose (it as string as lowercase starts with “d-” as lowercase)) else false))}
wait c:\windows\system32\msiexec /i “\***.msi” /qn
endif
if {(exists true whose (if true then (exists (computer name) whose (it as string as lowercase starts with “s-” as lowercase)) else false))}
wait c:\windows\system32\msiexec /i “\***.msi” /qn
endif
wait c:\windows\system32\msiexec /i “\****\packages\S\DeploymentClientVB60S_HF01\synclient.msi” /qn
I only need the “?” line. it reboots the machine and waits for it to be restarted before continuing. But impossible to achieve it. Could anyone help me?
Many thanks in advance to everyone and have a nice day