I was pretty sure there was documentation in the WiX.chm that details how to do this. You have to be very careful to unreference the old dialog that you are replacing. Otherwise, you'lll end up with two dialogs that end up duplicating a bunch of symbols.
Unfortunately, the error messages are not terribly helpful when doing this. I remember that last time I had to customize the dialog sequence, I had to be very meticulous. The lack of good error messages makes it not the easiest task. On Tue, Jun 19, 2012 at 11:40 PM, eddie burkowich <eddieburkow...@gmail.com>wrote: > Hi, > I want to add an extra dialog (a simple one ) in the installer i have the > following: > > Main.wxs describing the directory structure > MyInstallDirDlg-some text modified > MyWixUI_InstallDir > > This is what i did : > > I copied the contents of InstallDirDlg and formed a new .wxs > > MyInstallDirPreferDlg.wxs > > and in the MyWixUI_InstallDir.wxs sequence i added the following > > -WixUI_MyInstallDirPreferDlg > > and added two publish statements as: > > <Publish Dialog="MyInstallDirPreferDlg" Control="Back" Event="NewDialog" > Value="LicenseAgreementDlg">1</Publish> > <Publish Dialog="MyInstallDirPreferDlg" Control="Next" > Event="NewDialog" Value="MyInstallDirDlg">1</Publish> > > > The initial contents of the MyInstallDirPreferDlg looks like: > > <UI> > > <Dialog Id="MyInstallDirPreferDlg" Width="370" Height="270" > Title="a new dialog"> > <Control Id="Next" Type="PushButton" X="236" Y="243" > Width="56" Height="17" Default="yes" Text="a new dialog" /> > <Control Id="Back" Type="PushButton" X="180" Y="243" > Width="56" Height="17" Text="!(loc.WixUIBack)" /> > <Control Id="Cancel" Type="PushButton" X="304" Y="243" > Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> > <Publish Event="SpawnDialog" > Value="CancelDlg">1</Publish> > </Control> > > I compiled everything as: > > >candle.exe main.wxs -dPlatform=x86 -ext WixUtilExtension > >candle.exe MyInstallDirDlg.wxs -dPlatform=x86 -ext WixUtilExtension > >candle.exe MyInstallDirPreferDlg.wxs -dPlatform=x86 -ext WixUtilExtension > >candle.exe MyWixUI_InstallDir.wxs -dPlatform=x86 -ext WixUtilExtension > > light.exe main.wixobj -dWixUILicenseRtf=License.rtf -ext WixUIExtension > -ext WixUIExtension -ext WixUtilExtension MyInstallPreferDlg.wixobj > MyInstallDirDlg.wixobj MyWixUI_InstallDir.wixobj -loc localization.wsl -o > impression.msi > > however it gives the errors as > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:BrowseDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:DiskCostDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:ErrorDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:FatalError' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:FilesInUse' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MsiRMFilesInUse' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:PrepareDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:ProgressDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:ResumeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:UserExit' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:BrowseDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'CustomAction:WixUIValidatePath' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:BrowseDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:InvalidDirDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:ExitDialog' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:WelcomeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:LicenseAgreementDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:WelcomeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:LicenseAgreementDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:WelcomeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:LicenseAgreementDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:CancelDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:CancelDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:LicenseAgreementDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:LicenseAgreementDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'CustomAction:WixUIValidatePath' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:InvalidDirDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:BrowseDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceTypeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:WelcomeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceWelcomeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceTypeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceTypeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceTypeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:VerifyReadyDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceTypeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'Dialog:MaintenanceWelcomeDlg' found. > C:\Program Files (x86)\Windows Installer XML v3.5\bin\WixUIExtension.dll : > error > LGHT0091 : Duplicate symbol 'WixUI:WixUI_Common' found. > > Please help to resolve this at the earliest. > > Thanks > Eddie > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users