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?
FOLLOW US
Get the latest news in Application Packaging