I would like to achieve that by using radio buttons (everyone and just me). This causes windows installer to place. 1 windows installer has the smart feature to automatically decide whether to store registry values under hkey_current_user or hkey_local_machine (using.
The installer will decide if it should use hklm (local machine) or hkcu (current. I created a permachine installer with the wix toolset. Second, change the root for the registry value for component 'programmenudir' to hkmu.
The installer has to be started with admin rights, because it writes multiple registry keys to hklm and hkcr. But, the key path of the component is hkmu, which in a per machine installation resolves to hklm (hkey_local_machine). I found a couple of. The location of the shortcut derives from.