Thank you for your feedback.
I took the liberty of translating your comments so other readers can benefit/participate. While I am OK with spoken Russian the technical terminology is a challenge for me. So some inaccuracies are possible . :)
.
I took the liberty of translating your comments so other readers can benefit/participate. While I am OK with spoken Russian the technical terminology is a challenge for me. So some inaccuracies are possible . :)
- ManagedSetup CustomUI - clicking on empty space in Features dialog triggers the exception.
Issue created: https://wixsharp.codeplex.com/workitem/69
Fixed in v1 0.27.0 with commit 6dcb879d27c9
. - CustomUI ShellView form is resizable.
Yes this is a mistake.
Fixed in v1 0.27.0 with commit a762ce072a0e
. - How to change size of the ShellView form?
You can do it by accessing the parent Form from the first dialog being displayed:
void WelcomeDialog_Load(object sender, EventArgs e) { image.Image = MsiRuntime.Session.GetEmbeddedBitmap("WixUI_Bmp_Dialog"); ((Form)Parent).Size = new Size(800, 600); }
- Cannot hide Feature in TreeView. Attributes = new Attributes() { { "Display", "hidden" } or { "Level", "0" } } has no effect.
This is a difficult one. The problem is caused by the deficiencies in the WiX implementation of the DTF support for features illustrated on the image below.
.
If you create the Wix# CustomUI project from the corresponding project template and try to debug the project you will see that the only information that is available when the TreeView is being built is the name of the feature. The rest of the properties is unavailable (throwing the exception).
Thus the FeatureInfo class cannot be used at runtime to update the feature item state in the TreeView. Subsequently Wix# has to rely only on the feature information available from MSI tables instead. And neither Display nor Level cannot be utilized this way. Meanubg that if you want to hide the feature item you will need either to remove it from the Project definition at compile time or do it at runtime from the C# definition of you FeaturesDialog.
. - Feature Description is not available if the feature is associated with merge module.
Issue created: https://wixsharp.codeplex.com/workitem/70
Fixed in v1 0.27.0 with commit 6dcb879d27c9
. - In Feature dialog TreeView selection losses all user choices after navigation to another dialog.
This feature was planned but wasn't (until now) implemented yet.
Issue created: https://wixsharp.codeplex.com/workitem/71
Fixed in v1 0.27.0 with commit 53800fa9093a
. - Is WixSharp Managed Setup - Cusom UI available for WPF runtime?
No, not at the moment. This feature is in my todo but to be honest I am not completely convinced it is of a reasonable priority. WPF EmbeddedUI samples are available and nothing stops user from creating rich WPF setup UIs. The main objective of 'Managed Setup - Standard UI' was to replicate the look and feel of the standard MSI native UI sequence and Forms were adequate enough for this. And for everything fancier you have the full power of WPF of non-standard UI.
However, I suggest you create a feature request and if it attracts users attention (up-voted) I will consider bringing it forward.