Richard, Thank you so much for providing the needed 2 lines of code rather than just describing how it could be done. I have tested, and this solves my immediate crisis, on which I have already wasted much time (after discovering uninstall wasn't working, searching my code for the problem, creating a minimal repro, comparing install types, etc.).
I agree with you that there is probably an issue with multiple installs going to the same location. I imagine we could work around that by writing each install path to HKLM, but that probably brings up permissions issues. I am surprised at how difficult the simplest tasks still seem. I am also still confused by the inconsistent behavior between per-machine and per-user installs. Someone is keeping track of the install path for per-machine, whether it is the default path or a custom path, because it just works. Why couldn't that same behavior be built into per-user installs rather than every single developer having to rewrite the same code?? Thanks again for your help though. It was invaluable to me! JVE ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users