PDA

View Full Version : Conditional creation of shortcuts?



peterbi
07-16-2004, 11:33 AM
Hi,

I am playing around with shortcuts a bit recently, and feel that InstallShield probably should add a 'Condition' field to shortcuts properties, so the shortcuts can be conditionally created at install time. I know you can always do it via CA, but adding 'Condition' field in shotcut properties is a more straight forward and convenient way.

Maybe there is ways to set the condition that I don't know?

Thanks,
Peter

TsungH
07-16-2004, 12:00 PM
Developer is bound by Microsoft Windows Installer (MSI) design. Shortcut table does not provide a condition column. Hence, there is no condition tied to Shortcut view in Developer. Shortcut creation is tied to component, and component does allow conditional install.

For additional information, please refer to Shortcut table and Component table in Microsoft Platform SDK on Windows Installer (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_installer_start_page.asp).