Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I use a URL as Target in Start Menu Shortcut?

220 views
Skip to first unread message

Happy Dave

unread,
Apr 4, 2007, 10:07:23 AM4/4/07
to
I am new to Installshield, and have a problem in InstallShield12 -

The helpfile (which used to be a chm file installed on to the target
machine) is now a web page.

I want to use the same Start Menu shortcut, but when I entered the
URL of the web help page eg 'http://etcetc/blah/helppage.htm' as the
target property of the shortcut - I get a message which tells me that
characters such as / \ - and so on are not allowed, and if I want to
hardwire the target I should use the full path.

Help!

All hints and tips welcome!

RUS

unread,
Apr 5, 2007, 3:35:58 PM4/5/07
to
Hi Dave,

The Internet shortcuts (.url files) use different format than regular
(.lnk) shortcuts.
You can create both with InstallShield either from a wizard or with
InstallScript.

Regular shortcuts are binary files. The following IS function could be
used to create a regular shortcut - AddFolderIcon().

Internet shortcuts are plain text files in the INI format that you can
create with Notepad and then add to your project. Or you can use INI
script functions [ex. WriteProfString(), AddProfString(), etc.] to
create Internet links.

The minimal information required to create a web shortcut is the URL.
So, for example the following file will create a shortcut to a web
site http://www.cardOphone.com. The regular HTML icon (depending on
the default browser on the system, ex IE, Firefox, Opera) will be used
to represent a web link.

***begin file Cardophone.url***
[InternetShortcut]
URL=http://www.cardOphone.com/
***end file Cardophone.url***

Do not include lines starting with *** in the shortcut, use only the
two lines in between.
Refer to http://www.cyanwerks.com/file-format-url.html for information
on Internet shortcut format.

Regards,
RUS

0 new messages