Checking registry in System Search returns # at the start of the value
I am using Wise Installation Studio 7.0
I have an install package that has a 'System Search' to check if .Net 3.5 SP1 is installed. Screenshot: http://screencast.com/t/n8pt4MOIF
I have used the recommend method of checking the Values Install and SP in the Key HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5 to see if 3.5 and SP1 is installed respectively.
I then use the properties to hide/show a '.Net 3.5 SP1 Download' button during the install process. I have added conditions on the Button control to hide/show it - basically, if the values from the above searches both = 0, then it is assumed 3.5 SP1 is not installed, and the button is made visible. Screenshot: http://screencast.com/t/xvG3lC3JUgN
However, it doesnt seem to be working - from all the articles online that i have read, the values should return 1 when checking these registry keys.
So what i did to check the value of the properties that is returned from the 'System Search' was to create a Text control on the form where the Download button is located, and added the property name in the 'Control Text' field to it to display the value during the install process. Screenshot: http://screencast.com/t/L9PNHaLSreu
When testing, the value shown in the text box was #1 and not 1 ......why is that? Is that correct behaviour?