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   [ + ] Show comments

Answers (1)

Posted by: brenthunter2005 15 years ago
Fifth Degree Brown Belt
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]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ