in function deformat_environment did cut of one letter of GetEnvironmentVariableW at beigner in second call. it try found example LLUSERSPROFILE but it mean ALLUSERSPROFILE. fixed by me and hpussin.
Modified: trunk/reactos/lib/msi/format.c

Modified: trunk/reactos/lib/msi/format.c
--- trunk/reactos/lib/msi/format.c	2005-12-18 23:02:36 UTC (rev 20262)
+++ trunk/reactos/lib/msi/format.c	2005-12-18 23:13:05 UTC (rev 20263)
@@ -151,7 +151,7 @@
     {
         sz++;
         value = msi_alloc(sz * sizeof(WCHAR));
-        GetEnvironmentVariableW(&key[1],value,sz);
+        GetEnvironmentVariableW(key,value,sz);
         *chunk = (strlenW(value)) * sizeof(WCHAR);
     }
     else