Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   Install/Unistall programs (http://www.programmingforums.org/showthread.php?t=12530)

Jon Feb 7th, 2007 7:21 PM

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

DaWei Feb 8th, 2007 1:00 AM

Your question seems quite clear. Amazingly, when all is said and done, it isn't.

kruptof Feb 8th, 2007 4:26 AM

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?

alphonso Feb 8th, 2007 5:46 AM

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.


All times are GMT -5. The time now is 11:24 PM.

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