/build/static/layout/Breadcrumb_cap_w.png

Creating Shortcut

All,

In my package, I want to create a shortcut on the desktop that points to an .exe file on the network. How can I accomplish this. I tried using the shortcut option Wise Package Studio, Installer Editor but It only lets me create local ones.

Any suggestions?

Thanks in advance.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: aa006 18 years ago
Senior Purple Belt
0
Do this .. create a shortcut icon on the desktop when u are trying to capture.. go to properties of the icon.. under Target ( put yr network drive name with .exe name ). Good luck
Posted by: Lillude 18 years ago
Senior Purple Belt
0
I have one suggestion for this problem.
Create a Link file ".lnk" pointing to that exe over the network and then add the link file to wise application as file to Desktop folder.

to create a link file pointing to some network location can be done using the script :-


Set WshShell = CreateObject("WScript.Shell")
Set oFileSys = CreateObject("Scripting.FileSystemObject")
sPath = "c:\Documents and Settings\All users\Desktop"
Set objShortcutLnk = WshShell.CreateShortcut(sPath & "\ShortCutName.lnk")
objShortcutLnk.TargetPath ="X:\Server\test.exe"
objShortcutLnk.Arguments = "-Argument"
objShortcutLnk.WorkingDirectory = "X:\Server\"
objShortcutLnk.Save


hope this helps
thanks,
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ