Uninstall

K

K

Hi all, I am using Visual basic 2008 which is not in package and
insalled as single software on my pc. i have create an application
which is not built yet. i just want to know how can i create
uninstall function in visual basic 2008 that after building my
project
when any user install this application on their pc then he should see
two icons in startup menu. which will be application icon and the
other should be uninstall application icon. I have tried looking for
this sultion and all i am getting is create Unistall bat file. I
dont
know how to create it in Visual basic 2008. Please can any friend
can
help me on this
 
F

Family Tree Mike

Hi all, I am using Visual basic 2008 which is not in package and
insalled as single software on my pc. i have create an application
which is not built yet. i just want to know how can i create
uninstall function in visual basic 2008 that after building my
project
when any user install this application on their pc then he should see
two icons in startup menu. which will be application icon and the
other should be uninstall application icon. I have tried looking for
this sultion and all i am getting is create Unistall bat file. I
dont
know how to create it in Visual basic 2008. Please can any friend
can
help me on this

If you mean you have installed VB 2008 Express, then Setup and
Deployment project type (installer) is not available. You need to use
the purchased version of visual studio to create an installer/unistaller
package.

There are free installer package kits that others have used however. I
do not recall the names of those products though.
 
O

Onur Güzel

Hi all, I am using Visual basic 2008 which is not in package and
insalled as single software on my pc. i have create an application
which is not built yet. i just want to know how can i create
uninstall function in visual basic 2008 that after building my
project
when any user install this application on their pc then he should see
two icons in startup menu. which will be application icon and the
other should be uninstall application icon. I have tried looking for
this sultion and all i am getting is create Unistall bat file. I
dont
know how to create it in Visual basic 2008. Please can any friend
can
help me on this

If you have Express which has no template for "Setup and Deployment
Project", you can also consider deploying it with ClickOnce using
"Publish" tab of project properties. When you publish the application
to local file system, it can be uninstalled using Add/Remove programs
menu.

More info:
http://www.15seconds.com/issue/041229.htm
http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx

....another option can be using such tools like InnoSetup,
InstallShield (paid)...

HTH,

Onur Güzel
 
H

Herfried K. Wagner [MVP]

Am 12.06.2010 22:10, schrieb K:
when any user install this application on their pc then he should see
two icons in startup menu. which will be application icon and the
other should be uninstall application icon.

In addition to the other replies: Adding uninstall icons to the start
menu is really out of fashion.
 
H

Herfried K. Wagner [MVP]

Am 13.06.2010 08:29, schrieb Cor Ligthert[MVP]:
And not liked by system administrators.

(And then I state it nice)

Well, if the uninstall procedure requires administrator privileges, it
doesn't really matter because the user won't be able to remove the
program if he doesn't have the administrator's credentials ;-).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top