Re: [WiX-users] Using single Dialog to change various paths.

2008-10-26 Thread Bob Arnson
Richard wrote: > If its required, shouldn't WiX fail to build such a fragment then? > I overgeneralized; it's not required per se but the rules are such that a simple compile-time check wouldn't be sufficient. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-25 Thread Richard
In article <[EMAIL PROTECTED]>, Bob Arnson <[EMAIL PROTECTED]> writes: > Sergey Abakumoff wrote: > > > > 1 > > Control events need a condition. See the MSI SDK doc for ControlEvent. If its required, shouldn't WiX fail to build such a fragment then? -- "The Direct3D Graphi

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-25 Thread Bob Arnson
Sergey Abakumoff wrote: > Yep, it was my obvious fault. > 1 should be > used. > Thank you and sorry for very long discussion around the very simple thing. > We've talked about having a warning if the condition is omitted -- or even putting one in by default. Unfortunately, ControlEvent conditi

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-25 Thread Sergey Abakumoff
Yep, it was my obvious fault. 1 should be used. Thank you and sorry for very long discussion around the very simple thing. Bob Arnson-6 wrote: > > Sergey Abakumoff wrote: >> >> 1 >> > > Control events need a condition. See the MSI SDK doc for ControlEvent. > > -- > sig://

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Bob Arnson
Sergey Abakumoff wrote: > > 1 > Control events need a condition. See the MSI SDK doc for ControlEvent. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Devel

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
Richard, In the first post I mentioned that I use custom action. It was suggested in the reply that set property event should be used and I started to use that:) However, it didn't solve the problem as I mentioned. Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > Sergey Abakumoff

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Richard
In article <[EMAIL PROTECTED]>, Sergey Abakumoff <[EMAIL PROTECTED]> writes: > Actually I use the set property events: > Control Id="ProgramFilesBrowse" Type="PushButton" X="304" Y="70" Width="56" > Height="17" > Cancel="yes" Text="Browse..."> > > 1 > > an

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
Actually I use the set property events: Control Id="ProgramFilesBrowse" Type="PushButton" X="304" Y="70" Width="56" Height="17" Cancel="yes" Text="Browse..."> 1 and similar one for SamplesFolder... Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, >

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Richard
In article <[EMAIL PROTECTED]>, Sergey Abakumoff <[EMAIL PROTECTED]> writes: > > BrowseDlg always shows SAMPLESDIR folder, it doesn't matter that button was > clicked - ProgramFilesBrowse or SamplesBrowse. > So it seems that _BrowseProperty always set to SAMPLESDIR and setting it to > INST

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
BrowseDlg always shows SAMPLESDIR folder, it doesn't matter that button was clicked - ProgramFilesBrowse or SamplesBrowse. So it seems that _BrowseProperty always set to SAMPLESDIR and setting it to INSTALLDIR in the custom action doesn't have any effect. Bob Arnson-6 wrote: > > Sergey Abakumo

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Bob Arnson
Sergey Abakumoff wrote: > Unfortunately, this doesn't help..Does anyone have any other ideas? > Please explain how it doesn't work. Do you get an error message? -- sig://boB http://joyofsetup.com/ - This SF.Net email i

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
Unfortunately, this doesn't help..Does anyone have any other ideas? TIA Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > Sergey Abakumoff <[EMAIL PROTECTED]> writes: > >> >> > > Try this instead: > > > > > _BrowseProperty contains the name of t

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-04 Thread Richard
In article <[EMAIL PROTECTED]>, Sergey Abakumoff <[EMAIL PROTECTED]> writes: > > Try this instead: _BrowseProperty contains the name of the property that is to be set with the path; you are setting _BrowseProperty to the contents of INSTALLDIR and SAMPL

Re: [WiX-users] Using single Dialog to change various paths.

2008-09-25 Thread Sergey Abakumoff
Richard-45 wrote: > >>>Don't use DoAction to change the property, use a property setting >>>control event. > Even though I use property setting control event: 1 1 This doesn't work, browse dialog always shows SAMPLESDIR folder. Any

Re: [WiX-users] Using single Dialog to change various paths.

2008-09-25 Thread Richard
In article <[EMAIL PROTECTED]>, Sergey Abakumoff <[EMAIL PROTECTED]> writes: > However, BrowseDlg always shows SAMPLESDIR folder, it doesn't matter that > button was clicked - ProgramFilesBrowse or SamplesBrowse. Don't use DoAction to change the property, use a property setting control even

[WiX-users] Using single Dialog to change various paths.

2008-09-25 Thread Sergey Abakumoff
There are two paths that can be edited by user in my installer(The directory names are SAMPLESDIR and INSTALLDIR). I would like to use the same Browse Dialog to allow changing both of paths. First of all I defined new _BrowseProperty: Then, I defined two custom actions to change the property valu