Skip to content

MSI + EXE installer causes inconsistent UAC service state or duplicate UI artifacts #241

@SecurityMan911

Description

@SecurityMan911

Maybe someone could help me with this issue. I have one small issue I would like to understand.

Issue Summary

  1. EXE installer behavior

When using the EXE installer (run as Administrator):

Installation completes and the client launches normally
The application prompts for UAC/elevated service installation via an in-app (pink) banner
After completing this UAC/service installation step, elevated functionality appears inconsistent in some cases (UAC/privileged remote actions are not always reliable or fully applied)

Because of this, I tested the MSI installer instead.

  1. MSI installer behavior

When using the MSI installer:

Elevated/UAC-related functionality appears to work correctly and consistently after installation...
However, after installation, the application still presents the same pink UAC/service setup banner in the UI

It appears to run a secondary installation/repair process
This results in duplicate artifacts, including:
Duplicate desktop shortcuts (this can be unchecked but the other two below still happen)
Duplicate tray instances/icons
Additional or duplicate application entries/structure in Program Files / Add-Remove Programs

If I choose not to install the UAC via pink banner....

The system appears to still function correctly for remote access and elevation
However, the banner remains persistently visible, which could lead users to believe setup is incomplete and encourage them to run it again

Ideally:
Advice to fix the .exe from encountering UAC issues like (running cmd as admin)
or Installing the MSI without duplicate entries when running UAC install (or leaving UAC uninstalled, which seems to work still, but get rid of the banner)

Is there a supported method (MSI parameter, configuration, or deployment approach) to:

Fully initialize the UAC/elevated service layer during initial installation
Prevent the post-install banner from appearing
Avoid triggering a secondary installation flow that causes duplicate artifacts

I’m trying to achieve a clean, single-step deployment suitable for IT rollout environments without requiring user interaction after installation.

Thanks for any input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions