Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non advertised shortcuts, ALLUSERS, HKMU, LGHT0204 : ICE57 #2433

Closed
wixbot opened this issue Jan 14, 2010 · 4 comments
Closed

non advertised shortcuts, ALLUSERS, HKMU, LGHT0204 : ICE57 #2433

wixbot opened this issue Jan 14, 2010 · 4 comments

Comments

@wixbot
Copy link

wixbot commented Jan 14, 2010

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?

Originally opened by *anonymous from http://sourceforge.net/p/wix/bugs/1896/

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

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?

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

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).

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

example based on Wix Tutorial http://www.tramontana.co.hu/wix/lesson1.php

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant