I don't think it wouldn't be an "Error" if installing only per-machine.  IIRC< 
the ICE degrades itself to Warning in that case.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Tuesday, October 10, 2006 6:33 AM
To: Torsten Rudnick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problems with a directory

The documentation for ICE64 says that this has something to do with
roaming profiles. It can probably be ignored if you're only doing
per-machine installations - you can suppress the error or warning with
-sice:ICE64.

If not doing per-machine installations, you should put a <RemoveFolder>
element under the components that write to ProgramMenuDir (presumably
shortcuts). Set Directory="ProgramMenuDir" and On="uninstall". I think
it's OK to have multiple RemoveFolder elements refer to the same
Directory, since the folder is only removed if it is empty.

For the tutorial SampleWixUI, I've used the following under <Component
Id="MainExecutable">:

<RemoveFolder
   Id="MainExecutable_RemoveShortcutFolder"
   Directory="ProgramMenuDir"
   On="uninstall" />

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

Reply via email to