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 7428453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:44:53+00:00 2026-05-29T08:44:53+00:00

I want to install MSI package under user level and set several registry keys

  • 0

I want to install MSI package under user level and set several registry keys under HKLM. The second require admin level and I can done it by using NSIS::UAC plugin. But I need a way to notify InnerInstance (with admin level privilegies) about what checkboxes user selected. There are the following possible ways to exchange such information (just 1 or 0)

  • Ini file in folder which both instances can access

no success, APPDATA is different and COMMONAPPDATA require admin level, TMP is not also an option, because it depends on profile name

  • Global application variable

no success, variables didn’t exists. BTW even if I run simple console, set variable and run other console – I didn’t see variable

  • Write a plugin which set and get semaphore

Suppose that it is too complex for simple installation issue, but will choose it if no other option will be available

  • SyncVariable macros

!macro _SyncVariable _variable
!define Lprefix L${LINE}
push $R0
goto _SyncVariableInner${Lprefix}
_SyncVariableOuter${Lprefix}:
StrCpy $R0 ${_variable}
return
_SyncVariableInner${Lprefix}:
!insertmacro UAC_AsUser_Call Label _SyncVariableOuter${Lprefix} ${UAC_SYNCREGISTERS}
StrCpy ${_variable} $R0
!undef Lprefix
pop $R0
!macroend
!define SyncVariable !insertmacro _SyncVariable

it suppose to work, but didn’t

  • Get new UAC plugin – didn’t see where I can get binary file, because latest version didn’t support NSIS unicode build

So, can someone help me with links, thoughts?

  • 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-05-29T08:44:54+00:00Added an answer on May 29, 2026 at 8:44 am

    There is no official Unicode build of NSIS, there is a forked project but the UAC plugin is not supported in this configuration and therefore does not provide a compiled DLL for it (You might be able to get a compiled version if you ask in the NSIS IRC channel).

    This kind of hybrid installer is hard to get right and should not be done IMHO. If you use the Access Control plugin to give all users write access to $windir\temp\{yourguid} or HKLM\Software\{yourguid} you might be able to exchange the information but this is also a potential security hole. The same problem exists with named global kernel objects (Semaphore, memory maps etc)

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

Sidebar

Related Questions

I have a vendor supplied MSI file, and we want to automate the install
I want to install a set of Open Type Fonts as part of my
Usually, when you install an MSI package on windows, it is installed using the
I have 2 projects. I want to create ONE single MSI setup package that
if i want to install a MSI, created by Visual Studio 2005, via Active
I want to make a .msi file which will allow to install one reg
I want to install an outlook add-in for a user who does not have
I want to create a simple MSI to install some DLLs into programs, similar
I have a .msi to install a program. Upon 'update', I want to be
I have a MSI package which on first install will install an SQL script

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.