You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you create a non-advertised shortcut with ALLUSERS = 1 and a registry value that uses HKMU as a the root you get the error "error LGHT0204 : ICE57: Component 'xxxx' has both per-user data and a keypath that can be either per-user or per-machine." You can change the root for the registry value to HKCU and the shortcut will install to all users, but if another user uninstalls the program that registry value under HKCU will be left behind. Another option is to use advertised shortcuts, HKMU, and ALLUSERS =1, but given the choice I would prefer a non-advertised shortcut. The last option is to just ignore the error and continue anyway.
What part needs an update, my WIX project, the WIX source, or Windows Installer? Is there a workaround available?
Is it ok to use HKMU if the ALLUSERS property changes? For instance if you add a dialog option in the installer for "all users" or "just for me", will HKMU change accordingly during the install?
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
The ICEs don't consider an ALLUSERS property value in the package because it can be overridden at install time. As long as it's never changed, HKMU is an appropriate choice and you can ignore/suppress the ICE.
When you create a non-advertised shortcut with ALLUSERS = 1 and a registry value that uses HKMU as a the root you get the error "error LGHT0204 : ICE57: Component 'xxxx' has both per-user data and a keypath that can be either per-user or per-machine." You can change the root for the registry value to HKCU and the shortcut will install to all users, but if another user uninstalls the program that registry value under HKCU will be left behind. Another option is to use advertised shortcuts, HKMU, and ALLUSERS =1, but given the choice I would prefer a non-advertised shortcut. The last option is to just ignore the error and continue anyway.
What part needs an update, my WIX project, the WIX source, or Windows Installer? Is there a workaround available?
The text was updated successfully, but these errors were encountered: