hi. thank you so much. i tried that and several variations of end; and the error goes away but the installer also fails, crashes, so I looked back into the code.
- so, maybe you can point me to a sample of what I need
- I have 'begin Result := true; if Not RegQueryDWordValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64', 'Major', major) then..."
- I want the task installvcruntime to, by default be checked but then uncheck it if the Reg Key DWORD is detected