Manually move VC++ 2k5 Express installation files

Good evening...

Admiittedly I'm being somewhat anal, but I'd like to move a few of the directories around that VC++ 2005 Express created when I installed it.

Generally, I'd like to split the IDE & Help files from the library and compiler.

I previously installed the VC2k3 Toolkit in my C:\Cpp\VCToolkit2003 directory.  So I wanted to move the bin, lib, and include sub directories of the VC directory that VC++2k5 Express installed in C:\Program Files\Microsoft Visual Studio 8\VC into C:\Cpp\VCToolkit2005.

Can I do this and just change the directories under Tools | Options | Projects and Solutions | VC++ Directoreis

On a related note, where is the $(VCInstallDir) and other $(...) variables defined   I don't see them in my command shell when I type set.

Thanks.





Answer this question

Manually move VC++ 2k5 Express installation files

  • Harlan Witherspoon

    You don't have to use the VCinstall dire environment variable. Just type the full path of the include and lib path.

    Moving such folders is not advisable since I am guess other components depend on it. You just need to try and see if it works as expected.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • brusi

    Take a look at the videos at http://msdn.microsoft.com/visualc/learning/vcexpvids/default.aspx. Specially the one using the PSDK with the express SKU. It will include how to specify different directories.

    As for the VCinstalldir environment variable, you need to have a visual studio command prompt opened or from any command shell call the file vcvars32.bat (part of the VC installation) first and it should set such environments.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Murtaza Zaidi

    Good afternoon...

    So, then I can move the VC\include, VC\lib, and VC\bin directories to where ever I want on my harddrive

    How does the IDE (not the command prompt) translate the VCInstalldir mnemonic   Is that in the registry or a config file somewhere   If I move the aforementioned files can I still use mnemonics to point to the files or do I have to use literals

    I'm running low on disk space so I'd hate to copy the files, I'd rather only have one copy.  It also makes updating much easier.

    Thanks.

  • Manually move VC++ 2k5 Express installation files