1 of 1 people found this helpful
Thank you for posting your question.
Are you having issues pushing a file to the machine or calling it?
I would highly recommend you make a batch file that will do what you want with the vbs file. Then push the batch file to the target machine and call it as is mentioned here:
Thanks you for your answer.
I first created a batch file that opens the windows update service by using the custom hotfix editor, which works well by pushing and calling.
In a second step, I created a batch that calls a file vbs "COPY \\ MyComputer \ c $ \ ProgramData \ LANDESK \ myvbs.vbs C: \", shavlik does not execute the request, except when I run it Manually the vbs is copied .. I realized that when deploying the vbs with shalik, it does not use the correct custom patch ... yet I followed step by step the tutorial! Is this a temporary problem? Thank you for your reply
As mentioned in Custom Action - How to Work with Batch Files the path to the installation directory has changed. So if you are trying to access your batch file by %pathtofixes\Install\.... then it will not work because the Install directoy has been removed in Protect 9.2 and later. Instead you need to access your batch file by %pathtofixes%\... as is mentioned in the Batch Files document.
Use custom action to copy (push) all files and scripts to your target
To execute .Bat files you use CALL %PATHTOFIXES%\xxx.bat
To execute a .vbs file use CALL CSCRIPT %PATHTOFIXES%\xxx.vbs