skj
Posts: 40
Joined: Thu Apr 07, 2005 11:08 am

WINNT and WINDOWS

I was wondering what would be the best solution to tackle an issue I have.

I'm using WPS 4.62 on a Windows 2000 machine and I want my package to install in the appropriate SYSTEM32 folder for the Windows 2000 and Windows XP client machines I will be installing it to. My issue is that in Windows 2000, the windir folder is C:\WINNT and in XP, it's C:\WINDOWS.

Should I create separate components for the files that will be saved to those locations to have a condition check of whether the client machine is windows 2000 or windows xp?

Alternatively, is there some way I can make use of the "windir" environment variable to get around this? Perhaps through the use of some property or over-riding the SystemFolder and WindowsFolder path variables???

Basically, how do I get the package to intelligently work out which folder it needs to install files to for windows 2000 and windows xp machines?
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi,

Just go to "Files and Folders" page and place your files in the "Windows Volume">"Windows" folder. This is the Windows Directory for any OS.

Best,

Mihai.
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”