Re: Importing transparently another exe file



As Ajay points out, in order to execute the resource you need to store it as a .exe file.
This may not be possible. In fact, many anti-virus programs are configured to forbid the
writing of executable files on the disk, and cannot be overridden by anyone other than an
administrator. So this seems like a bad idea. When you do an install, the person logged
in doing the installation has rights to do an installation, which means writing executable
files on the disk. After that, it is just pure hope.

All of this seems to go back to the "I don't want to have anything more complex than a
single executable to deliver", which is a pretty lame excuse, since this hasn't really
been a valid way of distributing software for over a decade.
joe

On Sat, 4 Feb 2006 08:11:20 -0800, "Kalish" <kalish@xxxxxxx> wrote:

I have an exe which I want to "include" inside my mfc application as a
resource or whatever other way transparently to the user. The most important
thing is that the mfc application won't need in the run-time, to look for
the other exe. It will run this exe before it will do some other things and
this will be transparent to the user(I hope I explained my need good
enough).

Is it possible and how?

Thanks in advance

Kalish

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: OT: EXE files in HTML?
    ... >>> I would like to be able to put an EXE file at my Web ... > I would hope that it would download temporarily and execute ... some of the photos. ...
    (alt.usage.english)
  • Re: IIS 6.0 CGI
    ... EXE) from the /Scripts virtual directory. ... Configure /Scripts vdir pointing to C:\Scripts with Execute Permissions ... Enable the Web Service Extension ... IIS6 does not allow scripts to execute on the server ...
    (microsoft.public.inetserver.iis)
  • Re: Microsoft Systems Management Server Installer for "public" use
    ... exe made by SMSI as stated below. ... the SMSI should only be used to create installation programs that ... Their program would not execute, no error, it just didn't work. ...
    (microsoft.public.sms.installer)
  • Re: Firewall
    ... Then you have missed the point, because it's not the exe that wants access ... of Trojans when I do the baseline and everything is fine at the point of the ... account for Duane.exe being on the machine trying to execute. ... Duane.exe doesn't even need IEexplorer.exe to make the phone home call. ...
    (comp.security.firewalls)
  • Re: CGI cant spawn process under IIS6
    ... You do not need to change the ACL on CMD.EXE to spawn new processes -- ... and this will launch that EXE without using CMD.EXE to execute ... that I've got to change the permissions on ...
    (microsoft.public.inetserver.iis.security)