PDA

View Full Version : How to make desktop icon



NewsArchive
05-12-2008, 11:48 AM
Ok...I know this is simple.

How can I ask the user if they want a shortcut icon on their desktop....and
then make one?

Got to me a simple checkbox somewhere!

Thank you,

Mike

NewsArchive
05-12-2008, 11:48 AM
Duh..

Posted and started looking again and found it in the shortcut tree.

Don't see a checkbox to ask the users permission though ??

Mike

NewsArchive
05-12-2008, 11:49 AM
> Don't see a checkbox to ask the users permission though ??
>
> Mike

See the discussion with subject 'No Desktop Icon and My Customers' in this
forum (18 Apr 2008)

--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp

NewsArchive
05-12-2008, 11:49 AM
Thank you Chris,

That (long) thread did not have the information I needed. Can you tell me
how to make desktop creation optional from what you read?

Michael

NewsArchive
05-12-2008, 11:50 AM
Mike,

> That (long) thread did not have the information I needed. Can you tell me
> how to make desktop creation optional from what you read?

See "Additional Tasks.sb6" in the Examples package ;-)

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-12-2008, 11:50 AM
Thank you.

Suggest you add the ability to automatically display the selection to the
user by adding a checkbook on the desktop shortcut dialog.

Mike

NewsArchive
05-12-2008, 11:51 AM
Mike,

> Suggest you add the ability to automatically display the selection to the
> user by adding a checkbook on the desktop shortcut dialog.

I fear this would be an overkill for a "visual environment" because the list
of possible options are endless. Add Desktop Shortcut, Add Start Menu
Shortcut, Add to Quick Launch (but not under Vista/2008?), Add File
Associations, Run Program (but not under Vista/2008?), Restart Computer,
etc.

With only two lines in the script (If + End) you can do whatever you have to
do.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-12-2008, 11:51 AM
> Thank you Chris,
>
> That (long) thread did not have the information I needed. Can you tell me
> how to make desktop creation optional from what you read?
>

I see Friedrich has alrready replied but for the record one of Friedrich's
replies in that long thread said:

<quote>
For the record:

Let us assume you are using %ADDITIONAL_TASK% to store the checkbox result.
Checkbox responses are stored as a bitfield, which represents the states of
all displayed checkboxes. For example: 101

Create a Desktop Shortcut [X] (ckecked = 1)
Associate SetupBuilder with .sb5 files [ ] (unchecked = 0)
Associate SetupBuilder with .sb6 files [X] (ckecked = 1)

To install a Desktop shortcut only if the "Create a Desktop Shortcut"
checkbox is marked, add the following If... Statement:

If %ADDITIONAL_TASK% Equals "1" on Position "1" Then
! Add Desktop Shortcut here
End

</quote>

--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp