does anyone knows how can I make my nsis installer update visual studio include path with my sdk paths?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In next text I assume you use Visual Studio 2008.
If you want to directly change the paths you must modify file %LOCALAPPDATA%\Microsoft\VisualStudio\9.0\VCComponents.dat.
There is no need to write keys into registry, because directories are saved here.
Use this NSIS code to add directory C:\YOUR DIRECTORY HERE into it:
Be carefull with this because there are many options.
Ini typically looks like this:
[PLATFORM]
Directories=Dir1;Dir2;$(VSVariable)path
Above example writes directory into Win32 and Include files. See the picture to understand it.
For Visual Studio 2010 the format has been changed (to XML):
http://blogs.msdn.com/b/vsproject/archive/2009/07/07/vc-directories.aspx