Shortcut with no Target Location

I've got this computer that has a lot of shortcuts on the desktop, but I'm not too sure where these shortcuts are pointing to or how they got created.

For example:
Use This ABC (ie, "Use This Link.lnk") has:
Target Type: Application
Target Location: (nothing displayed)
Target: ABC Interface
Start In: "C:\Program Files\MyApplication\"

If I look in the MyApplication folder, I can see an AppABC.exe, and when I right hand click on this exe, go to properties, Version tab, and select "Product Name" in list view, I then see "ABC Interface" in the value.
So my guess is that the shortcut is probably pointing to AppABC.exe

Is this correct? How do you create such shortcuts?
AlexInAustraliaAsked:
Who is Participating?
 
sramesh2kCommented:
Alex,

I believe you're referring to those Windows Installer shortcuts. Check this KB.

INFO: How Windows Installer Shortcuts Work:
http://support.microsoft.com/kb/243630
0
 
war1Commented:
Greetings, AlexInAustralia !

Your Target Location would be MyAppliation. I am not sure why it is not showing.

>> So my guess is that the shortcut is probably pointing to AppABC.exe. Is this correct? How do you create such shortcuts?

Yes, the shortcut is pointing to AppABC.exe.  Someone on the computer created these shortcuts.  If you are asking how shortcuts are created, you can create a shortcut in the application folder.  Right click on the executable file and and select "Create Shortcut". Then drag the shortcut to the Desktop.

Best wishes!
0
 
gopal_krishnaCommented:
You can also create the shortcut by right clicking on the AppABC.exe and Send To >Desktop which will create the shortcut on you desktop.

Cheers
Gopal Krishna K
0
 
AlexInAustraliaAuthor Commented:
Thank you sramesh2k. It is indeed a Windows Installer shortcut.
One final question though, how do you know which application the windows installer shortcut launches?
0
 
sramesh2kCommented:
Hi Alex,

I don't think the information can be queried right away. One *may* be able to retrieve this information using API calls.

The KB states this:

"When you click on a Windows Installer shortcut, the Windows shell uses the data in the descriptor to call the MsiProvideComponent function."

The Product code is stored in the shortcut itself, and can be viewed when edited using Notepad.

The Product code GUID {90170409-6000-11D3-8CFE-0150048383C9} for Microsoft .FrontPage
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.