I found it was not on the DLL custom action but on the next custom action that the error was occuring. I have the following:
<customaction action="GetLOCNames" type="1" source="PPCINSTALLATIONSUPPORT" target="ReadLocDBValues" /> <customaction action="ConfigureLOC1" type="2" source="OSQL" target="-E -n -d [SQLLoc1] -S [SQLServer] -i \"[TARGETDIR]/PPC_LOC_DML.SQL\"" /> <customaction action="ConfigureLOC2" type="2" source="OSQL" target="-E -n -d [SQLLoc2] -S [SQLServer] -i \"[TARGETDIR]/PPC_LOC_DML.SQL\"" /> <customaction action="ConfigureDDL" type="2" source="OSQL" target="-E -n -d [SQLCatalog] -S [SQLServer] -i \"[TARGETDIR]/PPC_DDL.SQL\"" /> <customaction action="ConfigureDML" type="2" source="OSQL" target="-E -n -d [SQLCatalog] -S [SQLServer] -i \"[TARGETDIR]/PPC_DML.SQL\"" /> The first one which is a DLL (type 1) custom action seems to return just fine. The next four seem to be where the problem is. If I add an option to "continue and ignore the return" (changing the 2 to a 66) the package gets installed. I notice that when it gets installed some screens flash before me that don't look right but they happen too quickly for me to see what is wrong with the output. I looked in the log using msiexec and the output from these custom actions is not recorded. My question is how can I get the output from these custom actions, particularly when there is an error? I believe the osql process is really failing so I would like to see why and I am not sure how to go about it. Any ideas? Also the service table seems to be completely ignored. I copied the service installation directly from the wiki but I don't see any services installed and I did not see any errors in the log. I also could use some help with this. Thanks again. Kevin -----Original Message----- From: Burton, Kevin Sent: Friday, September 17, 2004 10:22 PM To: 'James Geurts' Cc: [EMAIL PROTECTED] Subject: Installing .msi package from <msi> fatal error on target. First, thank you for your help so far. I could not have gotten this far without some assistance. The package is building and the customaction seems to run OK but I am getting an error that I am not sure how to handle. The good news: Using msiexec I found that the properties that are set in my custom action are getting set: Property(S): SQLDatabaseCatalog = PPCTSW5LOC2 Property(S): SQLLoc1 = PPCTSW5LOC1 Property(S): SQLLoc2 = PPCTSW5LOC2 These properties are correct and they only could be set using the custom action. So that is some good news. But right after that in the log I get: MSI (c) (8C:A8): Back from server. Return value: 1603 MSI (c) (8C:A8): Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 Action ended 22:10:02: ExecuteAction. Return value 3. MSI (c) (8C:A8): Doing action: FatalError Action start 22:10:02: FatalError. DEBUG: Error 2826: Control BottomLine on dialog FatalError extends beyond the boundaries of the dialog to the right by 5 pixels The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalError, BottomLine, to the right Action 22:10:02: FatalError. Dialog created Action ended 22:10:04: FatalError. Return value 2. Action ended 22:10:04: INSTALL. Return value 3. It seems that it is complaining about the size of a control. How do I disable this control or is there another interpretation of the error? Thank you for your continued support. Kevin ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer