Hi All, My program will be installed to a path in registry, which has two different values for single user and all users. So I'd like to have something like: <Property Id="MYINSTALLDIR"> if single user, then <RegistrySearch Id='MyRegistry' Type='raw' Root='HKCU' Key='Software\MyApp\Foo' Name='InstallDir' /> else if ALLUSERS, then <RegistrySearch Id='MyRegistry' Type='raw' Root='HKLM' Key='Software\MyApp\Foo' Name='InstallDir' /> </Property>
Christopher in stackoverflow told me to use SetProperty custom action to assign different properties. But I'm still not sure how to write such a custom action. Could anyone shed some light? Thanks in advance. Regards, Deqing ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users