Install Shield 2009 - Create Shortcuts

Can i create shortcuts in Install Shield 2009 based on user input? A shortcut (on the desktop) will be created in essnes only if the user (who runs the installation) wants to do so

+1


source to share


3 answers


We have a screen that prompts the user to create shortcuts for the desktop and shortcuts.

The shortcuts are then displayed in separate components with the condition set to install only if the checkbox was checked.



You should also store this answer in the registry somewhere and read it during reconfiguration, update, repair, etc. Otherwise, if the checkboxes were enabled by default and this screen is not displayed to the user, the condition will evaluate to true (since the default property is true), and although the shortcut was not originally set, it will be generated during repair if the component state is re-evaluated.

+3


source


I am doing something similar to Sasha, but I am lazy .; -)

I create a component for every shortcut on my desktop (I hate software that assumes that it lets you reset shortcuts on my desktop); no file in component. Then I assign each of these components to their own function. I can then use the standard feature selection dialog boxes (which are built in automatically and used when the user selects a custom installation) to allow the user to select the features of the desktop shortcut.



I don't see many software installers offering to install additional shortcuts in the feature selection dialog, but this seems like a natural place to do it. More technical users can see this as a metaphor for confusion.

FWIW, I originally did this in an InstallScript / MSI project and I just did the same in a straight MSI project and this method works great in both.

+3


source


It's been a while since I used installshield, my company is currently using WISE as the installer; however, you must do what you ask.

In general settings, you should do the following:

  • Create a screen for your installer that provides the ability to create a shortcut, this screen should have a prompt text and a checkbox.
  • There must be a mechanism to store the checkbox response in the Installshield property.
  • At run time, use the answer to trigger the creation of the shortcut.

I am not aware of the capabilities of Installshield 2009 for whether it can be done without editing the script itself.

Hope this helps.

0


source







All Articles