Running pre/post install scripts in Windows SOTI Packages
Actually, some of the script commands documented in Soti's online manual (such as https://www.soti.net/mc/help/v15.3/en/scriptcmds/scriptcmdsindex.html ) might work in other script usage scenario and not in pre- or post- script of .pcg package.
I don't know exactly which script command(s) you used and failed, but you might try again by adding some time delay (say 10-30 seconds) before launching the app in your post-install script. Frankly, I haven't tried anything similar on a Windows devices for a few years already.
Thank you for posting in SOTI Central.
Only the script commands are supported for the pre/post-install scripts. Reference this link https://www.soti.net/mc/help/v15.3/en/scriptcmds/scriptcmdsindex.html and then adjust your scripts accordingly.
If this resolves your query, please mark this post as the solution. Also, feel free to reach out if you need clarification or have any follow-up questions.
Technical Support | SOTI Inc. |1.905.624.9828 | firstname.lastname@example.org | www.soti.net |