I am having problems with InstallScript CAs that invoke multiple DLL functions.
The situation is some thing like this.
export prototype abc(HWND);
function abc(hMSI)
...
xyz(); // <- Another InstallScript function
end;
function xyz()
..
dll1();
MessageBox();
dll2();
// These are the functions in the dll.. Somehow only the first function
// executes. The messagebox line is never hit eventhough dll1() completes
// successfully. Not only does it skip dll2() it exits the entire CA and hits the
// next CA
end
Any help will be greatly appreciated.
Vikas
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
InstallScript Custom action problems
Started by
vikasv
, Jan 11 2005 16:28
2 replies to this topic
Posted 11 January 2005 - 21:40
Does it show the message box?
double check your prototype for dll1, the calling convetion (cdecl or stdcall) in particular.
double check your prototype for dll1, the calling convetion (cdecl or stdcall) in particular.
Stefan Krüger
InstallSite.org twitter facebook
Posted 12 January 2005 - 06:22
Thanks Stefan.
My Dll functions needed to be prototyped as CDECL. It works now.
Vikas
My Dll functions needed to be prototyped as CDECL. It works now.
Vikas