how do I customize a vb.net deployment project

R

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
 
C

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.
 
R

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
 
C

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.
 
R

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
 
R

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
 
R

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
 

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