Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent install via management (Local System) does not register it as an system-wide (uninstallable) application in Windows and creates no start menu entry #100

Open
Lukas-UAUX opened this issue Nov 4, 2024 · 0 comments

Comments

@Lukas-UAUX
Copy link

Hi,

it seems that there is a tiny bug in your Windows installer configuration when a silent install via '/S' is performed and run as 'Local System' user - which is common for software management / deployment systems. So far it installs all Files to 'C:\Program Files (x86)\noScribe' (is it really an 32bit application?) but afterwards the application is not registered correctly as a system-wide application to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

or for 32bit Software on 64bit Systems:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall

That means it will not be listed in the Windows settings for uninstalling and most inventory systems will not find it (by default).

Also no (system wide) start menu in 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs' entry is created.

Looking through the registry it seems that the installer only does the registry and icons for the user running the installer even when a system wide installation is performed. This is a common issue for a lot of applications that they do register themselves only in the context of the user running the installer (HKEY_CURRENT_USER), and for a user driven install that can be kinda enough, but for a deployment scenario this breaks by registering it only to the 'LocalSystem' user (or any other user system administrator).

For now i can fix it for us by running a script afterwards moving the registry entry and the icon to the correct location but it would be cool if it could be fixed 'upstream' as this software looks very promising to replace some expensive closed source applications at our university.

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

No branches or pull requests

1 participant