Search code examples
windowsvb6pathsystem32

Difference between Path WinSysPath & WinSysPathSysFile?


In a .LST file for my VB6 installer there are two lines as follow:

[email protected],$(WinSysPathSysFile),......
[email protected],$(WinSysPath),.....

After installing my application, I found out that both go to the same \Windows\System32 folder. Do you know what is the difference between both paths?

Thanks


Solution

  • This dates back from VB4, I think, a version that could still generate 16-bit executables. Where the system directory was c:\windows\system, the synonym of $(WinSysPath). $(WinSysPathSysFile) is c:\windows\system32. There should be no difference on a 32-bit operating system, but worth a check. wshom.ocx really does belong in system32. It is already there on any recent operating system.