Skip to content

Fix Inno Setup installer: correct registry default values and remove UAC prompt - #6

Merged
CostaFot merged 1 commit into
masterfrom
fix_installer
Apr 16, 2026
Merged

Fix Inno Setup installer: correct registry default values and remove UAC prompt#6
CostaFot merged 1 commit into
masterfrom
fix_installer

Conversation

@CostaFot

Copy link
Copy Markdown
Owner

Summary

  • Add ValueType: string; ValueName: "" to both [Registry] entries so Inno Setup actually writes the (Default) value instead of creating empty keys — fixes PowerToys being unable to locate the COM server
  • Switch DefaultDirName from {autopf} to {localappdata}\AdbExtension to avoid the UAC elevation prompt
  • Add PrivilegesRequired=lowest so Inno Setup doesn't request admin rights even with a user-writable install path

Test plan

  • Run the installer — confirm no UAC prompt appears
  • Check HKCU\SOFTWARE\Classes\CLSID\{d857a76b-...}\LocalServer32 in regedit — (Default) should contain the path to AdbExtension.exe -RegisterProcessAsComServer
  • Reload Command Palette — extension should load correctly

🤖 Generated with Claude Code

@CostaFot
CostaFot merged commit b37ed45 into master Apr 16, 2026
1 check passed
@CostaFot
CostaFot deleted the fix_installer branch April 16, 2026 12:02
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