The ICEs are paranoid and assume that someone could change ALLUSERS when they install the product in order to do a per-user install. In this case the component needs a per-user keypath in order to keep track of it for each user, which is why it wants an entry in HKCU. I'm not sure why this is, because if you use the 'ProgramMenuFolder' as the Id of the directory, I'd expect that to resolve to the user's Start Menu folder for a per-user install. Does anyone else know why that doesn't happen?
Some of us, myself included, think that the ICE warnings are just a pain, and ignore them. This mainly came about because at the time I discovered them, they seemed to just be wrong ("ALLUSERS is set to 1, why do you need per-user stuff??!!!"). I found that the installer worked fine, despite the ICE errors, and since no-one on any forums could explain what was going on, I ignored them. My installer is run from a bootstrapper, so the user doesn't have a chance to change the ALLUSERS property. In my case though, all my customers are developers, who always have admin rights anyway. Ignoring these warnings hasn't caused any reported problems so far in a year and half with several thousand customers. Rob dangle123 ... wrote: > I have a shortcut component in my setup package that fails ICE > validation because it doesn't "use a registry key under HKCU as its > KeyPath". I have the ALLUSERS property set to 1. This will set the > ProgramMenuFolder to the "All Users" profile. Why does it still need to > have a registry key under HKCU as its KeyPath? What do I need to do > other then creating a registry key that won't be used? > > Thanks, > -- Leo > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users