I'm not sure what ALLUSERS=0 means. ALLUSERS="" means per-user which should behave the way you want. ALLUSERS=1 is how you typically define a per-machine install, which behaves as you describe below. ALLUSERS=0... that's not a documented value.
Mike Wu wrote: > Hey all, I have an installer that can install for current user or > local machine by setting ALLUSERS. If two users use ALLUSERS=0 and the > default install directory, when one uninstalls, it removes files for > both users. > > Someone suggested to me there's a way to uninstall the files only if > no more users need them, but I don't know how. I can keep a set of > keys using each [LogonUser] that installs the package but how do I use > that to prevent removing the files when appropriate? > > Hope someone can help, Thanks!! > > Mike > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users