Error opening file for writing: [XY update can't be installed!]

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
GUIguy
Posts: 147
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000

Error opening file for writing: [XY update can't be installed!]

Post by GUIguy »

Downloaded latest update and executed. Of course, I closed XY.

Then the errors:
error writing.png
After clicking "Abort" got this:
install aborted.png
I could cancel out, but couldn't update! :?:
To see the attached files, you need to log into the forum.
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.06000

I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

Re: Error opening file for writing: [XY update can't be installed!]

Post by Dustydog »

I'm getting the same thing only with xycopy.exe. Just using today's.

GUIguy
Posts: 147
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000

Re: Error opening file for writing: [XY update can't be installed!]

Post by GUIguy »

Thanks, Dustydog...

I'm the first to blame myself, so it's good to see someone else getting this...
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.06000

I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error opening file for writing: [XY update can't be installed!]

Post by admin »

You might check Task Manager to see if any XY instance is still open.

GUIguy
Posts: 147
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000

Re: Error opening file for writing: [XY update can't be installed!]

Post by GUIguy »

Thanks, Don...But that's the first thing I checked. Ixnay on that one.
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.06000

I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error opening file for writing: [XY update can't be installed!]

Post by admin »

You still cannot install?

GUIguy
Posts: 147
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000

Re: Error opening file for writing: [XY update can't be installed!]

Post by GUIguy »

Yup. Still can't. I double-checked task manager and only xy install was running. I've been testing from the Help > Online Support > Check for Updates.

So, in an effort to be complete, I just checked by going to the website and downloading the installable and the SAME thing happened. I guess I'm stuck at 18.10.0100 until it's fixed. :cry:

2017-08-02 12:17 PM: UPDATE: just installed successully on Win 10-64 on laptop. Arggggghhhhh.
Last edited by GUIguy on 02 Aug 2017 21:17, edited 1 time in total.
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.06000

I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Error opening file for writing: [XY update can't be installed!]

Post by highend »

After starting the XYplorer setup program, open a cmd prompt and type

Code: Select all

tasklist | findstr XYplorer
Hit enter afterwards, show a screenshot
One of my scripts helped you out? Please donate via Paypal

GUIguy
Posts: 147
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000

Re: Error opening file for writing: [XY update can't be installed!]

Post by GUIguy »

Thanks, highend...But that did not show anything.

HOWEVER, the old adage "When in doubt, reboot!" came through once again. I rebooted (Win7-64) and it installed just fine.

Something unfindable was preventing the install. Reboot cleared it out.

Sorry for the bother, Don...
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.40.06000

I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

m48tx
Posts: 333
Joined: 07 May 2010 18:07
Location: Windows 11 Pro 26H2, Scaling 100%

Re: Error opening file for writing: [XY update can't be installed!]

Post by m48tx »

Dang. I have been having this same problem on one Win7 64-bit system. The best solution I've come up with is to right-click on installation exe file and select "Run as administrator". This appears to override whatever permission problems that exist.

My guess is there must be something corrupt in the registry or policy settings. On this system, I get the same error installing other programs as well. Ugh.

Update: Well, "Run as administrator" is not reliable. Do the reboot.

Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

Re: Error opening file for writing: [XY update can't be installed!]

Post by Dustydog »

I won't go into too many details (I probably can't remember them all, for that matter), but my problem seemed to be some permission corruption (confusion?) involving trusted installer, among other things, and a reverted, then pending again Windows 10 Pro (Creator's) update. It went away after updating and doing the usual scans. I was getting all set to go through and reset any necessary folder permissions - but it was Microsoft's fault, and it went away.

dsyskowski
Posts: 7
Joined: 25 Jun 2014 20:49

Install Error

Post by dsyskowski »

Attempting to upgrade from 18.3 to 18.4.

Getting the error "Error opening file for writing", the file being the XYPlorer.exe.

I did not get this error on another PC. I have tried various things, but still get this error.

OS is Windows 10.

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Install Error

Post by Filehero »

dsyskowski wrote: I have tried various things.
Including computer restart? Maybe XYplorer.exe file was still locked, for whatever reason.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error opening file for writing: [XY update can't be installed!]

Post by admin »

Or try Windows Task Manager: it tells you which apps are currently running. And you can close them from there.

dsyskowski
Posts: 7
Joined: 25 Jun 2014 20:49

Re: Install Error

Post by dsyskowski »

Filehero wrote:
dsyskowski wrote: I have tried various things.
Including computer restart? Maybe XYplorer.exe file was still locked, for whatever reason.
Yes, including after shutting down and trying again over multiple days.

Post Reply