Jump to content
Sign in to follow this  
gil900

Does anyone have ideas on how to identify the type of a exe file?

Recommended Posts

gil900

hello,

my script must to detect if the exe file is actually an installation.

for example the exe's:

vcredist_x86.exe

VS_2010_vcredist_x86.exe

are exe's that installing something

and more..

At first I thought to search for words like: install, setup and more in the exe's..
But on second thought that's not effective and it will not work on all
exe's files ..

I'm looking for another way.
I noticed these exe files
mostly have the same icons (the install icon types...)

so if i can know the list of these icons and how to Identify the icon of each exe so this way i can do this filtering process...

but i don't know how to do this and maybe you have a better idea..

Thanks for helpers!

Edited by gil900

Share this post


Link to post
Share on other sites
sahsanu

my script must to detect if the exe file is actually an installation.
 
Hello,
 
You could take a look to Universal Extractor, it is written using AutoIt and the source code is available here
 
Reviewing its code it uses 4 methods to try to detect whether a file is an installation file:
 
UniExtract uses four methods of detection (in order):
 1. File extensions for special cases

 2. Binary file analysis of files using TrID

 3. Binary file analysis of PE (executable) files using PEiD

 4. File extensions

 
Maybe this is not an option for you because it uses external utilities but at least you have one more option to consider ;)
 
Cheers,
sahsanu

Share this post


Link to post
Share on other sites
gil900

Thanks but this option is not for me.

Does anyone have other ideas in addition to the option I mentioned?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×