Macho Gwapito
Macho Gwapito

Reputation: 149

Does the SystemFolder property always transform its value depending on the Windows platform, i.e. x64 or x86?

I was trying to search a driver file in [SystemFolder]\drivers\ and I used the line below

<util:FileSearch Path="[SystemFolder]\drivers\my_Driver.sys" Result="exists" Variable="myDriver" />

The driver file that I am searching is always installed in C:\Windows\System32. So, will using the SystemFolder property work even if I am installing on a x64 platform? Does the SystemFolder property transform its value based on the Windows platform being installed on?

Upvotes: 1

Views: 1197

Answers (1)

Yan Sklyarenko
Yan Sklyarenko

Reputation: 32240

This article should answer your question entirely. Here's the excerpt:

The installer sets this property. For example, on 32-bit Windows the value may be C:\Windows\System32. On 64-bit Windows, the value may be C:\Windows\SysWow64.

Upvotes: 1

Related Questions