Feature Specific Shortcuts

Got a problem you cannot solve? Try here.
Post Reply
Troy
Posts: 9
Joined: Thu Oct 18, 2007 12:30 am

Feature Specific Shortcuts

Post by Troy »

Hi,

I am currently evaluating InstallAware 7 as a possible replacement for Wise for Windows Installer, and was wondering, is it possible to have a short cut created only if a specific feature is selected during the install?

Troy.
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

Sure, This is accomplish with the Get Component State command, a condition, and the Create Shortcut command. Here is an example:

Code: Select all

Get Component New Project Selection State into Variable SELECTED
  if Variable SELECTED Equals TRUE
    Create Shortcut $SHORTCUTFILESALL$\\ to $TARGETDIR$Application.exe
  end
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Troy
Posts: 9
Joined: Thu Oct 18, 2007 12:30 am

Post by Troy »

Thanks, that works great.
Post Reply