Hi Regina, Adding the registry key manually solved the issue. However, I wonder if this the correct way for using visual C++ compiler.
Thanks, Ankit On Mon, Sep 22, 2014 at 7:53 PM, Regina Henschel <rb.hensc...@t-online.de> wrote: > Hi Ankit, > > Ankit Tekriwal schrieb: > >> Hi Regina, >> >> I have all the required tools present at main/external. >> The registry settings does not contain the key ProductDir at >> HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Setup/VC/ >> This is causing the issue. >> Can you tell what can be done for this? >> > > You can try to use file vcvars.bat from ..\Microsoft Visual Studio > 9.0\VC\bin\. It sets some environment variables. That might be enough to > enable oowintool to find the file. > > You can write the registry key manually. Goto the above mentioned registry > branch. > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VC > > I've got the same value in the branch > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\9.0\Setup\VC > in additon. I don't know, whether it is needed. > > [I have a German Windows, so the English words might be a little bit > different.] > Right click VC. New... [German Neu...] String [German Zeichenfolge]. Enter > ProductDir in the field. Then right click the new name, then item Edit > [German Ă„ndern]. You get a field, where you can enter the string value. > Write the full path there. For me it is > c:\Program Files\Microsoft Visual Studio 9.0\VC\ > for example. > > Remember to always make a backup, before changing the registry manually. > > > Kind regards > Regina > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >