[WiX-users] RegistrySearch fails, returns C: or Empty

2011-10-25 Thread Leo Koivuniemi
Hello all, I am having some problems with an installation using Wix v3 During install of application I run Property Id=SETUPFOLDER RegistrySearch Id=SETUPFOLDER Root=HKCU Key=SOFTWARE\$(var.Company)\$(var.Product)\Common Name=SetupFolder Type=raw / /Property SETUPFOLDER is later used for

Re: [WiX-users] RegistrySearch fails, returns C: or Empty

2011-10-25 Thread Rob Mensching
What does the verbose log file show? On Tue, Oct 25, 2011 at 8:10 AM, Leo Koivuniemi universalserial...@gmail.com wrote: Hello all, I am having some problems with an installation using Wix v3 During install of application I run Property Id=SETUPFOLDER RegistrySearch Id=SETUPFOLDER

Re: [WiX-users] RegistrySearch fails, returns C: or Empty

2011-10-25 Thread Leo Koivuniemi
Hi, thanks for fast reply! In the MSI log I can see that it actually finds the correct SETUPFOLDER path from registry, but then there are some rows saying: Ignoring disallowed property SETUPFOLDER But I can see that it finds the correct path because further down in the log I have something like

Re: [WiX-users] RegistrySearch fails, returns C: or Empty

2011-10-25 Thread Leo Koivuniemi
Hi again, I believe I solved it (haven't done enough testing yet though!)! It seems that the property had to be set as Secure=yes since otherwise UAC will not allow it. Will get back to you if I find that it is not solved. But I just tried an installation that earlier did not work and now it