[wpkg-users] Silent installs of MSI or exe files.

Charles Gargent charlesgargent at gmail.com
Wed Aug 12 14:37:26 CEST 2009


Works on my XP machine and my 7 RC1 machine

2009/8/12 Rainer Meier <r.meier at wpkg.org>:
> Hi Charles,
>
> Charles Gargent wrote:
>> try %WINDIR%
>
> I think %windir% has been used in pre-Windows NT times while starting from
> Windows NT %SystemRoot% has been introduced.
>
> Have a look at HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
> and you will find windir to point at %SystemRoot%.
>
> So if you're running Windows NT or newer (2000, XP, Vista, 7) I recommend using
> the built-in %SystemRoot% variable.
>
> I did not find an official statement but the usage of %windir% on modern Windows
> systems might be deprecated.
>
> br,
> Rainer
>



More information about the wpkg-users mailing list