PDA

View Full Version : Ask Before Installing Shortcut on Desk Top



NewsArchive
07-05-2007, 01:47 PM
So how do you ask? <G>

I really tried to figure it out myself. ;-(

Lynn Howard
www.linkedsoftware.com

NewsArchive
07-05-2007, 01:48 PM
Here are two possibilities:

A Using Custom Install dialog
1. Under "Features", create a new feature called Desktop Icon. Make the
description something appropriate.
2. Under "Shortcuts", create a new desktop shortcut to your app. On the
Conditions tab, use the drop box under "Feature" to select the Desktop Icon
feature you just created.
3. To your list of wizard dialog definitions, add a "Custom Install" dialog

B. Using your own variable
1. Under "Shortcuts", create a shortcut as above.
2. Create a variable.
3. To your list of wizard dialog definitions, add a Check Boxes dialog.
For "Checkbox Text", put "Install a desktop shortcut?". Store selection
results in your variable.
4. Scroll down the script and find where the desktop icon is created and
installed. Manually wrap that with an If/Then statement (screen shot
attached).

That's what's so neat about SB... So much flexibility...

Jane

NewsArchive
07-05-2007, 01:50 PM
Sorry, I don't agree at all.
Virtually ALL other installers have "run now" and "desktop icon" as checkbox
items.
SB is better than all competition in general and should be no exception in
such cases.
That IMHO this is certainly NOT flexibilty at all.
Those are definite workarounds.

Sim

NewsArchive
07-05-2007, 01:50 PM
Thanks Jane and Sim,

I appreciate Jane's answer but I have to agree with Sim: IMO it should be as
easy as checking a box.

Lynn

NewsArchive
07-05-2007, 01:51 PM
Lynn,

I *completely* disagree with Sim and (sorry <g>) disagree with you ;-)

Please see the "Additional Tasks.sb6" demo script. It's so easy with SB65
to display the "Add Desktop Shortcut", "Launch Program", "Associate
Extension", etc.

How to handle all this (in a multiple-language and OS environment, multiple
different task options) with only checking a box. IMPOSSIBLE!!!!

Only two lines of additional code and you are done ;-)

Friedrich

NewsArchive
07-05-2007, 01:52 PM
Hi Jane,

Perfect answer. Thank you!!

Friedrich

NewsArchive
07-06-2007, 02:38 AM
I stand firmly corrected! <G>

Lynn

NewsArchive
07-06-2007, 02:38 AM
Oh, er, um, ah, please accept sincerest apologies, Friedrich.
I had no idea that was there! Bitte vergeben Sie mich.

Sim

NewsArchive
07-06-2007, 02:39 AM
Hi Jane,

Perfect answer. Thank you!!

Friedrich