DISABLEADVTSHORTCUTS Property

Windows Installer

DISABLEADVTSHORTCUTS Property

Setting the DISABLEADVTSHORTCUTS property disables the generation of shortcuts supporting installation-on-demand and advertisement. Setting this property specifies that these shortcuts should instead be replaced by regular shortcuts.

Default Value

By default, installation-on-demand shortcut generation is enabled.

Remarks

The shortcuts that support advertisement have the name of a feature, rather than a formatted file path of the form [#filekey], entered in the Target column of the Shortcut table. If this property is set and the feature is installed, the installer generates a regular shortcut to the feature.

This property is commonly used by administrators for users who roam between environments that do and do not support advertising. This property can be set by a transform, in the administrative stream, or in the Property table. If it is set using the command line or by a call to MsiSetProperty, then it must be reset again during each subsequent installation.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.