I have a VBA script that a does a few things before installing a visual studio desktop application. Last line of the VBA script is:
CreateObject("WScript.Shell").Run("""\\Server\OurApplication\release\setup.exe""")
Once this VBA script is run, the application is installed and opens automatically, so the taskbar icon appears in he taskbar. However, because it's not pinned, it disappears as soon as I close the application.
I would like to add a line after this that pins the taskbar icon to the taskbar.
Is there a simple one-liner that can do this?