Actually I use the set property events: Control Id="ProgramFilesBrowse" Type="PushButton" X="304" Y="70" Width="56" Height="17" Cancel="yes" Text="Browse..."> <Publish Property="_BrowseProperty" Value="INSTALLDIR" /> <Publish Event="SpawnDialog" Value="BrowseDlg">1</Publish> </Control> and similar one for SamplesFolder...
Richard-45 wrote: > > > 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 >> INSTALLDIR in the custom action doesn't have any effect. > > You don't need a custom action to set a property. > > If you are using a custom action to set the property in a ControlEvent > that is probably the source of your problem. Change it using a standard > set property event in the ControlEvent table. > -- > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download > <http://www.xmission.com/~legalize/book/download/index.html> > > Legalize Adulthood! <http://blogs.xmission.com/legalize/> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Using-single-Dialog-to-change-various-paths.-tp1117476p1374573.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users