By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,987 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,987 IT Pros & Developers. It's quick & easy.

Exe files on several computers

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.