Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,262 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,494 people online right now. Registration is fast and FREE... Join Now!




Adding a shortcut to "All Programs" with program

 
Reply to this topicStart new topic

Adding a shortcut to "All Programs" with program, Uhh... Where does my program need to put it?

WolfCoder
15 Dec, 2006 - 08:18 AM
Post #1

ギュウ~
Group Icon

Joined: 5 May, 2005
Posts: 3,618



Thanked: 8 times
Dream Kudos: 1450
My Contributions
I want to write my own specific, specialized, and customized installer/uninstaller program in C++. I already know how to have the program unpack itself into a directory and put a shortcut on the desktop, but I don't know where the "All Programs" shortcuts are located. I don't care if my program can register in the Add/Remove Programs list (because I'm putting an uninstaller shortcut next to the others).

Does anyone know where the All Programs shortcuts are stored?
User is offlineProfile CardPM
+Quote Post

realNoName
RE: Adding A Shortcut To "All Programs" With Program
15 Dec, 2006 - 08:37 AM
Post #2

D.I.C Regular
***

Joined: 4 Dec, 2006
Posts: 300



Thanked: 5 times
My Contributions
for XP
C:\Documents and Settings\All Users\Start Menu\Programs

This post has been edited by realNoName: 15 Dec, 2006 - 08:38 AM
User is online!Profile CardPM
+Quote Post

jstephens
RE: Adding A Shortcut To "All Programs" With Program
15 Dec, 2006 - 02:01 PM
Post #3

D.I.C Head
**

Joined: 7 Nov, 2005
Posts: 191



Thanked: 1 times
My Contributions
A nice feature you might want to add is to give the user a choice. Like install this for everyone or current user only. If they chose current user then the all progams looks at

C:\Documents and settings\%username%\Start Menu\Programs.

Other wise it goes to where realNoName pointed out.
User is offlineProfile CardPM
+Quote Post

cipherence
RE: Adding A Shortcut To "All Programs" With Program
15 Dec, 2006 - 04:36 PM
Post #4

D.I.C Regular
Group Icon

Joined: 1 Apr, 2006
Posts: 260



Thanked: 1 times
Dream Kudos: 650
My Contributions
but if your users install on win 95 or 98 your gonna wanna check th os version within the program. that way you'll be able to install it to C:\Documents and Settings\All Users\Start Menu\Programs like realNoName said if it's XP, but if it's win 98 or 95 or 200o, i think it's just C:\windows\start menu\programs\ then from there you would make a a folder labeled with the name of the game.

This post has been edited by cipherence: 15 Dec, 2006 - 04:36 PM
User is offlineProfile CardPM
+Quote Post

jstephens
RE: Adding A Shortcut To "All Programs" With Program
15 Dec, 2006 - 04:48 PM
Post #5

D.I.C Head
**

Joined: 7 Nov, 2005
Posts: 191



Thanked: 1 times
My Contributions
Thats a good point. I think that's why you only get the option to choose who will see the program when installing it on a XP machine.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 07:15PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month