Click here to Skip to main content
16,018,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to uninstall applications silently. So how can i identify installer type (eg: Inno setup, NSIS, InstallShield, MSI etc ) in windows?? Can any one help me out with this?
Posted

1 solution

You can read the installer file into memory and search for specific markers. To identify text markers, open the file with a hex editor.

For an InnoSetup file I found for example the strings "Inno Setup Data (5.2.3)" and "Inno Setup Messages (5.1.11)". For NSIS "Nullsoft Install System v2.46" inside an embedded XML file.

MSI files are OLE compound files (like old MS Office files) that begin with the hex sequence D0 CF 11 E0 A1 B1 1A E1.
 
Share this answer
 
Comments
Nitin R G 11-Dec-14 8:53am    
This is also one method.. Yes, ll try it out.. if any other way is there..let me know..thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900