Running 7-Zip on Microsoft Visual Studio 2012

How to Run 7-Zip
By: Sally Tan

Running 7-Zip on Microsoft Visual Studio was challenging at first. We spent the first two months of school just to figure out how to do it, but once we figured it out, we layed out the steps and it was not so hard.

The following are a simple set of steps on how to run 7-Zip:
1. Go to CPP/Build.mak, search for "-OPT:NOWIN98" and delete it.
2. Go to CPP/7zip/Bundles/Fm and open FM.dsw with Visual Studio 2012.
3. Go to Solution 'FM' and right click to open its properties.
4. Change Active Configuration to Debug and Platform to Win32.
5. Go to FM and right click to open its properties.
6. Configuration Properties -> Linker
  • Change "Output File" to <inherit from parent or project defaults>
  • Change "Enable Incremental Linking" and "Suppress Startup Banner" to No.
7. Configuration Properties -> Linker -> Manifest File
  • Change "Generate Manifest" to No.
8. Configuration Properties -> Manifest Tool
  • Change "Suppress Startup Banner" and "Verbose Output" to No.

9. Run by clicking on "Local Windows Debugger".
10. Download 7za.dll, 7zra.dll, 7z.dll, 7zxa.dll, and 7zxr.dll.