Archive: Check For windows vista (all flavours)


Check For windows vista (all flavours)
HI All,
I want to check the OS if it is vista from NSIS installer. my installer installs .NET framework 2.0 sp1 on the client machine if it is xp.now if i use the same installer on vista it is throwing error. to handle this i need to identify the OS and skip the installation of .NET framework sp1.

if any of you has faced similar situation please help me.that would be appreciated.

thanks


!incluce WinVer.nsh

${If} ${IsWinVista}
# blah...
${EndIf}

HI,
the above code is not working. do i need to have any specific version of NSIS for that to do so.

please help i am beginner to this technology.


Latest would work...