Skip to content

Update fails with "EBUSY" when trying to rmdir folder (Windows XP) #90

@ycanales

Description

@ycanales

Following the basic.js example the first steps work fine (old version detects and downloads the newest, closes, then it runs from temp folder) until the update fails at step 5 with the following error after a while—it retries a lot of times as I checked in rimraf.js lib.

The error:

Error {
  code: "EBUSY",
  errno: -4082,
  message: "EBUSY: resource busy or locked, rmdir 'C:\Archivos de programa\theapp'",
  path: "C:\Archivos de programa\theapp",
  syscall: "rmdir",
  [...]
}

Note: Archivos de programa = Program files

I noticed I couldn't delete the folder manually either, and using LockHunter it said it was because of nw.exe (the one from the update version, running from temporary folder)

I checked the nw.exe processes running, and the three of them were from the temp folder (so I discarded that the old one may be still running)

I'm using:

  • node-webkit-updater: 0.3.0
  • nw: 0.12.2
  • nw-boilerplate
  • Windows XP Pro SP3

I'm fairly new to node and nw.js so I'm kind of stuck here.

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions