Re: [4/4] msi: Test installing over in-use files.

2009-10-01 Thread Hans Leidekker
On Thursday 01 October 2009 08:46:13 pm Paul Vriens wrote: > > +RegOpenKeyExA(HKEY_LOCAL_MACHINE, key, 0, KEY_ALL_ACCESS,&hkey); > > +if (!RegQueryValueExA(hkey, value, NULL, NULL, NULL,&size)) > > +{ > > +skip("Pending file rename operations, skipping test\n"); > > +re

Re: [4/4] msi: Test installing over in-use files.

2009-10-01 Thread Paul Vriens
On 09/29/2009 02:57 PM, Hans Leidekker wrote: +static char key[] = "System\\CurrentControlSet\\Control\\Session Manager"; +static char value[] = "PendingFileRenameOperations"; + +RegOpenKeyExA(HKEY_LOCAL_MACHINE, key, 0, KEY_ALL_ACCESS,&hkey); +if (!RegQueryValueExA(hkey, valu