Click here to Skip to main content
15,914,410 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have just finished developing a windows application in c++. I have chosen to write my own installer program. I am now in need of a c/c++ routine with wish I can create short cut from the desk top , the start bar and the programs menu to my application executable's location. Could any one funish me with or tell me where to get such routine.
Posted

you're on a path to pain there my friend ...

I'd suggest you use the MSI mechanics to do this, it solves all of these problems, and hides OS issues

There are a number of products out there that create MSIs - Installshield, InnoSetup and others ... MS even supply ORCA and a number of tools to facilitate creation/editing, if you're using Visual Studio, you can create a Setup project which will do a lot of the work

MSI's aren't complicated, they're just esoteric

If you're adamant you want to do this yourself, take a look at http://msdn.microsoft.com/en-us/library/bb776891(v=vs.85).aspx[^]
 
Share this answer
 
Comments
Olivier Levrey 5-May-11 7:41am    
I agree, writing your own installer could be painful.
And the link is good as well.
Have a 5 barneyman.
There is a sample in Introduction to COM - What It Is and How to Use It.[^] which will get you started; see the section on changing the wallpaper.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900