We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

a.singh
Posts: 16
Joined: Wed Jan 11, 2017 10:38 am

Value returned by the search method is incorrect.

Hi,

I have defined one registry entry whose value is present inside "C:\Program Files\XYZ" but it is always returning "C:\Program Files (x86)\XYZ".

Inside registry the value is stored correctly and but inside installer "Program Files" is always replaced by "Program Files (x86)" whether I define anything inside Current User or Local Machine.

Please let me know how to get the correct value.

Thanks.
a.singh
Posts: 16
Joined: Wed Jan 11, 2017 10:38 am

Re: Value returned by the search method is incorrect.

If I am installing as user then it is working fine but if I am installing as admin then this issue is seen.

Is it a bug?

Please reply.. :(
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Value returned by the search method is incorrect.

Hi,

I'm afraid that this is the normal behavior when a 32-bit package is installed on a 64-bit machine. Please take a look on the "Can't find registry key" thread which debates a similar scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”