ThomasJaeger / VisualMASM

Visual MASM - Assembly IDE for Microsoft MASM

Home Page:http://www.visualmasm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Invalid Function" When decompressing downloaded MASM during setup

mattfj10 opened this issue · comments

Whenever the installer attempts to download MASM from the internet, when it gets to the part where it says its going to decompress the MASM32 package, upon clicking okay it says "Invalid Function" and then continues the setup without installing MASM or any of the needed tools to begin development.

I'm going to investigate into the installer script sometime soon if I get the chance, however my job keeps me busy, if anyone else wants to take on this task before I'm able to get to it please feel free to do so, as it will be awhile before I can. It seems the developers have finished contributing to this project so I assume its up to the rest of us assembly fans to get the remaining issues fixed.

It happens when setup is run as normal user. If setup is run with "Run as Administrator" error does not occurs.
I guess since the extraction happens in Program files folder, application might not be getting access to extract files to folder inside VisualMASM folder inside Program files. Extracting the zip file in a temp folder might help.

commented

@tejasvih I tried that just now, but running VisualMASM with elevated permissions ("Run as Administrator") does not solve the problem - I still get the "Invalid function" messages.

I ran procmon and saw that the issue is coming from 7z.dll.

I had a look at my C:\Program Files (x86)\Visual MASM\download directory and the masm32v11r.zip file is... zero bytes, which explains it.

image

How did that happen?


I deleted my zero-byte masm32v11r.zip file and retried a few times but every time it just saves the same 0-byte empty file.

What I ended up having to do was go to http://www.masm32.com/download.htm and click on "US Site 2" and that downloaded the masm32v11r.zip to my computer. I then replaced the empty file with the new file and restarted the set-up wizard and everything worked fine.