The validation assumes that you're writing something that will add personalized settings when launching an advertised shortcut - you may have seen Office do this if you install it using one user account, then click one of the shortcuts to launch an Office application in a different user account (you see a brief Windows Installer progress dialog). A lot of us aren't doing this, of course.
 
Every component has a key path. If you don't specify one WiX will use the first member of the component which can be a key path (File, RegistryKey, ODBC). Windows Installer uses the key path to decide whether the component is installed or not: if the key path is present, the component is installed and Windows Installer will skip installing it (unless the file is a newer version).
 
If you've installed your package per-machine, and you don't use a suitable KeyPath, the installer may not install for another user. Or something like that.
 
ICE64 is something to do with cleaning up a user's roaming profile after an advertised application has been removed. I think. It's not very clear.
 
You can suppress validation with -sv, and suppress a particular ICE with -sice:ICEnn, e.g. -sice:ICE38.
 
--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Johnson
Sent: 06 November 2006 08:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installing files to the My Documents directory

I'm trying to write an installer that installs files into the user's My Documents directory (it doesn't install files anywhere else, for what it's worth). Trying to construct it the obvious way, I get a couple of errors: ICE38, complaining that the KeyPath has to be a registry key under HKCU, and ICE64, complaining the directories under PersonalFolder aren't listed in the RemoveFile table.

For the first one, I really don't know what's going on - the WiX tutorial doesn't even cover what a KeyPath is, let alone when and why I should create registry keys for one.

For the second one, the folders are created by an external program, and the installer shouldn't remove them on uninstall, even if they're empty. How can I tell the installer this?

-Nick Johnson
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to