Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Advertised Shortcut Info

Updated: 02 Jun 2008 | 4 comments
piyushnasa's picture
0 0 Votes
Login to vote

When we launch advertised shortcut, it searches for all the key paths in the MSI to check if they all are properly installed on the machine. But have you ever wondered what is the difference between a normal and an advertised shortcut?

The difference is that the advertised shortcut contains the advertising info which helps it to search for the key path.

Advertising info for a shortcut is stored in CLSID\{Class ID}\inproc Server32, junk value in InProcServer32 contains the advertising info. It is not in the package, but it is created when the advertised shortcut is installed.

Comments

AngelD's picture
02
Jun
2008
0 Votes 0
Login to vote

RE: Advertised Shortcut Info

Advertising info for a shortcut is stored in CLSID\{Class ID}\inproc Server32, junk value in InProcServer32 contains the advertising info.

Sorry, but that's not true. The Darwin Descriptor for COM advertising (ActiveX/COM Component) is stored as the InProcServer32 registry value.

The advertised shortcut's TargetPath is a combination of the ProductCode & Darwin Descriptor + some tags. Open the shortcut using ex. notepad and you'll find the descriptor there.

A Darwin Descriptor is an encoded string and when decoded produces a combination of the ProductCode, Feature & ComponentId(s).
As the Darwin Descriptor is stored as a "REG_MULTI_SZ" entry it can contain more then one descriptor where other packages may have installed the same component.

You should be able to find Darwin Descriptors under the following locations (I'm sure I've missed some)

HKCR\CLSID\<CLSID>\InprocServer32
HKCR\Installer\Assemblies
HKCR\Installer\Components
HKCR\Installer\Win32Assemblies
HKCR\<ProgId>\shell\<MyCustomName; Open, Edit or whatever you want>\command
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\<SID>\Products\<Compressed ProductCode>\Features
<TargetPath of the Advertised Shortcut>

piyushnasa's picture
02
Jun
2008
1 Vote +1
Login to vote

Thanks for correcting..

Thanks for correcting.. Well that was the information what I had received from a senior person so I posted it. Really appreciate your inputs on this and for correcting me.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/

R-Vijay's picture
02
Jun
2008
0 Votes 0
Login to vote

Thankss..

Well Notified AngelD.
This was a worth information to share over here.

Microsoft MVP [Setup-Deploy]
Weblog: www.msigeek.com

Eshwar's picture
16
Oct
2008
3 Votes +3
Login to vote

How to check whether the shortcuts are advertised?

Start -> Program -> right click on particular shortcut -> select Properties;
If it shows any target files then it is Not advertised shotcut.
An advertised shortcut will not show any target file.

Thanks,
Eshwar