Checkable shortcuts to Desktop, Quick Launch and Start menu

Got a problem you cannot solve? Try here.
Post Reply
Max
Posts: 1
Joined: Wed Aug 15, 2007 9:02 pm

Checkable shortcuts to Desktop, Quick Launch and Start menu

Post by Max »

Hi,

I'd like to know if there is a way to give the user the possibility to set a check box to create the following shortcuts to an installed executable: Desktop, Quick Launch and Start menu.
I'm new to the program so i don't know how to do a lot of stuff yet, so I'm hoping someone could help me.

Regards,
Max

P.S.
I added a picture of what I'd like the dialog to look like.

File Attached:

ScreenShot001.bmp
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Please read the MSDN Magazine article, accessible from our home page. It contains a step-by-step guide on how to do this.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
H4nd0
Posts: 92
Joined: Thu Nov 09, 2006 8:16 am
Location: Sydney, AU
Contact:

Post by H4nd0 »

Yes - you can do this. Check out our IA installers via the signature link below.

You will need to create your own dialog with the various checkboxes and then hand back the checked/unchecked status to the MSIcode.

Inside the MSIcode you can then conditionally create the shortcuts. For example (in MSIcode):

Get Folder Location System->Desktop Directory into DESKTOPDIR
if Variable CREATEDESKTOPICON Equals TRUE
Create Shortcut $DESKTOPDIR$\\Link to $TARGETDIR$\\your.exe
end
FireDaemon Technologies Limited
http://www.firedaemon.com
Post Reply