OK - im gonna be more specific. Steps i had followed: 1. copied content of WixUI_InstallDir.wxs (<UI> element) and pasted it into my wxs installer source. 2. removed references to FilesInUse and MsiRMFilesInUse dialogs. 3. copied and pasted content of FilesInUse.wxs and MsiRMFilesInUse.wxs (<Dialog> definitions) into my source inside the <UI> element. 4. ... ran build.
...and a result is the cited error message: error LGHT0130: The primary key 'MsiRMFilesInUse' is duplicated in table 'Dialog' Simplified version of my <UI> looks like this: <UI Id="WixUI_MyInstallDir"> ... <DialogRef Id="BrowseDlg" /> <DialogRef Id="DiskCostDlg" /> <DialogRef Id="ErrorDlg" /> <DialogRef Id="FatalError" /> * <!-- <DialogRef Id="FilesInUse" /> <DialogRef Id="MsiRMFilesInUse" /> -->** <!-- Custom DIALOG DEFINITIONS --> <Dialog Id="MsiRMFilesInUse" ... > ... </Dialog> <Dialog Id="FilesInUse" ... > ... </Dialog>* <DialogRef Id="PrepareDlg" /> <DialogRef Id="ProgressDlg" /> <DialogRef Id="ResumeDlg" /> <DialogRef Id="UserExit" /> <Publish Dialog="BrowseDlg" ... >1</Publish> .... <Publish Dialog="MaintenanceTypeDlg" ...>1</Publish> <Property Id="ARPNOMODIFY" Value="1" /> </UI> Hope this will help. Huge thanks for any support. Sincerely, Jan Bob Arnson wrote: > Jan Bilek wrote: > >> When i try to define my own version of MsiRMFilesInUse like i've done >> for FilesInUse, then i receive an error message saying than the >> MsiRMFilesInUse dialog is already defined (error LGHT0130: The primary >> key 'MsiRMFilesInUse' is duplicated in table 'Dialog'.). I had commented >> all references to this dialog, but it didn't help. >> >> > > The same approach works for both FilesInUse and MsiRMFilesInUse so I > can't offer any suggestions without more detail about what you did and > how you did it. > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users