-
May 28th, 2003, 09:09 AM
#1
Merging EXE files
I know Ill probably be frowned upon and possibly given negative points, but Im going to ask this question anyways. I know you can merge EXE files with other files, so that it looks like the file is not an exe. IE--Make a JPG an EXE file. Sub7 does this. However, is there a program that does the same thing, just without the trojan/virus part to it. Im not going to send viruses out etc. My question is because the webcam I use requires a codec to be installed before viewing AVI files. Sometimes its an endless loop getting people to download and execute the codec and I was wondering if its at all possible to merge two files (one an exe and one an Avi) together, without zipping it. Essentially so that one double click will open the exe and the program will continue to load the AVI once the codecs are installed. Thanks All.
-
May 28th, 2003, 09:21 AM
#2
Junior Member
Even if you where to merge 2 files into an exectuable (which involves sticking the other file after the executable and enlarging the file size) this would not work for what you are trying to achieve. I assume you are talking about putting a player plus the avi into one file from which the user would download and then execute and it would play the movie?
This would not work for a number of reasons:-
1. If the avi is in the same file as the player the player would have to be hacked to get it to use an offset in itself to get the video data from and not to open a file.
2. This still wouldn't get around the codec problems as the codecs don't reside in the players exe. They are usually seperate files that are loaded into the players address space at runtime by the player.
The only way i can see of getting this to work is to get the source code for a player and making sure the codec is compiled into the executable or to write your own player .
Hope this helps.
Peter
-
May 28th, 2003, 10:00 AM
#3
I think the easiest would be to convert the avi to something that doesn't need a wierd/hard2find/hard2install codec. There are numerous converters available.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
May 28th, 2003, 10:59 AM
#4
go for MPG 
there are also commercial (possibly also freeware) programs that can make a sef running movie..
but they usualy use their own codecs and make the files realy big or realy ugly !!
ASCII stupid question, get a stupid ANSI.
When in Russia, pet a PETSCII.
Get your ass over to SLAYRadio the best station for C64 Remixes !
-
May 28th, 2003, 05:31 PM
#5
Thanks all for the help. I was thinking about just converting the file, and do the work myself. In reply to Psky, you got the basics of what I am trying to do but with the codec, I would want it to install to the media player directory. Only problem becomes, what if they dont use media player as their default player. Then Im screwed. Thanks all for the info though.
Sex is like \"Social Security\". You get a little each month, but it\'s not enough to live on.
-
May 28th, 2003, 05:43 PM
#6
Well if you are hell bent on using the AVI format with the codec you could make a self extracting archive that would immediately launch the codec installation. I know that you mentioned that you don't want to zip files but I cannot see any other easy and quick way to do this.
Sorry
Our scars have the power to remind us that our past was real. -- Hannibal Lecter.
Talent is God given. Be humble. Fame is man-given. Be grateful. Conceit is self-given. Be careful. -- John Wooden
-
May 28th, 2003, 05:55 PM
#7
Member
many programming dev. kits come with very nice package builders. you could simply build an installation for your files?
-
May 28th, 2003, 11:50 PM
#8
Junior Member
i was a little hurried when i read this but i got that u wanted 2 merge an .exe w/ a .jpg to conceal the executable. in windoze u can do this @ a dos command prompt & .jpg still functions 
copy filename.jpg /b + filename.exe /b >newfile.jpg /b
please do not ask me anything that you would not understand the response to.
-
May 29th, 2003, 05:56 AM
#9
Thanks
Thanks all for the help, specially the JPG thing. Appreciate it all.
Sex is like \"Social Security\". You get a little each month, but it\'s not enough to live on.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|