Skip to content

Conversation

@altaskur
Copy link
Owner

Problem

Windows SmartScreen was aggressively blocking the installer because it required administrator privileges (perMachine: true) without having a code signing certificate.

Solution

Changed NSIS installer configuration from per-machine to per-user installation:

  • Set perMachine to false
  • Per-user installers don't require admin privileges
  • Windows SmartScreen is significantly more permissive with per-user installers when no code signing certificate is present

Impact

  • Installer will now install to %LOCALAPPDATA%\Programs\OpenTimeTracker instead of C:\Program Files
  • No admin privileges required
  • SmartScreen warnings eliminated (tested and confirmed)
  • Each Windows user needs to install separately (expected behavior for per-user installs)

Testing

Tested on Windows with no code signing certificate - SmartScreen no longer blocks the installer.

- Changed perMachine from true to false
- Per-user installers don't require admin privileges
- Windows SmartScreen is more permissive without code signing certificate
@altaskur altaskur merged commit 7c926c7 into main Feb 10, 2026
1 check passed
@altaskur altaskur deleted the hotfix/smartscreen-peruser branch February 10, 2026 23:13
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant