Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7898917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:33:54+00:00 2026-06-03T08:33:54+00:00

Recently I change my NSIS-based installer from installing into the program files folder to

  • 0

Recently I change my NSIS-based installer from installing into the “program files” folder to install into the local user folder, to enable normal user accounts to install without administrative UAC elevation (similar to how SkyDrive or Google Chrome does it).

To enable uninstall the installer used something like:

; Shortcut for the key.
!define REG_U "Software\Microsoft\Windows\CurrentVersion\Uninstall\ZetaUploader"

; Write uninstall strings.
WriteRegStr HKLM "${REG_U}" "DisplayName" "Zeta Uploader ${VERSION}"
WriteRegStr HKLM "${REG_U}" "DisplayVersion" "${VERSION}"
WriteRegStr HKLM "${REG_U}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKLM "${REG_U}" "Publisher" "Zeta Software GmbH"
WriteRegStr HKLM "${REG_U}" "URLInfoAbout" "https://www.zeta-uploader.com"

This worked well when running with administrative permission but fails (silently) when running with user permissions.

My question therefore is:

Is there a possibility to add to the central uninstall control panel window without administrative permissions?

I tried to search for a HKCU key similar to the HKLM keys for uninstall but found none. In addition I’m aware that I could write a start menu entry to uninstall, but I do not want my to make it too easy for my users to remove the application.

Update 1 / solution:

Based on Anders answer, I found this blog posting with this example NSI script that explains it the same way.

So the final solution looks like:

; Shortcut for the key.
!define REG_U "Software\Microsoft\Windows\CurrentVersion\Uninstall\ZetaUploader"

; Write uninstall strings.
WriteRegStr HKCU "${REG_U}" "DisplayName" "Zeta Uploader ${VERSION}"
WriteRegStr HKCU "${REG_U}" "DisplayVersion" "${VERSION}"
WriteRegStr HKCU "${REG_U}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKCU "${REG_U}" "Publisher" "Zeta Software GmbH"
WriteRegStr HKCU "${REG_U}" "URLInfoAbout" "http://www.zeta-uploader.com"

(Please note that HKLM from the first code snippet was replaced with HKCU).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:33:56+00:00Added an answer on June 3, 2026 at 8:33 am

    You were on the right track, HKCU with the same sub path as HKLM is the correct location.

    It does not exist by default but should work on any recent version of Windows (Does not work on Win9x, not sure about NT4 and 2000)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently made the change from Dreamweaver to NetBeans and noticed this IDE doesn't
I recently decided that I needed to change from using milliseconds to microseconds for
I recently had to change the linkage specification of several classes and ran into
I recently was making a change to to our codebase from float to long
I recently had to change my active directory account password. Ever since then I
I recently changed my password and have to change my maven settings.xml file to
A friend recently had the occasion for a legal name change, which made me
We've recently implemented Amazon S3 in our site which led us to change the
Recently I made a bunch of changes to my local svn config file. Mainly
I pass text strings from a configuration file into my Flex app, one of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.