Windows Installer V3-V2 bug?
Posted 03 April 2006 - 00:19
process (CreateProcess) which in turn launches another process and calls a
function from a DLL. The DLL function calls the windows API functions -
"AdjustTokenPrivilges" and "GetFileSecurity".
When we use Windows Installer V3 everything works correctly, but when the
machine has Windows Installer V2.6, the "AdjustTokenPrivileges" function
fails with error code 1300, and then continuing on, the "GetFileSecurity"
function fails with error 1314.
I have run quite a bit of debugging on this code and I have found that the
privileges assigned to the process are exactly the same for both versions.
(I originally thought that this was the problem).
The only difference I have found (using "GetTokenInformation") is that for
Windows Installer V3, all of the privileges are NOT enabled are lableled
specifically as "disabled".
From the information i have found, this looks like a change introduced with
the Windows Installer V3 package.
Has anyone seen this before or has anyone got any ideas on what could be
Posted 20 April 2006 - 05:21
Posted 20 April 2006 - 11:31
Posted 26 April 2006 - 02:32
Posted 26 April 2006 - 07:21
Posted 26 April 2006 - 07:34