Home All Groups Group Topic Archive Search About
Author
12 Jun 2010 8:10 PM
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

Author
12 Jun 2010 8:47 PM
Family Tree Mike
On 6/12/2010 4:10 PM, K wrote:
Show quoteHide quote
> 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.

--
Mike
Author
12 Jun 2010 9:31 PM
Onur_Güzel
On Jun 12, 11:10 pm, K <kamranr1***@yahoo.co.uk> wrote:
> 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
Author
12 Jun 2010 11:50 PM
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.

--
  M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
13 Jun 2010 6:29 AM
Cor Ligthert[MVP]
And not liked by system administrators.

(And then I state it nice)

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:hv16g6$sv8$2@news.albasani.net...
> 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.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
Author
13 Jun 2010 1:02 PM
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 ;-).

--
  M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>