InstallShield und AdminStudio Schulungen Original-Kurse mit Zertifikat Hier klicken


InstallSite MSI FAQ Home Introduction Preparing Creating How To Runtime Issues Error Reference Deutsch MSI FAQ in Deutsch

How do I create an Internet (URL) Shortcut?

Internet shortcuts are different from regular shortcuts that point to a program or document. They are text files with a .url extension and content in INI file format. The content of such a .url could look like this:

[InternetShortcut]
URL=http://www.installsite.org/

One way to install such a shortcut is to create the .url file on your development computer and add it to a component. You can install this component to [ProgramMenuFolder] or a subfolder thereof to place the Internet shortcut in the Start menu.

If you need to create the .url file on the fly (e.g. in order to add the product serial number to the URL) you can use the IniFile table (or the INI File View in your authoring tool). You should create the following row in the IniFile table (row split into two lines to improve readability):

IniFile

FileName

DirProperty

Section

InstallSiteUrl

INSTAL~1.URL|InstallSite.url

ProgramMenuFolder

InternetShortcut

Key

Value

Action

_Component

URL

http://www.installsite.org/

0

YourComponentName

You can choose the value for the IniFile column, but it must be a unique identifier (no blanks or special characters). The value in the FileName column will be displayed in the Start menu (minus the .url extension), in this case "InstallSite". A short name equivalent is required. The DirProperty can be a cross reference to the Directory table or any property the resolves to a full path of a folder. The Action value of 0 will create the entry and overwrite any existing value. Replace YourComponent with the name of one of the componets in your setup. The .url file will be created only if that component is being installed. It also controals removal of the file.



English News Discussions Windows Installer Virtualization Related Tools More Help InstallScript About InstallSite Shop Site Search
deutsch Neuigkeiten Diskussionsgruppen Windows Installer   MSI FAQ Artikel     Shop Suche

Copyright © 1997-2014 by InstallSite Stefan Krueger. All rights reserved. Legal information.
GERMAN Impressum,Datenschutzerklärung, Haftungsausschluss
By using this site you agree to the license agreement. Webmaster contact.