Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 7th, 2007, 7:21 PM   #1
Jon
Newbie
 
Join Date: May 2006
Posts: 3
Rep Power: 0 Jon is on a distinguished road
Install/Unistall programs

Hi,

I've been trying to figure out how to get a program to install to a certain location. You know what I mean, You run the file on a disk and it installs to Program Files or where ever you might tell it to install. If anyone knows how to do this I would be extremly grateful if they would tell me how. I would also really appreciate if someone could tell me how to make a program be able to unistall it self as well.

Thanks for the help,

-Jon
Jon is offline   Reply With Quote
Old Feb 8th, 2007, 1:00 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Your question seems quite clear. Amazingly, when all is said and done, it isn't.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 8th, 2007, 4:26 AM   #3
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3 kruptof is on a distinguished road
do you want to know how to install a program(made by others) in an different path during the instalation stage, or you want make your program (made by you) install itself on a different path, rather than in program files path?

when you were installing the program did it give you the chance to browse to a different installation path, or didyou just press a button and the program installed itself without further interaction?

for the uninstalling part, after installing the program did you try uninstalling the program by following the usual procedure when uninstalling the program?
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old Feb 8th, 2007, 5:46 AM   #4
alphonso
Programmer
 
Join Date: Dec 2005
Location: Philippines, where the seasons are: hot, and hotter
Posts: 72
Rep Power: 3 alphonso is on a distinguished road
You do know that there's such a thing as an installation wizard, right? Also, you do know that there's an uninstall automatically created for you when you create the setup file of your program, right?

I don't know how you "install" programs not in Program Files, but I do know where you can store your folders; research on the BaseDirectory() method. That should be sufficient.
__________________
"The most incomprehensible idea about the universe is that it is comprehensible" - Albert Einstein
alphonso is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about c and calc programs dark_omen C 11 Sep 20th, 2006 3:33 PM
the best way to pass data between two programs nindoja C# 7 Dec 26th, 2005 11:54 PM
2 new programs HaCkeR C 30 Nov 29th, 2005 7:14 AM
how to get bash programming like flexibility in compiled programs? linuxpimp20 Other Programming Languages 3 Aug 31st, 2005 7:40 AM
Confidence in Developing Programs noliviawalton Community Introductions 20 Jul 14th, 2005 2:51 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC