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:
      <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>

      <Control Id="SamplesBrowse" Type="PushButton" X="304" Y="100"
Width="56" Height="17"
          Cancel="yes" Text="Browse...">
        <Publish Property="_BrowseProperty" Value="[SAMPLESDIR]" />
        <Publish Event="SpawnDialog" Value="BrowseDlg">1</Publish>
      </Control>
This doesn't work, browse dialog always shows SAMPLESDIR folder.
Any other thoughts?

-- 
View this message in context: 
http://n2.nabble.com/Using-single-Dialog-to-change-various-paths.-tp1117476p1120012.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

Reply via email to