Specifying Help Shortcut In CAB INF File

B

Bruce Vander Werf

The following entries from my INF file create the proper entries in
the Start Menu and in the Programs folder of the Start Menu, but the
shortcut in Windows\Help does not get created.

[Shortcuts]
Program Name,0,WA.exe,%CE11%
Program Name,0,WA.exe,%CE17%
Program Name,0,WA.htm,%CE2%\Help

Any ideas what might be going on?

--Bruce
 
R

Ray Fink

I've forgotten why (e.g. too lazy to go back and read up on it), but I
always use separate shortcut specifications when different directories are
involved. For example,

[DefaultInstall]
CopyFiles= ...the usual stuff...
CEShortcuts=Shortcuts,Shortcuts.Help

[Shortcuts]
%AppName%,0,WA.exe

[Shortcuts.Help]
%AppName%,0,WA.htm

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Shortcuts.Help=0,%CE2%\Help

hope this helps :)

-- Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top