Author Topic: Error DELETE operation of EXE file has failed  (Read 705 times)

user32

  • Regular Member
  • *
  • Posts: 4
Error DELETE operation of EXE file has failed
« 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
How can I fix it?

jj2007

  • Member
  • *****
  • Posts: 8349
  • Assembler is fun ;-)
    • MasmBasic
Re: Error DELETE operation of EXE file has failed
« Reply #1 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:

user32

  • Regular Member
  • *
  • Posts: 4
Re: Error DELETE operation of EXE file has failed
« Reply #2 on: February 02, 2018, 12:43:15 AM »
But I don't use anti-virus

user32

  • Regular Member
  • *
  • Posts: 4
Re: Error DELETE operation of EXE file has failed
« Reply #3 on: February 02, 2018, 12:46:43 AM »
I deactivated windows firewall and the problem continue

jj2007

  • Member
  • *****
  • Posts: 8349
  • Assembler is fun ;-)
    • MasmBasic
Re: Error DELETE operation of EXE file has failed
« Reply #4 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:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5333
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Error DELETE operation of EXE file has failed
« Reply #5 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

user32

  • Regular Member
  • *
  • Posts: 4
Re: Error DELETE operation of EXE file has failed
« Reply #6 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++.

jj2007

  • Member
  • *****
  • Posts: 8349
  • Assembler is fun ;-)
    • MasmBasic
Re: Error DELETE operation of EXE file has failed
« Reply #7 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

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5333
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Error DELETE operation of EXE file has failed
« Reply #8 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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

caballero

  • Member
  • ****
  • Posts: 951
    • Abre Ojos Ensamblador
Re: Error DELETE operation of EXE file has failed
« Reply #9 on: February 02, 2018, 04:11:56 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.
En un lugar de la Mancha de cuyo nombre no quiero acordarme