キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

managing application updates

解決済み
解決策を見る

I have written an application that will be distributed to an unknown number of people throughout my company. I was wondering if any of you had experience or suggestions on how to push out application updates if needed.  Hopefully none will be, but...  

 

There were two options I was considering:

 

1) A "Launcher" application that checks a file for the most recent version and will do updates (basically what you see in most applications)

2) Keep only one executable on a shared network area and building an installer that will dump the runtime + a shortcut to the already built application.

 

Any thoughts / suggestions?

0 件の賞賛
メッセージ1/8
4,153件の閲覧回数

#1 is much more friendly to the users, and to the person who will update the application.

 

In #2, you'd probably have to make sure everyone had gotten out of the application before you could update it with a new copy of an .exe.  With #1, the people generally won't be using the .exe on the server and thus won't have it locked.  You'd be able to replace the file as needed.  They would get the new update the next time they restarted the application on their PC.

0 件の賞賛
メッセージ2/8
4,148件の閲覧回数

But... #2 is much easier for me 😛

 

I hadn't thought about trying to change the .exe while people had the application loaded though. That could cause more problems than it would be worth.  Any examples of launcher / updater that you know of? 

0 件の賞賛
メッセージ3/8
4,143件の閲覧回数

Never used it but Deploy has some kind of automatic update API.

 

https://wirebirdlabs.com/deploy/#features

0 件の賞賛
メッセージ4/8
4,138件の閲覧回数

http://sine.ni.com/nips/cds/view/p/lang/en/nid/211813 

 

There is an addon for that


"Should be" isn't "Is" -Jay
0 件の賞賛
メッセージ5/8
4,137件の閲覧回数

Ahh.  Too bad it is third party - I don't have access to that. I may end up having to just write my own simple version.

0 件の賞賛
メッセージ6/8
4,118件の閲覧回数
解決策
トピック作成者BowenMが受理

@BowenM wrote:

But... #2 is much easier for me 😛

 

I hadn't thought about trying to change the .exe while people had the application loaded though. That could cause more problems than it would be worth.  Any examples of launcher / updater that you know of? 



Nothing in LabVIEW.  But we have a homebuilt application that uses VB that does that.

 

The first program is the one that gets installed on each person's PC along with any needed run-time support files.  It loads a splash screen then checks to see if the version of the actual program's .exe on the person's PC is older than the one on the server.  If it is (or is missing), then it copies the .exe over.  If they are the same, it does nothing.  Then it launches the actual program .exe from the local PC and ends itself.  There might also be a special check to make sure it has access to the network server.  You'll need to make a policy decision as to what to do if it can't get to the server to do the file check.  Do you want to prevent the user from running the program, or will you allow them to run the copy on their PC even though there is a chance it might be out of date?

メッセージ7/8
4,117件の閲覧回数

@RavensFan wrote:
The first program is the one that gets installed on each person's PC along with any needed run-time support files.  It loads a splash screen then checks to see if the version of the actual program's .exe on the person's PC is older than the one on the server.  If it is (or is missing), then it copies the .exe over.  If they are the same, it does nothing.  Then it launches the actual program .exe from the local PC and ends itself.  There might also be a special check to make sure it has access to the network server.  You'll need to make a policy decision as to what to do if it can't get to the server to do the file check.  Do you want to prevent the user from running the program, or will you allow them to run the copy on their PC even though there is a chance it might be out of date?

I really like that solution. It will allow for automatic updates as well as letting people know what software and tools are available. I could also add a "feedback" button for simple bug reports and new feature requests.  Thank you.

0 件の賞賛
メッセージ8/8
4,099件の閲覧回数