Hi,

I want to add Product key dialog in WixUI_InstallDir. So I written <UI> 

Like 

 

<UI Id="myui">

      <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />

      <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />

      <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />

      <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9"
Bold="yes" />

 

      <Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" />

      <Property Id="PIDTemplate" Value="####-####-####-####" />

      <Property Id="ARPNOMODIFY" Value="1" />

 

      <DialogRef Id="BrowseDlg" />

      <DialogRef Id="DiskCostDlg" />

      <DialogRef Id="ErrorDlg" />

      <DialogRef Id="FatalError" />

      <DialogRef Id="FilesInUse" />

      <DialogRef Id="MsiRMFilesInUse" />

      <DialogRef Id="PrepareDlg" />

      <DialogRef Id="ProgressDlg" />

      <DialogRef Id="ResumeDlg" />

      <DialogRef Id="UserExit" />

 

      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
Value="Return" Order="999">1</Publish>

      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish>

      <Publish Dialog="LicenseAgreementDlg" Control="Back"
Event="NewDialog" Value="WelcomeDlg">1</Publish>

      <Publish Dialog="LicenseAgreementDlg" Control="Next"
Event="NewDialog" Value="LicenseKeyDlg">LicenseAccepted = "1"</Publish>

 

      <Publish Dialog="LicenseKeyDlg" Control="Back" Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish>

      <Publish Dialog="LicenseKeyDlg" Control="Next"
Event="ValidateProductID" Value="[PIDKEY]" Order="1">1</Publish>

      <Publish Dialog="LicenseKeyDlg" Control="Next" Event="NewDialog"
Value="InstallDirDlg" Order="2">ProductID</Publish>

 

      <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog"
Value="LicenseKeyDlg">1</Publish>

      <Publish Dialog="InstallDirDlg" Control="Next"
Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>

      <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="2">1</Publish>

      <Publish Dialog="InstallDirDlg" Control="ChangeFolder"
Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]"
Order="1">1</Publish>

      <Publish Dialog="InstallDirDlg" Control="ChangeFolder"
Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>

      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="InstallDirDlg" Order="1">NOT Installed</Publish>

      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="MaintenanceTypeDlg" Order="2">Installed</Publish>

 

      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next"
Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="Back"
Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>

 

      <Dialog Id="LicenseKeyDlg" Width="370" Height="270"
Title="[ProductName] Setup">

        <Control Id="Title" Type="Text" X="15" Y="6" Width="200"
Height="15" Transparent="yes" NoPrefix="yes"
Text="{\WixUI_Font_Title}User Information" />

        <Control Id="Description" Type="Text" X="25" Y="23" Width="280"
Height="15" Transparent="yes" NoPrefix="yes" Text="Enter the following
information to personalize your installation" />

        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370"
Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />

        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370"
Height="0" />

 

        <Control Id="UserNameLabel" Type="Text" X="20" Y="60"
Width="290" Height="13" Text="Full Name:" />

        <Control Id="UserName" Type="Edit" X="20" Y="72" Width="320"
Height="18" Property="USERNAME" Text="47"/>

        <Control Id="OrgNameLabel" Type="Text" X="20" Y="93" Width="290"
Height="13" Text="Organization:" />

        <Control Id="OrgName" Type="Edit" X="20" Y="105" Width="320"
Height="18" Property="COMPANYNAME" Text="{53}" />

        <Control Id="LicenseKeyLabel" Type="Text" X="20" Y="126"
Width="290" Height="13" Text="License Key:" />

        <Control Id="LicenseKey" Type="MaskedEdit" X="20" Y="139"
Width="320" Height="15" Property="PIDKEY" Text="[PIDTemplate]" />

 

        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
Height="0" />

        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="Next" />

        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="Back" />

        <Control Id="Cancel" Type="PushButton" X="304" Y="243"
Width="56" Height="17" Cancel="yes" Text="Cancel">

          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>

        </Control>

      </Dialog>

    </UI>

 

However I am getting error like 

 

Error      2              ICE17: Bitmap: 'WixUI_Bmp_Dialog' for Control:
'Bitmap' of Dialog: 'FatalError' not found in Binary table
C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\FatalError.wxs
21           1              WixProject2

Error      3              ICE17: Bitmap: 'WixUI_Bmp_Dialog' for Control:
'Bitmap' of Dialog: 'UserExit' not found in Binary table
C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\UserExit.wxs
21           1              WixProject2

...

...

...

 

Can anyone tell me how to resolve this errors.

 

Thanks,

Rahul Ekbote

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to