Cleaning up ORCA validation errors with <msi>
I would like to clean up the validation errors that ORCA is giving me on the
.msi file that is generated with <msi>. The first is
File '_16DAF77607134690A1A85B786548DE5A' cannot be a key file for Compnonent
'C__16DAF77607134690A1A85B786548DE5A'. The file belongs to
'C__BA6C20264C4642888B0113F08764F245'
What I think are the applicable <msi> lines are
<component name="IVRService_Files"
id="{FDDB850E-8DE2-491C-8CE5-997D84162A6A}" attr="2"
directory="IVRServiceRootFolder" keepsubdirs="true"
feature="IVRWebServiceFeature">
<key file="IVRService.asmx" />
<fileset basedir="${build.dir}/IVRService">
<include name="bin/**" />
<include name="Global.asax" />
<include name="Global.asax.cs" />
<include name="Global.asax.resx" />
<include name="IVRService.asmx" />
<include name="IVRService.asmx.cs" />
<include name="IVRService.asmx.resx" />
<include name="AssemblyInfo.cs" />
<include name="Web.Config" />
</fileset>
</component>
and
<directory name="IVRServiceRootFolder" foldername="IVRService"
root="TARGETDIR" />
The next errors are because I don't think I have removed the dialog completely
from the .msi;
Not a valid foreign key; Table Dialog, Column: Control_First, Key(s):
SetuptypeDialog
Not a valid foreign key; Table Dialog, Column: Control_Default, Key(s):
SetuptypeDialog
Not a valid foreign key; Table Dialog, Column: Control_Cancel, Key(s):
SetuptypeDialog
Not a valid foreign key; Table Dialog, Column: Control_First, Key(s):
LicenseAgreementDlg
Not a valid foreign key; Table Dialog, Column: Control_Default, Key(s):
LicenseAgreementDlg
Not a valid foreign key; Table Dialog, Column: Control_Cancel, Key(s):
LicenseAgreementDlg
Then
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminFinishedForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'ConfirmInstallForm' not found
in Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminFolderForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminUserExitForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminResumeForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminWelcomeForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminFinishedForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminFatalErrorForm' not found
in Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'WelcomeForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'ProgressForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'FolderForm' not found in Binary
Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'ResumeForm' not found in Binary
Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'MaintenanceForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'FatalErrorForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'UserExitForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'FinishedForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminProgressForm' not found in
Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminMaintenanceForm' not found
in Binary Table
Bitmap: '' for Control: 'BannerBmp' of Dialog: 'AdminConfirmInstallForm' not
found in Binary Table
Finally I have two warnings:
This action CreateVDir has duplicate sequence number '770' in the table
InstallExecuteSequence
This action CreateVDir has duplicate sequence number '770' in the table
AdminExecuteSequence
The applicable lines in <msi> are:
<!-- This is executed after clicking "install" and when you see
the progress bar. -->
<sequence type="installexecute" action="CreateVDir" value="770"
condition="NOT Installed" />
<sequence type="adminexecute" action="CreateVDir" value="770"
condition="NOT Installed" />
<!-- On uninstallation -->
<sequence type="installexecute" action="RemoveVDir" value="770"
condition="REMOVE="ALL"" />
<sequence type="adminexecute" action="RemoveVDir" value="770"
condition="REMOVE="ALL"" />
The sequence is the same for RemoveVDir and CreateVDir but the condition
prevents the two from actually being executed. Is this a bug in ORCA?
Thank you.
Kevin
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer