Jump to content


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.
Photo

InstallScript custom action problem


2 replies to this topic

shino

shino
  • Members
  • 16 posts

Posted 03 July 2006 - 14:55

I am trying to run installscript custom action in my basic msi project. If I call the function that I want to use, which is an exportred dll function, from OnMoving() it works fine but when I call it from my custom action nothing is happening.

I guess there is something wrong with my custom action because I can’t even show a simple MessageBox in it, despite of the sequence i point.

I also get this in the Event Viewer:

The description for Event ID ( 0 ) in Source ( IDriverT ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Service started.

Is this related to smth?

Can someone give an advice, how to continue.

thanx in advance

Edited by shino, 03 July 2006 - 16:21.


shino

shino
  • Members
  • 16 posts

Posted 04 July 2006 - 12:57

Just to add, that when i run it with verbose log, and here is the log part:

Action ended 19:15:12: OnMoving. Return value 1.
Action 19:15:12: MyAction_Installed.
Action start 19:15:12: MyAction_Installed.
Action ended 19:15:12: MyAction_Installed. Return value 3.

which i found is

ERROR_INSTALL_FAILURE - 1603 - 3 - A fatal error

Does anyone knows what is wrong with the CustomActiom i made.
Which is type 1, which i found is calling a dll , and it actually calls
ISScriptBirdge.dll which is supposed to execute the install script i wrote.

Could it be , that i call another dll with UseDLL from my install script.

thanks



shino

shino
  • Members
  • 16 posts

Posted 04 July 2006 - 13:46

It's ok, i found it.

the problem was that i haven't set a HWND argument to my installscript function. I have no idea why it is needed, but at least it works now.