deployment - How to deploy multiple applications together -
i have following:
- windows service wrote, used 2 following apps:
- client app.
- agent app.
both client , agent can't function without service. our current installation using clickonce
(the service not yet deployed).
what want:
- 2 separate installations - client+service, agent+service. because have many machines perform tasks clients send them, , don't need client. also, not wants client wants make machine agent well.
- deploy logical packages - doesn't make sense deploy client, example, because can't run itself. doesn't make sense deploy service itself.
- maintain versions compatibility - how handle following scenario: installed agent+service version 1, installed client+service version 2.
- elevated privileges: possible install windows service on machine using account has elevated privileges, current privileges aren't elevated? can make silent installation?
clickonce
nice not mandatory. if there better solutions meet requirements, switch them, providing update still possible (force update option delay update).
i'll address clickonce approach. msi install might more appropriate, sounds though want sort of auto-updating. might easier force windows service install clickonce approach rather make msi install self-updating.
clickonce, @ core, simple. keeps files in user's profile folder in sync files on server. should work great client , agent apps. not windows service.
for service have clickonce deploy service bits. write code execute in client/agent install/update service.
i've found topshelf pure awesome when working services. lets write standard console app makes development easier. install can call console exe , pass --install
switch. think have code execute whenever client/agent starts , copy files, install/update/start/stop service, , whatever else necessary make service work.
now numbered list...
- can handled. 2 clickonce installs both containing service.
- this should work long can install service through own code.
- this more tricky. have define want happen. in complete control of code installs service, can decide , handle appropriately.
- i'm guessing you'll need elevated privileges windows service installed. means prompt clickonce. way around sign deployments import certificate on client's machine. not worth avoid 1 prompt, imho.
Comments
Post a Comment