LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.54k stars 67 forks source link

Bug: Installer fails immediately #223

Open dylandhall opened 1 year ago

dylandhall commented 1 year ago

Describe the bug

When installing, UAC confirms admin, then a small window appears and disappears almost instantly, and nothing else happens. See attached log at bottom off issue for more details.

To Reproduce Steps to reproduce the behavior:

  1. Run installer
  2. Confirm admin access
  3. See small window that disappears, nothing further

Expected behavior Installation as normal.

Misc info (please complete the following information):

Please check what's applicable (multiple answers possible):

Logs

From windows event log:

Faulting application name: HASS.Agent.Installer.exe, version: 2214.0.3.0, time stamp: 0x6213b2ee
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.22621.819, time stamp: 0xefcb1e3c
Exception code: 0xc000027b
Fault offset: 0x008813cf
Faulting process id: 0x0x7194
Faulting application start time: 0x0x1D902B955276311
Faulting application path: C:\Users\DylanHall\Downloads\HASS.Agent.Installer.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: adf270c6-97d3-4441-9b40-2992ba54fc15
Faulting package full name: 
Faulting package-relative application ID: 
lecrams commented 1 year ago

I have exactly the same issue on one of my PC's. all are running W10 One is installing fine while the other one fails using exactly the same procedure

LAB02-Admin commented 1 year ago

Sorry for the late reply, been really busy. Kinda looks like something's off with your Windows installation, this is not something within HASS.Agent.

Could you run sfc scannow in an elevated cmd prompt and see what comes out of it?

Buster14 commented 1 year ago

Hi, having the same issue with Windows 10 LTSC, I have no gpedit rule enabled, The only thing disabled is windows update

Result of SFC /Scannow

C:\Users\Home\Downloads>sfc /SCANNOW

Beginning system scan. This process will take some time.

Beginning verification phase of system scan. Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

Have also tried running with admin but its the same. the folder and files do get copies to appdata folder though.

stealingzen commented 1 year ago

I have this exact same issue; installer does nothing. :-/