Author Topic: Any .NET developers here ? Perhaps youll know ?  (Read 1058 times)

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Any .NET developers here ? Perhaps youll know ?
on: February 26, 2010, 22:27:44 PM
Im attempting to put together a "we must migrate from VB6 to .NET" paper for work. The single biggest stumbling block I have hit upon is how we will manage our application deployment. This is where I am hoping someone here will be able to help.

At present we have a hand crafted deployment system that works a little like Windows Update.
We compile our compile and deploy them, along with an installation script to a central server.
Each machine has a hand crafted update checker tool that monitors for new versions and installs as appropriate.

Basically the Update tool reads the Install Script and uses that to copy, register, delete whatever as needed.
The updater is also intelligent in that the script contains different deployment configurations based on the job a computer does.

Ok, so I need to know if:
a) Do .NET applications require assembly registration in the same way that COMponents do ?
b) I could deploy .NET applications in the same "custom script" way ?, and
c) how easy is it (I cannot find any information on google :s)
 

Any help would be great :)

Any .NET developers here ? Perhaps youll know ?
Reply #1 on: February 26, 2010, 22:46:33 PM
I dont have a clear picture in my head of how your current deployment solution works but you might want to check out Microsoft ClickOnce and see if thatll do what you need.

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Any .NET developers here ? Perhaps youll know ?
Reply #2 on: February 26, 2010, 23:42:38 PM
Unfortunately Click Once isnt the ticket :/

Ok (its sort of like ADS for applications I believe)...
Our system comprises of:

~35 middleware components (.exe / .dll / .ocx)
~50 client applications (.exe)

~ 15 PCs per site
23 sites.

Our deployment strategy (at the moment) is:

Client machine runs an updater application that monitors a directory for an updated Install.cfg file
The updater application has all of the logic required to parse the Install.cfg, copy and register the components as detailed (and needed) for that machine.

So we deploy the latest components and (if needed) Install.cfg to a directory on the LAN that is monitored by the updater application that is running on each of the client machines.

When the updater detects an update, it prompts the user. Then copies and updates the machine.


So what I need to know is whether it is possible to replicate that behaviour for .NET applications :)

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Any .NET developers here ? Perhaps youll know ?
Reply #3 on: February 27, 2010, 01:00:57 AM
Ha, figures. A couple more hours of searching and I have the answer :D

!! YES !!

http://msdn.microsoft.com/en-us/library/wtk4bdsx(VS.71).aspx


That should mean that we just need to write a new updater tool that can handle both COM and .NET :D

  • Offline shofty

  • Posts: 847
  • Hero Member
Re:Any .NET developers here ? Perhaps youll know ?
Reply #4 on: March 01, 2010, 10:03:18 AM
why dont you just compile to an exe and use AD to deploy the packages.

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Any .NET developers here ? Perhaps youll know ?
Reply #5 on: March 01, 2010, 10:40:07 AM
Cost.

  • Offline shofty

  • Posts: 847
  • Hero Member
Re:Any .NET developers here ? Perhaps youll know ?
Reply #6 on: March 01, 2010, 13:19:38 PM
where? youve got visual studio and i assume an AD?

even if you havent small business server is cheap and brings a plethora of benefits.

Matt

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Any .NET developers here ? Perhaps youll know ?
Reply #7 on: March 01, 2010, 13:35:16 PM
No AD, its all Workgroup based.
The cost of putting AD in place and administrating it across 23 sites would be huge (for the company). The sites are not linked via a VPN; they operate as independent entities and again the cost of linking them up out weighs the benefits.

Dont get me wrong. Id love the entire company to be on a mass VPN with AD running but I cannot justify it for their business model.

0 Members and 1 Guest are viewing this topic.