I have setup a sw package for office and I need the user to call me after the setup finishes.
The setup works fine.
Then I added a post-deployment activity "Run script".
Content of the Batch script:
---
- .@echo off
- "C:\Windows\System32\msg.exe" * Please call Admin
- exit 0
---
Nothing happens after the setup is completed...the deployment status is just "executed/successful", no errors mentioned..
I tested a lot and finally did this:
Create a new config - Custom Script (computer)
I tried several values for "command line" (entering path and name to the script, calling script via "cmd /c start", just typing "msg * Test").
A cmd window pops up but the message is not displayed!
In the execution i found an error:
"The command is unknown or wrong" (not the exact meaning; I have German OS).
Why can I not use this command/program??
I can start "msg.exe" in any case locally but not via desktop central - why not and how can I fix this?