Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid Function" When decompressing downloaded MASM during setup #15

Open
mattfj10 opened this issue Jul 11, 2019 · 4 comments
Open

Comments

@mattfj10
Copy link

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.

@mattfj10
Copy link
Author

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.

@tejasvih
Copy link

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.

@daiplusplus
Copy link

daiplusplus commented Nov 14, 2021

@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.

@AliciaSt01
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants