Home All Groups Group Topic Archive Search About

how do I customize a vb.net deployment project

Author
5 Apr 2006 5:36 PM
raj
Hi every one
        I am working on a vb.net, windows application and i am not able
to figure out how to change the deployment project settings so that i
can change the installation and un-installation behavior. Mainly i want
uninstall the complete folder, which is copied while installation. Can
any one guide me how to do that or help me fine an article that
explains it?
             raj

Author
6 Apr 2006 1:55 AM
Cerebrus
Hi Raj,

Which folder do you want to uninstall ? Usually the Windows installer
keeps a log of all created files and removes all of them during
uninstallation.

Which version of the .NET Framework are you using ? Please give more
details.

Regards,

Cerebrus.
Author
7 Apr 2006 12:00 PM
raj
hi cerebrus
        I am talking about the folder that is created while
installation and that is not being deleted when the software is
uninstalled; even the icon in the programs folder is not being deleted.
What setting do I need to change to play with the uninstallation stuff?
i am using VS.NET 2003.
        All these problems as i am new to VB.net and i am debugging
some others program which is already partly function.
     raj
Author
8 Apr 2006 2:47 AM
Cerebrus
Hi,

In the Custom Actions Editor of the setup project, right-click on
Uninstall node, select Add Custom Action, enter in Application Folder
and select "Primary output from <Your Project> (Active)".

AFAIK, this should work.

Regards,

Cerebrus.
Author
14 Apr 2006 4:40 PM
raj
is there any chance to remove the uninstall option, i mean if the user
runs the exe file second time, he should only have the option to repair
but not remove. if this can be done, how do i do that.
       raj
Author
14 Apr 2006 4:52 PM
raj
by the way thanks a lot cerebrus for your help. i have an another
problem in the same project.
              how do i change the settings or how can i customize the
form in user interface editor of a deployment project. to be more
specific, you might have noticed the feature that asks if you want to
install the application for everyone or for yourself, i want to remove
that option. is it possible? if so how can i do that?
                        raj
Author
18 Apr 2006 12:47 PM
raj
Hi every one
             My problems in vb.net are growing day by day, I don't
know if I can solve them. The new problem I got is, I am not able to
display a FolderBrowserDialog used in the installation program. The
code looks OK to me and I saw it working once and now it does show up,
but as a blank form with two buttons in the bottom. I tried looking at
the code but I don't see anything there. Can any one please help me
out? Please......
              raj