[wix-users] How Windows Installer creates unique S-1-5-18 value when my program is installed for all users

Christopher Painter chrpai at iswix.com
Tue Nov 13 19:20:42 PST 2018


I would suggest reading:


https://docs.microsoft.com/en-us/windows/desktop/Msi/determining-installation-context





________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of David Wathen via wix-users <wix-users at lists.wixtoolset.org>
Sent: Tuesday, November 13, 2018 7:33 PM
To: wix-users at lists.wixtoolset.org
Cc: David Wathen
Subject: [wix-users] How Windows Installer creates unique S-1-5-18 value when my program is installed for all users

Hi,

I'm trying to programmatically determine if my program has been installed for all users or not.

I have done a bunch of googling and one answer I found was to see if the product code exists under

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18

I can see that when I install my application and specify all users, from a Visual Studio Installer Project based installer, a
Registry entry is created under the S-1-5-18 key.

However, the unique GUID value that it is listed directly under S-1-5-18 doesn't match my product code GUID.

Does anyone know how this unique identifier is created or how I can determine what mine is for my application?

Thanks so much,

David


________________________________

CONFIDENTIALITY NOTICE: This email transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender. Please destroy the original transmission and its attachments without reading or saving in any manner.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
WiX Support | WiX Experts and Resources from FireGiant<http://www.firegiant.com/>
www.firegiant.com
WiX Support | Installation, Development, Deployment | WiX Experts and Resources from FireGiant






More information about the wix-users mailing list