Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I extract an .Exe from a .Exe?
Message
From
11/09/2001 08:22:00
 
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00555046
Message ID:
00555072
Views:
16
Hi Vlad,

Yes, that's exactly what I wanted some way to 'see' the file and extract it even though it's included in an exe (or app)

Cheers

Will

>Hi!
>
>If you meant you included APP or EXE file into project and compiled another EXE, you can extract the file using FileToStr() function and then saving the resulting string into the disk file using StrToFile(). When FileToStr() will not work, create temporary cursor with memo field, add empty record and use APPEND MEMO command from file to get content of file included into EXE into the memo field. Then use StrToFile() to store content of memo field into disk file. These 2 commands (FileToStr() and APPEND MEMO) search file without path in the EXE file first, and do extract of them in case they're found.
>
>HTH.
>
>>Title says it all really...
>>
>>I have an .Exe that I want to run (as a post setup Executable from Installshield Express)
>>Included in that project is another .exe which I want to extract
>>
>>Is this possible?
>>
>>I thought about using a general field, store the exe in there and include the table in the project... but is there an easier way?
>>
>>TIA
>>
>>Will
Will Jones
Previous
Reply
Map
View

Click here to load this message in the networking platform