News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Error DELETE operation of EXE file has failed

Started by user32, February 02, 2018, 12:23:59 AM

Previous topic - Next topic

user32

I've try install masm32 but always  during the instalation i get this error. 


http://prntscr.com/i8nl0q
How can I fix it?

jj2007

That could be your antivirus. In your AV software, try creating an exception for the \Masm32 folder and its subfolders.
Another option is to use a drive different from C:

user32


user32

I deactivated windows firewall and the problem continue

jj2007

You may have Windows Defender or similar installed. The firewall is not the problem, as you already downloaded the archive. Firewalls protect against the outside world, but not being able to place an executable in a particular folder is a permissions problem. Difficult to tell, though, at a distance. There are thousands of Masm32 installations that work just fine, but every computer is set up slightly differently. Some of the cheap AV software believe that assembler is dangerous, so don't be surprised that you get false positives...

Keep us posted about your progress. And welcome to the forum :icon14:

hutch--

Something in your OS setup is preventing the deletion of the test file. The install tests for being able to both write executable files and to delete executable files and if either is blocked it shows an error and will not install. This is necessary as some AV scanners and OS settings prevent the important executable files from being written to disk which prevents the SDK from creating its own executable files.

If you don't have an AV scanner, check the security settings of your OS to make sure it is not preventing the deletion.

user32

I check the services in windows and disable some things like windows defender and central security.But,the result is the same. Assembly is so frustant,i used masm in visual studio but they change some thing and now vs 2017 sucks.I'm start learning assembly,but think better i back to c++.

jj2007

Don't give up so easily :icon14:

- create a folder C:\Users\yourname\Documents\Masm32
- from a DOS prompt, type subst M: C:\Users\yourname\Documents\MasmSDK
- move the Masm32 installer into the newly created drive M:
- try again

hutch--

What OS version are you running, normally this installation runs on everything from 32 bit XP to 64 bit Win10. If you have more than one hard disk partition, it is better to install it on a different partition to the boot drive as different versions of Windows have restrictions on what can be deleted from the boot drive.

avcaballero

Quote from: user32 on February 02, 2018, 01:41:39 AM
I check the services in windows and disable some things like windows defender and central security.But,the result is the same. Assembly is so frustant,i used masm in visual studio but they change some thing and now vs 2017 sucks.I'm start learning assembly,but think better i back to c++.
Assembly programming has nothing to do with that. Maybe you can try installing an assembler that comes in a zip, just unzip to install.