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?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Just set the component directory to [SystemFolder]. This will get resolved to either 'C:\WINNT\System32' or 'C:\Windows\System32' etc depending on the target OS.

[8D] Keep cool. [8D]
Answered 04/14/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment