This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Create shortcut dynamically by user's preference
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
08:07 PM
Create shortcut dynamically by user's preference
I'm attempting to create a desktop shortcut to my exe only if a user checks a checkbox I've placed in my SetupCompleteSuccess dialog.
I can't seem to figure how this is done. Is this even possible? Should I instead use a AskText function?
It would be nice if there were a condition option in a shortcut's properties.
Thanks in advance!
I can't seem to figure how this is done. Is this even possible? Should I instead use a AskText function?
It would be nice if there were a condition option in a shortcut's properties.
Thanks in advance!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
08:16 PM
Also, how do i ensure that a checkbox will start unchecked?
I currently have the Value property set to 0, but it's always checked when testing.
I currently have the Value property set to 0, but it's always checked when testing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
08:34 PM
When a checkbox is unchecked the property is not defined, or empty.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
11:17 AM
OK, that doesn't seem to answer any of my questions.
How do a dynamically create a shortcut, which depends on user input?
How do a dynamically create a shortcut, which depends on user input?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
12:26 PM
It answers the second question "how do i ensure that a checkbox will start unchecked?". To leave a checkbox unchecked set the property to nothing. Setting it to any value will place a check in the checkbox.
To conditionally install a shortcut, attach it to a component that has an install condition based on the checkbox property. However, for this to work the user would have to check the checkbox prior to the file transfer.
To conditionally install a shortcut, attach it to a component that has an install condition based on the checkbox property. However, for this to work the user would have to check the checkbox prior to the file transfer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
05:26 PM
Thanks, that got it working.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 02, 2009
12:21 AM
Hi,
Is there any method/way in InstallShield to allow the end user to select the option where the shortcuts should display, either at desktop, in quick Launch etc. while the installation is going on ?
Thanks in advance.
Regards,
Is there any method/way in InstallShield to allow the end user to select the option where the shortcuts should display, either at desktop, in quick Launch etc. while the installation is going on ?
Thanks in advance.
Regards,