c# - Installer/uninstalling tool -



c# - Installer/uninstalling tool -

at work have uninstall version of company's software before installing version different server. process seems bit of timewasting. question : possible write little tool in c# (visual studio) select desired server (url download setup file), , tool work uninstalling previous version, deletes folder in regedit , installs new version?

what kind of methods can utilize create happen?

i'm still rookie @ programming, project gain me useful experience can utilize in real life working situation ;-)

hope help me out few guidelines here :)

as eddie_cat said, install bundle can configured or scripted things uninstalling old software , cleaning registry files. more detail on how that, we'd need know nature of software; .net program, , install technology using (vs install project, installshield, wix, etc).

if programme installing , uninstalling .net program, set clickonce deployment. application deployed within bootstrapper check updates software on each app startup, based on server url configured deployment bundle (which can different download url). if finds one, alert user, has alternative install or skip update. downloading , installation handled automatically.

downsides have digitally sign application assemblies , clickonce manifest clickonce can verify upgrade , replace older version instead of creating brand new installation, clickonce installs user-specific app directory, not "all users" programme files directory, , cannot have user-customizable install settings installing various components or "sidechaining" additional bundle installs (besides prerequisites).

c# windows installation uninstall

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -