I am trying to create an installer using WiX which doesn\'t show the license agreement at the start. But I get the error as below.
Error code 2819 means "Control [3] on dialog [2] needs a property linked to it" (taken from Windows Installer Error Messages). If you extract the MSI traces (add /l*v to the command line) you'll be able to see what [3] and [2] stand for, and continue debugging from there.
Removing that gets the following error in the MSI logs:
DEBUG: Error 2819: Control Folder on dialog InstallDirDlg needs a property linked to it
Basically this means that the "browse for folder" control isn't linked up to an actual property value. You've used the value INSTALLLOCATION
for the application folder - which in turn means you'll need to add the following value to link the dialog:
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
Good luck!
My experience is: you should add Property attribute in Control tag. Like:
<Control Id="NameEdit" Type="Edit" X="45" Y="85" Width="220" Height="18" Property="USERNAME" Text="{80}" />