how do I customize a vb.net deployment project

  • Thread starter Thread starter raj
  • Start date Start date
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
 
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.
 
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
 
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.
 
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
 
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
 
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
 
Back
Top