VMware Horizon Community
hemachandran
Contributor
Contributor
Jump to solution

include shortcut in package

We are testing Thinapp solution and one of the applciation is MS navision client. We need to specify some server name and temp file locations when we start the client. So we used to specify these details in the short cut properties. How can we include the short cut in the package so the settings are retained in the package.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
pbjork
VMware Employee
VMware Employee
Jump to solution

You can accomplish this using CommandLine= parameter..

Here's an example:

[Mozilla Firefox (Safe Mode).exe]

Source=%ProgramFilesDir%\Mozilla Firefox\firefox.exe

Shortcut=Mozilla Firefox.exe

WorkingDirectory=%ProgramFilesDir%\Mozilla Firefox

CommandLine="%ProgramFilesDir%\Mozilla Firefox\firefox.exe" -safe-mode

Shortcuts=%Programs%\Mozilla Firefox

Basically you use: CommandLine="SameAsYourSourceParameter" AddAnyParametersNativeApplicationSupports

View solution in original post

0 Kudos
3 Replies
pbjork
VMware Employee
VMware Employee
Jump to solution

You can accomplish this using CommandLine= parameter..

Here's an example:

[Mozilla Firefox (Safe Mode).exe]

Source=%ProgramFilesDir%\Mozilla Firefox\firefox.exe

Shortcut=Mozilla Firefox.exe

WorkingDirectory=%ProgramFilesDir%\Mozilla Firefox

CommandLine="%ProgramFilesDir%\Mozilla Firefox\firefox.exe" -safe-mode

Shortcuts=%Programs%\Mozilla Firefox

Basically you use: CommandLine="SameAsYourSourceParameter" AddAnyParametersNativeApplicationSupports

0 Kudos
btrabue
Enthusiast
Enthusiast
Jump to solution

If I needed to create a shortcut to the users desktop that pointed to a server share how would I do that?  It will not be linking to anything in the package because the package is a client for an application stored on the server.  Thanks

0 Kudos
pbjork
VMware Employee
VMware Employee
Jump to solution

That could look something like:

[MyApp.exe]

Source=\\ServerName\ShareName\MyApp.exe

Shortcut=YourDatacontainer.dat

WorkingDirectory=OftenVeryImportant

Shortcuts=%Desktop%

Shortcuts=%Desktop% will create a shortcut on the users desktop when register the package.

0 Kudos