By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

how do I customize a vb.net deployment project

P: n/a
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

Apr 5 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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.

Apr 6 '06 #2

P: n/a
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

Apr 7 '06 #3

P: n/a
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.

Apr 8 '06 #4

P: n/a
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

Apr 14 '06 #5

P: n/a
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

Apr 14 '06 #6

P: n/a
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

Apr 18 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.