c# - My program has been "published", how can I change the installation path? -
i "published" c# solution in visual studio 2008 c:\deploy. when run setup.exe program, installs program c:\documents , settings\kevin\start menu\programs\myprogram
is there way, within visual studio, set custom install path? instance, if wanted program install c:\program files\myprogram?
publishing uses clickonce deployment. clickonce has advantage it's easy install , update, , doesn't require user have administrator privileges install application.
if you'd more traditional next-next-next-next-finish installer, allows user specify target folder (and set/force default one), add "setup project" solution clicking file >> add >> new project..., in tree select other project types >> setup , deployment , double click setup project. when build setup project, create msi file (microsoft installer setup file) , bootstrapper exe file (in case user doesn't have microsoft installer or required .net framework, installs automatically).
Comments
Post a Comment