http://bugs.winehq.org/show_bug.cgi?id=28975
--- Comment #2 from Anastasius Focht focht@gmx.net 2011-11-02 19:06:54 CDT --- Hello,
it seems that InstallShield related shim API is not documented on MSDN.
The installer code calling apphelp.ApphelpCheckInstallShieldPackage() puts following args on stack;
--- snip --- addr data 0033DFEC 0033E104 0033DFF0 001ED774 ; UNICODE "Z:\home\focht\Downloads\S60_5th_Edition_SDK_v1_0_en\data1.hdr" --- snip ---
stdcall (WINAPI), 2 args
arg1 = (ptr) seems to be address of caller supplied (stack based) buffer/structure arg2 = (wstr) path to package
returns: BOOL
Using that info a stub returning TRUE makes the installer succeed.
+apphelp:
--- snip --- 0009:trace:apphelp:ApphelpCheckInstallShieldPackage stub( 0x32e104, L"Z:\home\focht\Downloads\S60_5th_Edition_SDK_v1_0_en\data1.hdr") --- snip ---
Regards