I know that directory ids can be treated like properties and I know how to detect AdminUser
My problem is how to write the conditional that will assign my install directory accordingly based on AdminUser. Do I add a conditional to the directory tag? Try to set a property with the property tag? If that's the case then where? And how do you put a conditional on the property tag? I can do it in the UI but I'd like to set it outside of the UI Sequence before the Execute sequence. ______________________ Don Tasanasanta VIACK Corporation 425-605-7423 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Thursday, June 15, 2006 12:25 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] change install location based on privledge You can treat Directory Ids like properties if they are all in uppercase. You can detect the privilege level early on in the sequence and then set your product directory to an appropriate path. All sub-directories will get resolved as you'd expect. Rob Don Tasanasanta wrote: > I would like to create an install that will install to Program Files > if an admin is installing and will install to local user folder if a > user is installing. > > Any suggestions on how to get my installation directory property to > switch from one location to the other before the UI sequence is called? > > ______________________ > > > > Don Tasanasanta > > VIACK Corporation > > 425-605-7423 > > > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > 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 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users