I am running some installer on my machine which is giving me error on 78th line. I don't know how to fix hence providing you code snippet from line number 74 to 84:
strKeyPath = "SOFTWARE\Microsoft\Micros
oft SQL Server\Instance Names"
IsSQLsubkeyFound = FALSE
FOR EACH subkey IN subkeys
IF subkey = "SQL" THEN
IsSQLsubkeyFound = TRUE
Note : This script basically checks for the sql instance name and then installs simulator installer. This vb script works fine when I have MSSQLSERVER 2008 Express installed on my machine. However currently I have installed MSSQL Server 2012 and having this error. Screenshot attached, in case more info is required please let me know. Thanks!