Author Topic: Wanted - "Updater" software, standalone, open source  (Read 295 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Bull Frog
  • Posts: 387
Wanted - "Updater" software, standalone, open source
« on: January 06, 2017, 10:13:26 am »
Who can recommend an "Updater-software" for Lisp / OpenDCL / DosLIB apps which should to what an Updater does:
  • The users starts the software / app
  • It checks the PC and a web-server
  • It does the update, if necessary

It should be Standalone and open-source.
I'm sure there a some apps for it, but also good experience with AutoCAD / Lisp would be fine.

Have a fine weekend!
Peter

AutoCAD 2011 - 2017 German (so some technical terms will be badly retranslated to English)

BIGAL

  • Newt
  • Posts: 28
Re: Wanted - "Updater" software, standalone, open source
« Reply #1 on: January 08, 2017, 04:25:16 pm »
I am basing this on a Autocad solution, you can open a remote server and do normal file stuff so you could check versions on pc and download / replace. I will try to find an example for you, it was posted at Cadtutor as the poster wanted to do the same thing.

BIGAL

  • Newt
  • Posts: 28

Peter2

  • Bull Frog
  • Posts: 387
Re: Wanted - "Updater" software, standalone, open source
« Reply #3 on: January 09, 2017, 06:08:34 am »
@BIGAL

thanks, I will check it.
Peter

AutoCAD 2011 - 2017 German (so some technical terms will be badly retranslated to English)

Peter2

  • Bull Frog
  • Posts: 387
Re: Wanted - "Updater" software, standalone, open source
« Reply #4 on: January 10, 2017, 01:57:21 pm »
Hi @BIGAL

the software works fine, but the code (see entire code in the link above)

Code: [Select]
(foreach byte tbl
    (vlax-invoke fic 'write (vl-list->string (list byte))) ; Bits to String
)

is rather slow. It is not really urgent, but any ideas to increase the speed?

Thanks and regards

Peter
Peter

AutoCAD 2011 - 2017 German (so some technical terms will be badly retranslated to English)

roy_043

  • Swamp Rat
  • Posts: 1367
  • BricsCAD 16
Re: Wanted - "Updater" software, standalone, open source
« Reply #5 on: January 10, 2017, 02:35:28 pm »
What is the reason for not using vla-getremotefile?

Peter2

  • Bull Frog
  • Posts: 387
Re: Wanted - "Updater" software, standalone, open source
« Reply #6 on: January 10, 2017, 02:46:40 pm »
No specific reason - I started with the linked code, this area is new for me ...
Every good / better / faster solution is appreciated.
(Interesting: there are no postings with vla-getremotefile here, except of this thread)
Peter

AutoCAD 2011 - 2017 German (so some technical terms will be badly retranslated to English)


Peter2

  • Bull Frog
  • Posts: 387
Re: Wanted - "Updater" software, standalone, open source
« Reply #8 on: January 10, 2017, 04:39:55 pm »
Thanks Lee, for the links. There are some fine solutions  :-)

Peter

AutoCAD 2011 - 2017 German (so some technical terms will be badly retranslated to English)

Peter2

  • Bull Frog
  • Posts: 387
Re: Wanted - "Updater" software, standalone, open source
« Reply #9 on: January 13, 2017, 11:58:02 am »
Hi

at the end I used this (See other topic for my problems with other solutions):
https://www.theswamp.org/index.php?topic=33750.msg391249#msg391249
Peter

AutoCAD 2011 - 2017 German (so some technical terms will be badly retranslated to English)