View Full Version : Create shortcut to folder
NewsArchive
09-01-2007, 04:18 AM
Hi,
I need to make a shortcut on the desktop to CSIDL_COMMON_DOCUMENTS\Myprogram
so the user can open that folder in Explorer.
Is that possible ?
Cheers,
/Poul
NewsArchive
09-01-2007, 04:19 AM
Yes
Jane Fleming
NewsArchive
09-01-2007, 04:20 AM
Hi Jane,
I know I shouldn't have asked since Setupbuilder does almost everything
(apart from making the coffee) ;-)
Any hint how ?
/Poul
NewsArchive
09-01-2007, 04:23 AM
Might try something like this
Jane Fleming
NewsArchive
09-01-2007, 04:24 AM
BTW... the pick list won't let you pick a folder.
So either put a file in the folder, pick that, and then edit the parameter,
or else just type the Target yourself:
%_CSIDL_COMMON_DOCUMENTS%\PoulsProgram
Jane Fleming
NewsArchive
09-01-2007, 04:25 AM
You are the star.
Thanks a lot.
/Poul
NewsArchive
09-01-2007, 04:25 AM
Hi Jane,
> Might try something like this
Well, I am really impressed by you. Inspired, too. I read your answer and
thought by myself: "Hmm, is this really possible? Can SetupBuilder do
this"? Then your solution. You were completely right. SetupBuilder can do
it :)
Do you need a job <g>
Friedrich
NewsArchive
09-01-2007, 04:26 AM
Aw, c'mon, Friedrich.
Wasn't it you who recently posted: "A shortcut is a file. And a file is a
file"...??
And a folder is also a "file" ;)
And sure, I need a job. I'd love to work for you.
Afraid the commute would be a bitch, though... very few direct flights from
San Luis Obispo to Frankfurt....
Jane
NewsArchive
09-01-2007, 04:26 AM
> Aw, c'mon, Friedrich.
> Wasn't it you who recently posted: "A shortcut is a file. And a file is
> a file"...??
> And a folder is also a "file" ;)
<G> You are so right :)
> And sure, I need a job. I'd love to work for you.
> Afraid the commute would be a bitch, though... very few direct flights
> from San Luis Obispo to Frankfurt....
San Luis Obispo to Dusseldorf would be better <g>
Friedrich
NewsArchive
09-01-2007, 04:27 AM
Silly of me!
Of course it would. :)
Jane
NewsArchive
09-01-2007, 04:28 AM
She'd be quite an asset
Jeff Slarve
NewsArchive
09-01-2007, 04:29 AM
Pronounced the way Limbaugh pronounces "reporterette" ?? <g>
Jane Fleming
NewsArchive
09-01-2007, 04:30 AM
Poul,
> I know I shouldn't have asked since Setupbuilder does almost everything
> (apart from making the coffee) ;-)
>
> Any hint how ?
What Jane suggested (I am impressed <g>). See attached demo script ;-)
The installer will create PoulsProgram under CSIDL_COMMON_DOCUMENTS. Then
it creates a Shortcut on the Desktop that points to PoulsProgram.
BTW, to uninstall, please go to c:\sb65test and run Uninst_ShortcutToFolder
Demo.exe
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
09-01-2007, 04:30 AM
Hi Friedrich,
Yes - with the assiastance from Jane and you everything is just as I wanted
it.
Now I just need to figure out how to set compiler-constants from an INI-file
at compile time and thereby set the
CSIDL_COMMON_DOCUMENTS\PoulsProgram\ClientID to a value (ClientID) read from
an INI-file.
I also would like to set a number of other settings in the project this way.
Well thats for the next project.
Cheers
/Poul
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.