The MASM Forum

Projects => MASM32 => Topic started by: user32 on February 02, 2018, 12:23:59 AM

Title: Error DELETE operation of EXE file has failed
Post by: user32 on February 02, 2018, 12:23:59 AM
I've try install masm32 but always  during the instalation i get this error. 

(http://prntscr.com/i8nl0q)
http://prntscr.com/i8nl0q
How can I fix it?
Title: Re: Error DELETE operation of EXE file has failed
Post by: jj2007 on February 02, 2018, 12:38:53 AM
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:
Title: Re: Error DELETE operation of EXE file has failed
Post by: user32 on February 02, 2018, 12:43:15 AM
But I don't use anti-virus
Title: Re: Error DELETE operation of EXE file has failed
Post by: user32 on February 02, 2018, 12:46:43 AM
I deactivated windows firewall and the problem continue
Title: Re: Error DELETE operation of EXE file has failed
Post by: jj2007 on February 02, 2018, 12:47:56 AM
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:
Title: Re: Error DELETE operation of EXE file has failed
Post by: hutch-- on February 02, 2018, 12:49:45 AM
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.
Title: Re: Error DELETE operation of EXE file has failed
Post by: 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++.
Title: Re: Error DELETE operation of EXE file has failed
Post by: jj2007 on February 02, 2018, 02:10:05 AM
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
Title: Re: Error DELETE operation of EXE file has failed
Post by: hutch-- on February 02, 2018, 03:11:09 AM
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.
Title: Re: Error DELETE operation of EXE file has failed
Post by: avcaballero on February 02, 2018, 04:11:56 AM
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.