473,508 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exe files on several computers

Hello!

We have an exe file that is used by several persons. This exe file is
located on their local computer and is called reports.exe. If a new version
is created and the person that is using this exe file is not here so we
can't put in the new version.

Is the best solution to this problem just to have the newest version of
report.exe on a file server. The user start a another exe file that check
the version on the file server report.exe with the local exe file report.exe
and if the file version of report.exe is newer than update(copy) the
report.exe from file server to the local computer.

Is there a better solution?

//Tony
Feb 1 '07 #1
7 1335
Publish the project via ClickOnce onto a central server; then run each
client from that location (link to the .application file). When
executed using the standard "check before run" setup, it basically
says:
* has the user accepted this software? (the "click once")
* do they have it locally? (if not, copy from server)
* is it up to date? (if not, copy from server)
* execute local copy

This allows you to update the central server at any time, and all
users will get the new version automatically when they next run the
app. Sweet.

Marc
Feb 1 '07 #2
Hello!

We have only VS 2003. Is it possible to use ClickOnce in that version or do
I have to use my own way.

//Tony
"Marc Gravell" <ma**********@gmail.comskrev i meddelandet
news:ub**************@TK2MSFTNGP02.phx.gbl...
Publish the project via ClickOnce onto a central server; then run each
client from that location (link to the .application file). When
executed using the standard "check before run" setup, it basically
says:
* has the user accepted this software? (the "click once")
* do they have it locally? (if not, copy from server)
* is it up to date? (if not, copy from server)
* execute local copy

This allows you to update the central server at any time, and all
users will get the new version automatically when they next run the
app. Sweet.

Marc


Feb 1 '07 #3
Well, there is the update application block - but that can be a pain.
Personally I'd just upgrade to 2.0; for ref, you don't need VS 2005 -
see http://tinyurl.com/yrfb5l for MageUI approach if you only have
Express Edition (I *believe* this only uses SDK tools).

For exes, the upgrade to 2.0 is quite painless. Web projects saw most
of the breaking changes.

Marc
Feb 1 '07 #4
Hello!

From where can I get .NET 2.0?
Is this feature ClickOnce also possible to use for windows forms?

//Tony

"Marc Gravell" <ma**********@gmail.comskrev i meddelandet
news:ul**************@TK2MSFTNGP02.phx.gbl...
Well, there is the update application block - but that can be a pain.
Personally I'd just upgrade to 2.0; for ref, you don't need VS 2005 -
see http://tinyurl.com/yrfb5l for MageUI approach if you only have
Express Edition (I *believe* this only uses SDK tools).

For exes, the upgrade to 2.0 is quite painless. Web projects saw most
of the breaking changes.

Marc


Feb 1 '07 #5
Frameworks 2.0 and 3.0 (actually just additional dlls that run in the
2.x engine) are availble from MS

ClickOnce is primarily designed for windows forms

Marc
Feb 1 '07 #6
Hi,

"TonyJ" <jo*****************@telia.comwrote in message
news:OP**************@TK2MSFTNGP02.phx.gbl...
| Hello!

|
| Is the best solution to this problem just to have the newest version of
| report.exe on a file server. The user start a another exe file that check
| the version on the file server report.exe with the local exe file
report.exe
| and if the file version of report.exe is newer than update(copy) the
| report.exe from file server to the local computer.

Well, if you move the app to a network location from where everybody will
run it all you have todo is upgrade it and automatically all the users will
have the updated version :)
--
Ignacio Machin
machin AT laceupsolutions com
Feb 1 '07 #7
Why don't you transform this report into a web service? Then your client
application would access it always with the most up-to-date version.

--
Regards,
Robson Siqueira
Enterprise Architect
"TonyJ" <jo*****************@telia.comwrote in message
news:OP**************@TK2MSFTNGP02.phx.gbl...
Hello!

We have an exe file that is used by several persons. This exe file is
located on their local computer and is called reports.exe. If a new
version
is created and the person that is using this exe file is not here so we
can't put in the new version.

Is the best solution to this problem just to have the newest version of
report.exe on a file server. The user start a another exe file that check
the version on the file server report.exe with the local exe file
report.exe
and if the file version of report.exe is newer than update(copy) the
report.exe from file server to the local computer.

Is there a better solution?

//Tony


Feb 1 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
4883
by: Eric | last post by:
Assume that disk space is not an issue (the files will be small < 5k in general for the purpose of storing preferences) Assume that transportation to another OS may never occur. Are there...
18
3142
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
3
2084
by: RD | last post by:
Computer A is doing an automated retrieval job running 24-7 (using a VB.Net Windows form application). If something goes wrong in the process we want to trap the error (no problem with that) and...
10
3625
by: joelagnel | last post by:
hi friends, i've been having this confusion for about a year, i want to know the exact difference between text and binary files. using the fwrite function in c, i wrote 2 bytes of integers in...
5
2268
by: Pilence | last post by:
Hy!! Can someone tell me please how to do this type of work done by using C#......
9
3524
by: rlntemp-gng | last post by:
I have an application where App1.mdb calls App2.mdb when a button is clicked on a form. App1 has three values of interest: 1. gblPgmPath 2. frmMain1.txtSubTotalVariance 3....
4
2079
kiseitai2
by: kiseitai2 | last post by:
Hi everyone. I'm having a litle trouble lately with my applications. The main problem right now is that my applications can find the files on the path given by me, however, after publishing and...
0
1503
by: FragSteven | last post by:
Hello I wanted to know if it is possible to extract the GUID from DLL or OCX files in C#? I have searched the web dry and haven’t been able to find a solution. I have to make an application that...
4
1626
Chrisjc
by: Chrisjc | last post by:
Good evening, I was wondering if anyone knew of a way or something to help me out with an issue I been dealing with lately, I have several sites in an Active Directory environment across a WAN....
0
7135
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7342
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7410
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.