2009-04-28 26 views
7

Tôi đang tạo giao diện người dùng cho trình cài đặt WiX và tôi đã bao gồm WixUI _ Chung. Tôi đã tìm kiếm xung quanh, nhưng tôi dường như không thể tìm thấy một danh sách toàn diện các hộp thoại được cung cấp bởi WiX.WiX 3.0: Danh sách các Hộp thoại Giao diện người dùng khả dụng

Vui lòng liệt kê mọi hộp thoại bạn biết và các hộp thoại sẽ làm gì.

Cập nhật: Nhờ câu trả lời của CheGueVerra, tôi có thể tìm thấy tệp wxs xác định tất cả Hộp thoại giao diện người dùng trong thư mục src \ ext \ UIExtension \ wixlib của mã nguồn WiX.

Ngoài ra, tôi tìm thấy một danh sách các hộp thoại chứng khoán tại wixwiki.com

+0

Bạn đã tải xuống nguồn cho WiX chưa? –

+0

Tôi hiện đang tìm kiếm thông qua nguồn. Vì tôi không quen với mã, tôi đang gặp khó khăn trong việc tìm kiếm các hộp thoại tồn tại. –

Trả lời

8

Gần đây, chúng tôi đã cải tiến tài liệu WiX 3.0 để bao gồm thêm chi tiết về WixUI. Trang mà Rob liên kết đến ở trên không tồn tại một vài tuần trước, vì vậy đó có thể là lý do bạn bỏ lỡ trang đó. Tôi cũng đã tăng cường chủ đề tại http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm đêm qua và thông tin đó có thể giúp bạn tại đây.

Cảm ơn!

+1

Dưới tiêu đề 'Tùy chỉnh ExitDlg' là một liên kết đến các hộp thoại WixUI cài sẵn. Đó là chính xác những gì tôi đang tìm kiếm. –

1

Bạn đã có một cái nhìn tại các WiX Tutorial lớn trong đó có một UI page here (archive)?

Theo như tôi nhớ, có mẫu giao diện người dùng mà bạn có thể tải xuống từ đó có một loạt hộp thoại giao diện người dùng trong đó. Không chắc chắn nếu đó là danh sách "hoàn chỉnh" và cuối cùng - nhưng chắc chắn là một danh sách khá hay, nếu tôi nhớ chính xác.

EDIT: thực sự có vẻ khó khăn để tìm danh sách đầy đủ các hộp thoại đó! Xin chào Rob - nếu bạn đọc phần này - đây sẽ là một phần bổ sung tuyệt vời cho tệp Trợ giúp WiX của bạn và Câu hỏi thường gặp về wix.sourceforge.net!

Tôi thậm chí không thể tìm thấy bất cứ điều gì trong nguồn ở tất cả ......

Nhưng đào lên một số mã tôi đã có, một thời gian, tôi phải đã tìm thấy một "WiXUI ...... wxi "mảnh tập tin, kể từ khi tôi tinh chỉnh danh sách các hộp thoại để loại bỏ các" Giấy phép thỏa thuận "hộp thoại. Ngoài ra, danh sách của tôi ở đây nên được hoàn thành, tôi nghĩ rằng:

<!-- 
First-time install dialog sequence:  Maintenance dialog sequence: 
- WixUI_WelcomeDlg      - WixUI_MaintenanceWelcomeDlg 
- WixUI_LicenseAgreementDlg   - WixUI_MaintenanceTypeDlg 
- WixUI_CustomizeDlg      - WixUI_CustomizeDlg 
    - WixUI_VerifyReadyDlg     - WixUI_VerifyReadyDlg 
    - WixUI_DiskCostDlg 
--> 

<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> 
    <Fragment> 
     <UI Id="WixUI_NoLicenseAgreement"> 
     <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> 
     <Property Id="WixUI_Mode" Value="FeatureTree" /> 

     <DialogRef Id="BrowseDlg" /> 
     <DialogRef Id="CustomizeDlg" /> 
     <DialogRef Id="DiskCostDlg" /> 
     <DialogRef Id="ErrorDlg" /> 
     <DialogRef Id="ExitDialog" /> 
     <DialogRef Id="FatalError" /> 
     <DialogRef Id="FilesInUse" /> 
     <DialogRef Id="MaintenanceTypeDlg" /> 
     <DialogRef Id="MaintenanceWelcomeDlg" /> 
     <DialogRef Id="MsiRMFilesInUse" /> 
     <DialogRef Id="PrepareDlg" /> 
     <DialogRef Id="ProgressDlg" /> 
     <DialogRef Id="ResumeDlg" /> 
     <DialogRef Id="UserExit" /> 
     <DialogRef Id="VerifyReadyDlg" /> 
     <DialogRef Id="WelcomeDlg" /> 

Tất nhiên, thứ tự mà các hộp thoại xuất hiện, được điều khiển bởi "chuỗi UI" trong cài đặt của bạn.

Marc

+1

Bạn có nghĩa là: http://wix.sourceforge.net/manual-wix3/WixUI_dialogs.htm? –

+0

Có nó! Tại sao trên trái đất là nó khó khăn như vậy để tìm :-) Cảm ơn, Rob. –

+0

Bây giờ tôi hiểu tại sao tôi không thể tìm thấy nó - nó chỉ nằm trong "tài liệu WiX 3.0" - nhưng tôi vẫn tiếp tục tìm kiếm theo các tài liệu 2.0. Bất kỳ lý do nào bạn cũng không thể đặt phần "chủ đề nâng cao" trong tài liệu 2.0? –

3

Nếu bạn tải về mã nguồn mới nhất cho WIX, bạn sẽ thấy việc kê khai cho WixUI_Common, trong file Common.wxs:

<UI Id="WixUI_Common"> 
    <!-- ui text --> 
    <UIText Id="AbsentPath" /> 
    <UIText Id="bytes">!(loc.UITextbytes)</UIText> 
    <UIText Id="GB">!(loc.UITextGB)</UIText> 
    <UIText Id="KB">!(loc.UITextKB)</UIText> 
    <UIText Id="MB">!(loc.UITextMB)</UIText> 
    <UIText Id="MenuAbsent">!(loc.UITextMenuAbsent)</UIText> 
    <UIText Id="MenuAdvertise">!(loc.UITextMenuAdvertise)</UIText> 
    <UIText Id="MenuAllCD">!(loc.UITextMenuAllCD)</UIText> 
    <UIText Id="MenuAllLocal">!(loc.UITextMenuAllLocal)</UIText> 
    <UIText Id="MenuAllNetwork">!(loc.UITextMenuAllNetwork)</UIText> 
    <UIText Id="MenuCD">!(loc.UITextMenuCD)</UIText> 
    <UIText Id="MenuLocal">!(loc.UITextMenuLocal)</UIText> 
    <UIText Id="MenuNetwork">!(loc.UITextMenuNetwork)</UIText> 
    <UIText Id="NewFolder">!(loc.UITextNewFolder)</UIText> 
    <UIText Id="ScriptInProgress">!(loc.UITextScriptInProgress)</UIText> 
    <UIText Id="SelAbsentAbsent">!(loc.UITextSelAbsentAbsent)</UIText> 
    <UIText Id="SelAbsentAdvertise">!(loc.UITextSelAbsentAdvertise)</UIText> 
    <UIText Id="SelAbsentCD">!(loc.UITextSelAbsentCD)</UIText> 
    <UIText Id="SelAbsentLocal">!(loc.UITextSelAbsentLocal)</UIText> 
    <UIText Id="SelAbsentNetwork">!(loc.UITextSelAbsentNetwork)</UIText> 
    <UIText Id="SelAdvertiseAbsent">!(loc.UITextSelAdvertiseAbsent)</UIText> 
    <UIText Id="SelAdvertiseAdvertise">!(loc.UITextSelAdvertiseAdvertise)</UIText> 
    <UIText Id="SelAdvertiseCD">!(loc.UITextSelAdvertiseCD)</UIText> 
    <UIText Id="SelAdvertiseLocal">!(loc.UITextSelAdvertiseLocal)</UIText> 
    <UIText Id="SelAdvertiseNetwork">!(loc.UITextSelAdvertiseNetwork)</UIText> 
    <UIText Id="SelCDAbsent">!(loc.UITextSelCDAbsent)</UIText> 
    <UIText Id="SelCDAdvertise">!(loc.UITextSelCDAdvertise)</UIText> 
    <UIText Id="SelCDCD">!(loc.UITextSelCDCD)</UIText> 
    <UIText Id="SelCDLocal">!(loc.UITextSelCDLocal)</UIText> 
    <UIText Id="SelChildCostNeg">!(loc.UITextSelChildCostNeg)</UIText> 
    <UIText Id="SelChildCostPos">!(loc.UITextSelChildCostPos)</UIText> 
    <UIText Id="SelCostPending">!(loc.UITextSelCostPending)</UIText> 
    <UIText Id="SelLocalAbsent">!(loc.UITextSelLocalAbsent)</UIText> 
    <UIText Id="SelLocalAdvertise">!(loc.UITextSelLocalAdvertise)</UIText> 
    <UIText Id="SelLocalCD">!(loc.UITextSelLocalCD)</UIText> 
    <UIText Id="SelLocalLocal">!(loc.UITextSelLocalLocal)</UIText> 
    <UIText Id="SelLocalNetwork">!(loc.UITextSelLocalNetwork)</UIText> 
    <UIText Id="SelNetworkAbsent">!(loc.UITextSelNetworkAbsent)</UIText> 
    <UIText Id="SelNetworkAdvertise">!(loc.UITextSelNetworkAdvertise)</UIText> 
    <UIText Id="SelNetworkLocal">!(loc.UITextSelNetworkLocal)</UIText> 
    <UIText Id="SelNetworkNetwork">!(loc.UITextSelNetworkNetwork)</UIText> 
    <UIText Id="SelParentCostNegNeg">!(loc.UITextSelParentCostNegNeg)</UIText> 
    <UIText Id="SelParentCostNegPos">!(loc.UITextSelParentCostNegPos)</UIText> 
    <UIText Id="SelParentCostPosNeg">!(loc.UITextSelParentCostPosNeg)</UIText> 
    <UIText Id="SelParentCostPosPos">!(loc.UITextSelParentCostPosPos)</UIText> 
    <UIText Id="TimeRemaining">!(loc.UITextTimeRemaining)</UIText> 
    <UIText Id="VolumeCostAvailable">!(loc.UITextVolumeCostAvailable)</UIText> 
    <UIText Id="VolumeCostDifference">!(loc.UITextVolumeCostDifference)</UIText> 
    <UIText Id="VolumeCostRequired">!(loc.UITextVolumeCostRequired)</UIText> 
    <UIText Id="VolumeCostSize">!(loc.UITextVolumeCostSize)</UIText> 
    <UIText Id="VolumeCostVolume">!(loc.UITextVolumeCostVolume)</UIText> 
</UI> 

Đây là từ nguồn 3.0.5217.0.

+0

Cảm ơn. Trong cùng thư mục như Common.wxs (src \ ext \ UIExtension \ wixlib) Tôi tìm thấy tất cả các tập tin wxs cho các hộp thoại. –

Các vấn đề liên quan