deployment - How to deploy multiple applications together -


i have following:

  1. windows service wrote, used 2 following apps:
  2. client app.
  3. agent app.

both client , agent can't function without service. our current installation using clickonce (the service not yet deployed).

what want:

  1. 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.
  2. deploy logical packages - doesn't make sense deploy client, example, because can't run itself. doesn't make sense deploy service itself.
  3. maintain versions compatibility - how handle following scenario: installed agent+service version 1, installed client+service version 2.
  4. 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...

  1. can handled. 2 clickonce installs both containing service.
  2. this should work long can install service through own code.
  3. this more tricky. have define want happen. in complete control of code installs service, can decide , handle appropriately.
  4. 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

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -