Exe update

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Exe update

Bruno Brasesco
Hi,

How i can add (or compile) a method, class, etc into an existing EXE ?
(like LiveUpdate mechanism for an exe)

Which is the best way to implement somethig like this ?
(in general of course)

Regards Bruno



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003


Reply | Threaded
Open this post in threaded view
|

Re: Exe update

Bill Schwab-2
Bruno,

> How i can add (or compile) a method, class, etc into an existing EXE ?
> (like LiveUpdate mechanism for an exe)
>
> Which is the best way to implement somethig like this ?
> (in general of course)

Check the archives for any other alternatives, but I think you'll find that
binary packages are your only option.  I briefly considered trying to file
something into an exe on startup, but didn't get very far, and became
suspicious that it would not be possible within the license agreement.  BTW,
that's not a criticism of OA's license, and OA has always been willing to
consider petitions for special needs.  In my situation, I found another way
to solve my problem.

Have a look at InnoSetup.  I learned about it here, and never looked back to
Wise, except to review the payloads of my old installers.  Unless your
executables are huge, a slick installer, or one run in silent or very-silent
mode might be safer and easier to create.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Exe update

Sebastián Sastre
In reply to this post by Bruno Brasesco
Dear Bruno,

    as Bill do, I'm using InnoSetup. Is very flexible, powerfull and
friendly (for the programmer and for the end user). Perhaps you could try to
make with this installer, an exe update by entirely replacing it after a
reboot, as for example, some antiviruses's live update's do.

    regards,

--
Sebastián Sastre
[hidden email]
www.seaswork.com.ar

"Bruno" <[hidden email]> escribió en el mensaje
news:bqob25$254ho1$[hidden email]...

> Hi,
>
> How i can add (or compile) a method, class, etc into an existing EXE ?
> (like LiveUpdate mechanism for an exe)
>
> Which is the best way to implement somethig like this ?
> (in general of course)
>
> Regards Bruno
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Exe update

Bill Schwab-2
Hello all,

>     as Bill do, I'm using InnoSetup. Is very flexible, powerfull and
> friendly (for the programmer and for the end user).

To Sebastián's plug for InnoSetup, I'll add that the programmer-friendliness
is not terribly obvious at first.  That comes later, after you have a few
working installers, and then want to simply tweak one to create another; the
edit/compile capability really starts to help at that point.  The ability to
use include files has also been very helpful.

To get going, take a look at ISTool, which provides a nice GUI, which of
course also makes sense at times.


> Perhaps you could try to
> make with this installer, an exe update by entirely replacing it after a
> reboot, as for example, some antiviruses's live update's do.

Depending on the payload, that might even be a worst-case scenario.  The
InnoSetup documentation recommends having the installed app detect and
download that update, launching the installer just before it exits.  I ended
up building a separate updater that runs on startup, but that was in
response to forces that are very specific to my world.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Exe update

Sebastián Sastre
> To get going, take a look at ISTool, which provides a nice GUI, which of
> course also makes sense at times.

    I'm taking a look to ISTool look nice, but one you understand the script
may be all become more in your hands.

> > Perhaps you could try to
> > make with this installer, an exe update by entirely replacing it after a
> > reboot, as for example, some antiviruses's live update's do.
>
> Depending on the payload, that might even be a worst-case scenario.  The
> InnoSetup documentation recommends having the installed app detect and
> download that update, launching the installer just before it exits.

    Thats exactly what I mean, even I'm considering the application itself
to look in an autenticated (as update suscription for instance) ftp server
for updates and eventually, downloads it and launch the exe that makes the
update.

    The only potencial problem I see is about security, so any suggestions
are welcomed.

>  I ended
> up building a separate updater that runs on startup, but that was in
> response to forces that are very specific to my world.


best regards,

--
Sebastián Sastre
[hidden email]
www.seaswork.com.ar



> Have a good one,
>
> Bill
>
> --
> Wilhelm K. Schwab, Ph.D.
> [hidden email]
>
>