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.
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
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
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
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.