The ICE wants shortcuts in components with HKCU registry keypaths because it is possible to remove the ALLUSERS value from your installation from the commandline even if it is present in the Property table (making your installation per-user instead of per-machine, even if that breaks other things in your installation and even if you have guarded against that).
My personal belief is that if you have guarded against per-user installs and only support per-machine installs AND if your shortcuts (and the components that install them) are otherwise completely in per-machine space (not in any user's profile) you can ignore/suppress that particular ICE report. Be sure to run smoke regularly on your MSIs to evaluate all reports to ensure that you don't have any surprises that ICE tests for if you can't suppress just one report at a time. -----Original Message----- From: Nick Ball [mailto:nick.b...@grantadesign.com] Sent: Wednesday, October 07, 2009 8:25 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcuts for peruser/permachine Hi All, I've read the How To in the WiX documentation on this, but I am confused. My application is typically installed by administrator, yet students need to be able to log on and use it, so it makes sense to make the installer perMachine. The example of how to create a shortcut, however, seems to be per user. I have been using this and occasionally received the install error 'Could not open key HKEY_CURRENT_USER\Software\my company etc etc' If I'm doing a perMachine install, why do I need to create a registry key under HKEY_CURRENT_USER? What is the best practice for doing this? Regards Nick ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users