https://bugs.winehq.org/show_bug.cgi?id=45551
--- Comment #15 from Håkon haakobja@gmail.com --- (In reply to Zebediah Figura from comment #12)
I don't think this is a matter of a missing stub. From your +relay log:
0032:Call KERNEL32.LoadLibraryA(028e38a0 "C:\users\hjahre\Temp\{524EE888-6836-4CB2-92EC-A10E8821345D}\security. dll") ret=0039fff8 0032:Ret KERNEL32.LoadLibraryA() retval=f78f0000 ret=0039fff8
...
0032:Call KERNEL32.GetProcAddress(f78f0000,028e3570 "MySetFileSecurity") ret=003a03fd 0032:Ret KERNEL32.GetProcAddress() retval=00000000 ret=003a03fd
It then tries to load C:\windows\system32\security.dll, which exists on Windows, but that doesn't export MySetFileSecurity.
Can you please provide a trace with +module?
I checked a bit more. Seems like the InstallShield setup was unpacked to Temp. Included in the installation was Security.dll.
So setting a native override for Security.dll worked like a charm.
I kind of feel a bit stupid for not checking this before, but I did not think about the temp-folders.