Using the below settings the build "works" all of the files are copied and as far as I 
can tell the custom actions execute OK. I had some indication earlier that the scripts 
were not being run against the right server so the SQLSERVER property which is set 
using the <search> task is still questionable. The custom actions no longer throw an 
error but that is only because I made them "deferred" by adding 1024 to the type. I am 
not sure why that is required but it works. If anyone has an explanation I would love 
to hear it.

Now the services are still not being installed. It is as if the whole <table 
name="ServiceInstall"> is being ignored. Also once the service is installed I am 
concerned about uninstalling the service. Is that taken care of or do I need to add a 
service control table? My service is almost a direct copy from the wiki FAQ. Does 
anyone have a <table> entry that installs a service and they know also uninstalls the 
service?

I still would be interested in hearing how I could read from the binary table from a 
custom action if anyone has done such a thing.

Again taken from the wiki Orca considers the launchcondition IISVERSION >= \"#4\" to 
be invalid. Any ideas why?

Thank you.

Kevin

            <customactions>
                <customaction action="caSetTargetDir" type="51" source="TARGETDIR"
                              
target="[ProgramFilesFolder]\[Manufacturer]\[ProductName]" />
                <customaction action="GetLOCNames" type="1" 
source="PPCINSTALLATIONSUPPORT" target="ReadLocDBValues" />
                <customaction action="ConfigureLOC1" type="1026" source="OSQL" 
target="-E -n -o &quot;[TARGETDIR]/loc1.out&quot; -d [SQLLOC1] -S [SQLSERVER] -i 
&quot;[TARGETDIR]/PPC_LOC_DML.SQL&quot;" />
                <customaction action="ConfigureLOC2" type="1026" source="OSQL" 
target="-E -n -o &quot;[TARGETDIR]/loc2.out&quot; -d [SQLLOC2] -S [SQLSERVER] -i 
&quot;[TARGETDIR]/PPC_LOC_DML.SQL&quot;" />
                <customaction action="ConfigureDDL" type="1026" source="OSQL" 
target="-E -n -o &quot;[TARGETDIR]/ddl.out&quot; -d [SQLCATALOG] -S [SQLSERVER] -i 
&quot;[TARGETDIR]/PPC_DDL.SQL&quot;" />
                <customaction action="ConfigureDML" type="1026" source="OSQL" 
target="-E -n -o &quot;[TARGETDIR]/dml.out&quot; -d [SQLCATALOG] -S [SQLSERVER] -i 
&quot;[TARGETDIR]/PPC_DML.SQL&quot;" />
            </customactions>

            <sequences>
                <sequence type="installexecute" action="caSetTargetDir" condition="NOT 
TARGETDIR"
                          value="120" />
                <sequence type="installui" action="caSetTargetDir" condition="NOT 
TARGETDIR"
                          value="120" />
                <sequence type="adminexecute" action="caSetTargetDir" condition="NOT 
TARGETDIR"
                          value="120" />
                <sequence type="adminui" action="caSetTargetDir" condition="NOT 
TARGETDIR"
                          value="120" />
                <sequence type="installexecute" action="GetLOCNames" value="750" 
condition="NOT Installed" />
                <sequence type="installexecute" action="ConfigureLOC1" value="4050" 
condition="NOT Installed" />
                <sequence type="installexecute" action="ConfigureLOC2" value="4051" 
condition="NOT Installed" />
                <sequence type="installexecute" action="ConfigureDDL" value="4052" 
condition="NOT Installed" />
                <sequence type="installexecute" action="ConfigureDML" value="4053" 
condition="NOT Installed" />
            </sequences>


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

Reply via email to