Hi,
creating an MSI project with installshield 12. I know how to create a shortcut, I would like to know if there is an option to ask the user if to create the shortcut or not. if so, how can it be done.
thanks,
Dana
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

shortcuts
Started by
danalifs
, May 29 2007 10:23
5 replies to this topic
Posted 29 May 2007 - 17:28
Put the shortcut in a separate component, add this component to a separate feature. On the dialog that asks the user, add control events AddLocal and Remove to the "Next" button to select or unselect this feature, with a condition based on the user selection.
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 June 2007 - 13:14
Dear stefan,
thanks for your reply, I have another question regarding this. So far in installshield installations (non MSI) this screen was promt during post install. If I understand correctly they solution you are suggesting requires asking the user during pre-install, is that true? And if so, is there a way of doing it during post install?
thanks,
Dana
thanks for your reply, I have another question regarding this. So far in installshield installations (non MSI) this screen was promt during post install. If I understand correctly they solution you are suggesting requires asking the user during pre-install, is that true? And if so, is there a way of doing it during post install?
thanks,
Dana
Posted 10 June 2007 - 13:17
Dear stefan,
thanks for your reply, I have another question regarding this. So far in installshield installations (non MSI) this screen was promt during post install. If I understand correctly they solution you are suggesting requires asking the user during pre-install, is that true? And if so, is there a way of doing it during post install?
thanks,
Dana
Hi,
creating an MSI project with installshield 12. I know how to create a shortcut, I would like to know if there is an option to ask the user if to create the shortcut or not. if so, how can it be done.
thanks,
Dana
Stefan Krueger Posted: 2007-05-29 17:28
InstallSite.org
Group: Administrators
Posts: 9083
Member No.: 1
Joined: 2001-02-07
Put the shortcut in a separate component, add this component to a separate feature. On the dialog that asks the user, add control events AddLocal and Remove to the "Next" button to select or unselect this feature, with a condition based on the user selection.
--------------------
Stefan Krüger
Microsoft Windows Installer MVP
Read this before sending me e-mail or private messages
thanks for your reply, I have another question regarding this. So far in installshield installations (non MSI) this screen was promt during post install. If I understand correctly they solution you are suggesting requires asking the user during pre-install, is that true? And if so, is there a way of doing it during post install?
thanks,
Dana
Hi,
creating an MSI project with installshield 12. I know how to create a shortcut, I would like to know if there is an option to ask the user if to create the shortcut or not. if so, how can it be done.
thanks,
Dana
Stefan Krueger Posted: 2007-05-29 17:28
InstallSite.org
Group: Administrators
Posts: 9083
Member No.: 1
Joined: 2001-02-07
Put the shortcut in a separate component, add this component to a separate feature. On the dialog that asks the user, add control events AddLocal and Remove to the "Next" button to select or unselect this feature, with a condition based on the user selection.
--------------------
Stefan Krüger
Microsoft Windows Installer MVP
Read this before sending me e-mail or private messages
Posted 11 June 2007 - 03:29
You could create the shortcut during post-install by creating the shortcut with a custom action - however this is not recommended. Stefan's solution would generally require the setting to be specified pre-install though it should be possible to make it post-install with some major tweaking and running the setup again in maintainance mode. In summary: just specify this option pre-install. It makes sense and won't lead to any ugly workarounds.
Regards
-Stein Åsmul
-Stein Åsmul