UI and dialog questions

3 messages Options
Embed this post
Permalink
Igor Paniushkin

UI and dialog questions

Reply Threaded More More options
Print post
Permalink
Hi All,

 

I'm trying to implement msi UI in WIX and have some questions.

My first question:

I have three dialogs which have the same edit boxes (5 edit boxes), but
values should end-up in different properties, what is the best approach?
Should I create three separate dialogs which will be different only in
names of properties and some dialog description and title? Should it be
one dialog, which will have Indirect set to yes?

 

Second question:

I have some custom dialogs which should be shown only in case if some
specific feature (features) is selected, so currently I was thinking
only about next possible solution:

 

    <Publish Dialog="Dlg1" Control="Back" Event="NewDialog"
Value="CustomizeDlg">1</Publish>

    <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="Dlg2"
Order="1"> !Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="Dlg3"
Order="2"> !Feature2 = 2 AND &Feature2 = 3</Publish>

    <Publish Dialog="Dlg1" Control="Next" Event="NewDialog" Value="Dlg4"
Order="3"> !Feature3 = 2 AND &Feature3 = 3</Publish>

    <Publish Dialog="Dlg1" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="4"> 1</Publish>

 

    <Publish Dialog="Dlg2" Control="Back" Event="NewDialog" Value="Dlg1"
Order="1">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="Dlg2" Control="Back" Event="NewDialog"
Value="CustomizeDlg" Order="2">1</Publish>

    <Publish Dialog="Dlg2" Control="Next" Event="NewDialog" Value="Dlg3"
Order="1"> !Feature2 = 2 AND &Feature2 = 3</Publish>

    <Publish Dialog="Dlg2" Control="Next" Event="NewDialog" Value="Dlg4"
Order="2"> !Feature3 = 2 AND &Feature3 = 3</Publish>

    <Publish Dialog="Dlg2" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="3"> 1</Publish>

 

    <Publish Dialog="Dlg3" Control="Back" Event="NewDialog" Value="Dlg2"
Order="1">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="Dlg3" Control="Back" Event="NewDialog" Value="Dlg1"
Order="2">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="Dlg3" Control="Back" Event="NewDialog"
Value="CustomizeDlg" Order="3">1</Publish>

    <Publish Dialog="Dlg3" Control="Next" Event="NewDialog" Value="Dlg4"
Order="1"> !Feature3 = 2 AND &Feature3 = 3</Publish>

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

 

    <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="Dlg3"
Order="1">!Feature2 = 2 AND &Feature2 = 3</Publish>

    <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="Dlg2"
Order="2">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="Dlg4" Control="Back" Event="NewDialog" Value="Dlg1"
Order="3">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="Dlg4" Control="Back" Event="NewDialog"
Value="CustomizeDlg" Order="4">1</Publish>

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

 

    <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="Dlg4" Order="1">!Feature3 = 2 AND &Feature3 = 3</Publish>

    <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="Dlg3" Order="2">!Feature2 = 2 AND &Feature2 = 3</Publish>

    <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="Dlg2" Order="3">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="Dlg1" Order="4">!Feature1 = 2 AND &Feature1 = 3</Publish>

    <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="CustomizeDlg" Order="5">1</Publish>

 

It is the small example for 4 dialogs (and this part is only related to
next/back handling base on feature selection, but I also need to call
some custom actions to verify some input information). Currently  I have
7 custom dialogs, I still not sure, but most probably all of them will
be based on feature selection, so to add for example one more dialog, I
will need to modify all other dialogs next/back events. Is there central
place, where I can specify condition for showing dialog?

 

Best Regards,

Igor


SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Bob Arnson-6

Re: UI and dialog questions

Reply Threaded More More options
Print post
Permalink
Igor Paniushkin wrote:
> I have three dialogs which have the same edit boxes (5 edit boxes), but
> values should end-up in different properties, what is the best approach?
> Should I create three separate dialogs which will be different only in
> names of properties and some dialog description and title? Should it be
> one dialog, which will have Indirect set to yes?
>  

Indirect properties are probably easier to maintain.

> It is the small example for 4 dialogs (and this part is only related to
> next/back handling base on feature selection, but I also need to call
> some custom actions to verify some input information). Currently  I have
> 7 custom dialogs, I still not sure, but most probably all of them will
> be based on feature selection, so to add for example one more dialog, I
> will need to modify all other dialogs next/back events. Is there central
> place, where I can specify condition for showing dialog?
>  

No, wizard navigation is on a per-button basis.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Igor Paniushkin

Re: UI and dialog questions

Reply Threaded More More options
Print post
Permalink
Thank you Bob!

I have 5 edit boxes and couple labels and dialog description which
should be changed base on selected dialog. So next and back button
should have around 10 Publish events which will change values of such
indirect properties. So I doubt if it will be easier to maintain.
But anyway thank you for your response, I was just wondering if there is
easier solution, which I just didn't see.

-----Original Message-----
From: Bob Arnson [mailto:[hidden email]]
Sent: Saturday, October 17, 2009 8:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] UI and dialog questions

Igor Paniushkin wrote:
> I have three dialogs which have the same edit boxes (5 edit boxes),
but
> values should end-up in different properties, what is the best
approach?
> Should I create three separate dialogs which will be different only in
> names of properties and some dialog description and title? Should it
be
> one dialog, which will have Indirect set to yes?
>  

Indirect properties are probably easier to maintain.

> It is the small example for 4 dialogs (and this part is only related
to
> next/back handling base on feature selection, but I also need to call
> some custom actions to verify some input information). Currently  I
have
> 7 custom dialogs, I still not sure, but most probably all of them will
> be based on feature selection, so to add for example one more dialog,
I
> will need to modify all other dialogs next/back events. Is there
central
> place, where I can specify condition for showing dialog?
>  

No, wizard navigation is on a per-button basis.

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users