Windows-Auto-Night-Mode icon indicating copy to clipboard operation
Windows-Auto-Night-Mode copied to clipboard

Can't update via Microsoft Store or exe file downloaded from here

Open Carcasone opened this issue 6 months ago • 9 comments

Description

Windows's version is 25H2, cant update via Microsoft Store. Tried to download the exe file from this site but it says it's not working with my operating system. Many people have reported this issue on Microsoft Store but none is addressed by developer so far. Please at least tell me what's going on, thx

Expected Behavior

No response

Log Data

Uninstalled it already

Commit Hash, Version and Windows Build

11.0.0.54, 25H2

Screenshots / Videos

No response

Carcasone avatar Oct 21 '25 13:10 Carcasone

Many people have reported this issue on Microsoft Store but none is addressed by developer so far. Please at least tell me what's going on, thx

First, the Microsoft Store is comparable to a black box. We don't have much control in what's happening there. But one unexpected insider information: the Microsoft Store is not hosting the installer. It only downloads from a given URL. Unlike winget, which just takes every download link, the Microsoft Store is pretty nitpicking in which URL the Store accepts. The normal direct links to the GitHub releases aren't working, because of "redirects". This is why we usually upload the installer to GitHub as a normal file in a repository and link to it. Even this is not any more possible, because the new Auto Dark Mode 11 installer exceeds the GitHub 100mb file limit. This is why we developed our own little online installer, a little 5mb .exe which just downloads the normal installer.

Now we see many errors in downloads. Our first thought was, that just people living in China would be affected, because GitHub seems to be blocked in their country. Today we learned, that even people outside of China are affected. So we decide to try some things out.

  1. Maybe we exceed GitHubs rate limit with the direct link to the installer. This is why I try to host it on my own webpage.
  2. Maybe our online installer is causing issues? We don't know.
  3. I should contact the Microsoft Store team and ask, if they can enforce the acceptance of GitHub Release URLs.

As you see, we don't know where the problem is. We are just - as usual - making workarounds for limits that Microsoft gives us. And sometimes these workarounds have unexpected behavior. We don't have an official Auto Dark Mode file server. So we can't host it by ourself. The current situation that I have a webpage is good for the store release, but it is sad that I need to use my own website for this.

And to everyone: just download Auto Dark Mode via winget. It's the same, but it works!

Armin2208 avatar Oct 21 '25 18:10 Armin2208

At the same time, for all the people who are troubled by this problem: You could download from: https://raw.githubusercontent.com/AutoDarkMode/AutoDarkModeVersion/refs/heads/master/MSStore-Installer/AutoDarkMode_Online_Installer_11.0.0.54_Multiarch.exe

Meanwhile, please check whether CRC32 is: 0AECC815 or MD5: 83368260238eb3f9386c68d628b4e2fa.

ChenYiLins avatar Oct 22 '25 09:10 ChenYiLins

Hello Armin,

Thanks for the reply. Actually the download either from Microsoft Store or Github is fine, I successfully downloaded the exe file from Github as I mentioned above. Maybe it's just some misunderstanding about my description. Sorry about that. The real problem is that when I open the latest version [AutoDarkMode_11.0.0.54_ARM64.exe] file, during the installation process it will pop up a window saying something like "it's not working with your operating system". That's why I also add the windows version which is 11 25H2 in the issue. Plus, I think that's also the reason why people can't update or install it via Microsoft Store anymore as well. However, I downloaded the [AutoDarkMode_11.0.0.54_x86.exe] and it works finally, no "not working with your OS"-ish during the installation process. But still, I wish to install the x64 version since my OS is x64 version, which I think it would be more compatible. Hopefully there will be a fix for this soon, thanks!

Carcasone avatar Oct 22 '25 10:10 Carcasone

Hello Armin,

Thanks for the reply. Actually the download either from Microsoft Store or Github is fine, I successfully downloaded the exe file from Github as I mentioned above. Maybe it's just some misunderstanding about my description. Sorry about that. The real problem is that when I open the latest version [AutoDarkMode_11.0.0.54_ARM64.exe] file, during the installation process it will pop up a window saying something like "it's not working with your operating system". That's why I also add the windows version which is 11 25H2 in the issue. Plus, I think that's also the reason why people can't update or install it via Microsoft Store anymore as well. However, I downloaded the [AutoDarkMode_11.0.0.54_x86.exe] and it works finally, no "not working with your OS"-ish during the installation process. But still, I wish to install the x64 version since my OS is x64 version, which I think it would be more compatible. Hopefully there will be a fix for this soon, thanks!

Ah, this is actually a misunderstanding of the system architecture. ARM64 refers to the system with ARM architecture, while x86 architecture is the most commonly used architecture (Most people's computer is). When you say x64, it is actually a systematic bit, but it belongs to x86 architecture.

See: https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/issues/1099#issuecomment-3400899276

ChenYiLins avatar Oct 22 '25 10:10 ChenYiLins

After all, handling these issues takes time too, doesn't it?

@Jay-o-Way Yes, yes it does. It's more trouble than it's worth. I'll change the arch string to x64 for the next release.

Spiritreader avatar Oct 22 '25 18:10 Spiritreader

I have the same problem, so I directly download the exe installation file from github.T_T

youlan2333 avatar Oct 23 '25 05:10 youlan2333

I have the same problem, so I directly download the exe installation file from github.T_T

what problem you have with the microsoft store download?

Armin2208 avatar Oct 23 '25 16:10 Armin2208

I have the same problem, so I directly download the exe installation file from github.T_T

what problem you have with the microsoft store download?

My Windows store says its already installed/updated, but on the app itself it says that theres an update available

Image Image Image

It doesnt update either from the winget command

Image

My Windows Version

Image

updater.log

2025-01-27 16:04:44 [INFO] [adm_updater_rs] auto dark mode updater 3.1.4 2025-01-27 16:04:44 [INFO] [adm_updater_rs] cwd: C:\Users\XXXXX\AppData\Local\Programs\AutoDarkMode 2025-01-27 16:04:44 [INFO] [adm_updater_rs] restart app: true, restart shell: false 2025-01-27 16:04:44 [INFO] [adm_updater_rs] currently installed version: 10.4.1.1 2025-01-27 16:04:44 [INFO] [adm_updater_rs] stopping service gracefully 2025-01-27 16:04:44 [INFO] [adm_updater_rs] waiting for service to stop 2025-01-27 16:04:45 [INFO] [adm_updater_rs] adm has exited successfully 2025-01-27 16:04:45 [INFO] [adm_updater_rs] moving current installation to temp directory 2025-01-27 16:04:45 [INFO] [adm_updater_rs] patching auto dark mode 2025-01-27 16:04:45 [INFO] [adm_updater_rs] removing temporary update files 2025-01-27 16:04:45 [INFO] [adm_updater_rs] updating setup version string 2025-01-27 16:04:45 [INFO] [adm_updater_rs] patch_complete, installed version: 10.4.2.29 2025-01-27 16:04:45 [INFO] [adm_updater_rs] starting service 2025-01-27 16:04:45 [INFO] [adm_updater_rs] relaunching app

Registry log: 2025-10-28 09:08:55 | Info | Program.Main: commit hash: 5922db4, build: 10.4.2.29 2025-10-28 09:08:55 | Info | Program.Main: process arch: X64, os arch: X64 2025-10-28 09:08:55 | Info | Program.Main: cwd: C:\Users\XXXXX\AppData\Local\Programs\AutoDarkMode\adm-app\AutoDarkModeSvc.exe 2025-10-28 09:08:55 | Info | AsyncPipeServer.Loop: started npipe server with 5 workers (single in, multi out), request: admpipe_request_XXXXX 2025-10-28 09:08:55 | Info | ComponentManager..ctor: current windows build: 26200.6901 2025-10-28 09:08:55 | Info | ComponentManager..ctor: using apps and system components for newer builds 19044 and up 2025-10-28 09:08:55 | Info | ComponentManager..ctor: using wallpaper component for windows builds 22621.1105 and up 2025-10-28 09:08:55 | Info | ComponentManager..ctor: using colorization and cursor switcher for newer builds 19044 and up 2025-10-28 09:08:55 | Info | TimeSwitchGovernor.EnableHook: time switch governor selected 2025-10-28 09:08:55 | Info | SystemEventHandler.RegisterResumeEvent: enabling theme refresh at system unlock (win 11) 2025-10-28 09:11:29 | Info | SystemEventHandler.HandleTimeChangedEvent: system time changed from 28/10/2025 9:11:29 2025-10-28 09:11:29 | Info | SystemEventHandler.SystemEvents_Windows11_SessionSwitch: system unlocked, refreshing theme 2025-10-28 09:11:29 | Info | ThemeManager.UpdateTheme: dwm management: no refresh required 2025-10-28 09:11:29 | Info | ThemeManager.UpdateTheme: refreshed light theme, source: SystemUnlock 2025-10-28 11:08:56 | Info | UpdateHandler.CheckNewVersion: new version 11.0.0.54 available
2025-10-28 15:29:25 | Info | MessageParser.Parse: signal received: request for running status 2025-10-28 15:29:25 | Info | MessageParser.Parse: signal received: validate autostart entries 2025-10-28 15:29:25 | Info | TaskSchdHandler.GetLogonTask: logon task folder does not exist 2025-10-28 15:29:38 | Info | MessageParser.Parse: signal recevied: get autostart state 2025-10-28 15:29:39 | Info | MessageParser.Parse: signal received: checking for update and requesting notification 2025-10-28 15:29:39 | Info | UpdateHandler.CheckNewVersion: new version 11.0.0.54 available
2025-10-28 15:33:32 | Info | MessageParser.Parse: signal received: checking for update and requesting notification 2025-10-28 15:33:32 | Info | UpdateHandler.CheckNewVersion: new version 11.0.0.54 available
2025-10-28 15:36:07 | Info | MessageParser.Parse: signal recevied: get autostart state 2025-10-28 15:36:08 | Info | MessageParser.Parse: signal received: checking for update and requesting notification 2025-10-28 15:36:08 | Info | UpdateHandler.CheckNewVersion: new version 11.0.0.54 available
2025-10-28 15:47:32 | Info | MessageParser.Parse: signal received: request for running status 2025-10-28 15:47:32 | Info | MessageParser.Parse: signal received: validate autostart entries 2025-10-28 15:47:32 | Info | TaskSchdHandler.GetLogonTask: logon task folder does not exist

Dimaslg avatar Oct 28 '25 14:10 Dimaslg

Microsoft Store probably doesn't support upgrades at all. Why Winget isn't able to update ... i don't know.

Armin2208 avatar Oct 28 '25 22:10 Armin2208