954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Can I get my code back from an MSI installer?

I have a project which I created a setup for in an MSI file. My computer crashed, and I lost all of my work. Fortunately, I had the MSI setup file out on the web. Now, I have my MSI file and I can install the program. But is there anyway I can decompile the MSI back into the VB.NET code I had before?

Dukane
Posting Whiz in Training
295 posts since Oct 2006
Reputation Points: 45
Solved Threads: 29
 

No. Of course not.

Should have kept backups.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

yup, you cannot get the source code from msi except you add your source code too when you build setup program.

Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

Actually, it might be possible to some degree. VB uses a lot of bytecode and, if I remember right, Microsoft and others have VB decompilers. You'll never get back the absolute original, but if you can find the right decompiler (and can front the cash for it), you should be able to get enough back that you can reconstruct the rest.

You might be better off just writing it over again...

Alas.

Duoas
Postaholic
2,043 posts since Oct 2007
Reputation Points: 1,140
Solved Threads: 229
 

mist decompilers only decompile to assembley. Useful for reverse engineering but not for coding.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

Thanks for all your input guys.

Dukane
Posting Whiz in Training
295 posts since Oct 2006
Reputation Points: 45
Solved Threads: 29
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You