The prototype for an InstallScript function must have a HWND as a parameter.
It looks like my CA started working after I added the HWND.
I was never able to debug, display messages within the CA before.
Then when looking at some samples of a CA, I saw the HWND parameter.
When I tried it with my CA, eventhough I am not using the parameter, everything started to work (or at least my CA was being called).
Is this documented anywhere??
(I don't recall seeing this in the documentation)
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.
Basic MSI - Installscript CA MUST have parameter!!
1 reply to this topic
Posted 27 November 2003 - 01:45
Yes, this is mentioned in the comment in the setup.rul file for every basic project. It says you need to do this. I believe the cause of this is that Installscript is running as a Windows Installer DLL. These dll's are special since they only accept one parameter, the handle to the running windows installer database. Hence the requirement in Installscript to pass HWND to the custom action.