4

I have added InstallDemo.wxs file and copied the code from WixUI_InstallDir src/ext/wixlib/, Then i have added UIRef into product.wxs file after that when i built the solution i got this 50 error "Unresolved reference to symbol 'Dialog:BrowseDlg' in section 'Fragment' so, Help me to resolve this issue.. please tell me how to create a simple dialog screen in 'WIX' please help, Thank you.!

Cegone
  • 489
  • 1
  • 9
  • 23
  • This page in the manual explains (beyond everything else) how to customize the dialog sequence and insert a new dialog in the flow: http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html – Yan Sklyarenko Jan 08 '14 at 16:24
  • 1
    Thanks for reply, I am new to Wix, so i didn't do lot of stuff to complete the process. as per your link.. i come to know to add properties. Thank you.. – Cegone Jan 09 '14 at 14:12

2 Answers2

8

Have you referenced the WixUIExtension in your WIX Installation project? You need this to give you the BrowseDialog.

You can find the WixUIExtension.dll file in the bin folder of the WiX Toolset installation folder in Program Files.

Luke
  • 22,826
  • 31
  • 110
  • 193
caveman_dick
  • 6,302
  • 3
  • 34
  • 49
  • Thanks for you reply, I added the WixUIExtension reference already. Now i haven't receive any error like Unresolved reference...etc. I missed to add property for dialog control. That's the reason of my error. Thank again. – Cegone Jan 09 '14 at 14:22
  • Hi, Yes you right, If removed the WixUIExtension, and built the solution, the error i got.. ! Thank U – Cegone Jan 10 '14 at 06:47
  • @Cegone If this helped you, you should consider accepting it as the answer. – sirdank Feb 04 '16 at 20:37
1

I added a new wxs file by accident to a WiX project with build action as content rather than Compile; therefore, WiX was not compiling the newly added wxs file since it was being treated as a content file.

Simple solution is to remove and then re-add the new wxs file.

Keith Neuse
  • 723
  • 1
  • 6
  • 12