As an update I have the following properties (as reported in the msiexec log)
Property(C): SQLCatalog = PPCTSW5
Property(C): SQLServer = PPCDEVSQL01
But I am getting an error:
Action ended 22:56:06: InstallFiles. Return value 1.
Action start 22:56:06: ConfigureLOC1.
Error 1722. There is a problem with this Windows Installer package. A program run as
part of the setup did not finish as expected. Contact your support personnel or
package vendor. Action ConfigureLOC1, location: C:\WINNT\Installer\MSI8EE.tmp,
command: -E -n -d PPCTSW5LOC1 -S -i \"C:\Program
Files\Visa\ApplicationServer\/PPC_LOC_DML.SQL\"
Action ended 22:56:10: ConfigureLOC1. Return value 3.
Action ended 22:56:10: INSTALL. Return value 3.
One problem is that the -S switch should have a server associated with it. This is how
it is in the build file:
<customaction action="ConfigureLOC1" type="2" source="OSQL" target="-E
-n -d [SQLLoc1] -S [SQLServer] -i \"[TARGETDIR]/PPC_LOC_DML.SQL\"" />
So it seems that the SQLServer property is blank. What do you think I am doing wrong?
Kevin
-----Original Message-----
From: Burton, Kevin
Sent: Saturday, September 18, 2004 8:52 PM
To: 'James Geurts'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Installing .msi package from <msi> fatal error on target.
I was wondering if one reason that the custom action is failing is because the script
to be run has not been extracted yet. I can see two ways around this. I could put the
scripts in the binary table. But, I don't know hos to reference the script in the
target attribute (the command line arguments). I could change the sequence number to
be a sequence after the script is extracted from the .msi file. Does anyone have a
reference to what that sequence may be? I am using sequence number 750 maybe that is
already after the extraction has occured.
Kevin
-----Original Message-----
From: Burton, Kevin
Sent: Saturday, September 18, 2004 2:36 PM
To: 'James Geurts'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Installing .msi package from <msi> fatal error on target.
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