Questa pagina è stata utile?
I suggerimenti relativi al contenuto di questa pagina sono importanti. Comunicaceli.
Altri suggerimenti?
1500 caratteri rimanenti
Esporta (0) Stampa
Espandi tutto
EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

Platform Support of Advertisement

The Windows Installer supports advertisement of applications and features.

The following advertisement capabilities are available on Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000.

  • Shortcuts and their icons.

  • Extensions and their icons specified in the ProgId Table.

  • Shell and command Verbs registered underneath the ProgId key.

  • CLSID contexts and InProcHandler.

  • Install-On-Demand through OLE is only available programmatically through CoCreateInstance (C/C++), and CreateObject Function (Visual Basic) or GetObject Function (Visual Basic).

Note  AppId and Typelib information is only written when an advertised component is installed.

To support file name extensions, the application must be published to Active Directory by an administrator using Group Policy.

Remarks

The installation of the product may not require a restart, but any advertised shortcuts do not work until the machine is restarted. The advertised shortcuts of subsequent installations work without a restart.

To ensure that advertised shortcuts work correctly, the package author should schedule a forced restart at the end of the installation.

To avoid unnecessary restarts of the system, schedule a restart to run only if no version of the Windows Installer is installed.

Conditional statements can check the ShellAdvtSupport property and Version9X property. For more information about scheduling a conditional forced restarts, see System Reboots and Using Properties in Conditional Statements.

 

 

Aggiunte alla community

AGGIUNGI
Microsoft sta conducendo un sondaggio in linea per comprendere l'opinione degli utenti in merito al sito Web di MSDN. Se si sceglie di partecipare, quando si lascia il sito Web di MSDN verrà visualizzato il sondaggio in linea.

Si desidera partecipare?
Mostra:
© 2015 Microsoft