Question : Problem: Citrix MPS 3.0 and publishing shortcuts

The application is Hold Slip QPrint that works with Horizon.
The shortcut that Hold Slip Qprint creates has the properties set to minimize the DOS window but I can't publish this shortcut.  Citrix error saying unable to procees... see admin .......
I have created a batch calling the hold slip qprint.lnk
When I publish this I get a DOS that stays open until the app is closed which normal but I don't want that.
I have tried using the batch files using the start and run commands, with switches, then creating shortcuts from them with RUN: Minimize property set.  Works fine when double clicking but not when published.
Tried publishing vbs,attached, using wscript.exe with no success.
Anyone with a different way to do this?

Cheers.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
'AppLaunch.vbs
Dim sAppPath
Set WshShell = WScript.CreateObject("WScript.Shell")
On Error Resume Next
' Path to the application
sAppPath = "D:\Program Files\HoldSlipQPrint\Hold Slip QPrint.lnk"
' Executes the program then closes the script.
Return = WshShell.Run(sAppPath, 1, false)
Wscript.quit
Open in New Window Select All

Answer : Problem: Citrix MPS 3.0 and publishing shortcuts

Do you want to accept my comment as the answer? If so, click on the link which reads "Accept as Solution"
Random Solutions  
 
programming4us programming4us