PDA

View Full Version : Getting Windows Directory in 2003



Shabani
11-07-2003, 12:46 AM
Hi,

I am using install shield Dev Studio 9. In Windows 2003 professional, Install shield is returning windows directory (WINDIR) as c:\docuements and settings\administrator\windows. User name will be changed according to the logged in user. (This is the windows directory private for each user ). But it is returning correct path ( c:\windows) in windows 2003 Standard.

Any help would be greatly appreciated.

Thanking You

Regards
Shabani

DevinEllingson
11-08-2003, 06:49 AM
Shabani,

We call the Windows API 'GetWindowsDirectory' to get the Windows directory, so whatever this API returns is what we use, you can confirm this by calling this API directly and seeing what is returned on the systems in question.

Devin Ellingson
InstallShield Software Corporation