I"m using Nullsoft NSIS Installer System but only I need Windows Registry entry
I have googled, & looked at other ecole.vn questions. In particular, this Detect if Visual C++ Redistributable for Visual Studio 2012 is installed provides the exact Registry key khổng lồ check, but for the case of VS 2012.
My solution with NSIS system:
ReadRegDword $R1 HKLM "SOFTWAREWow6432NodeMicrosoftVisualStudio12.0VCRuntimesx64" "Installed"ReadRegDword $R2 HKLM "SOFTWAREWow6432NodeMicrosoftVisualStudio12.0VCRuntimesx86" "Installed"$If $R1 != "1" $AndIf $R2 != "1" !insertmacro Log "Error: VisualStudio DLLs to the standard package (C++) 2013 is required!!" !insertmacro Log "Setup was not completed successfully." SetDetailsView show Abort $Else !insertmacro Log "VisualStudio DLLs to lớn the standard package (C++) 2013 is installed."$EndIf
Thanks for contributing an answer khổng lồ Stack Overflow!Please be sure to lớn answer the question. Provide details and share your research!
But avoid …Asking for help, clarification, or responding lớn other answers.Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Not the answer you're looking for? Browse other questions tagged visual-c++ nsis or ask your own question.
site design / logo © 2022 Stack Exchange Inc; user contributions licensed under cc by-sa. Rev2022.1.19.41215