Hi all, I have a problem with PathEdit and PushButton. During my installation a folder with some subfolders is created. You can change the path during the installation. I did it with PathEdit and PushButton. If I use PushButton to change the folder, everything works fine. If I just change the path in the PathEdit-Field, only the folder is created with the new path, the subfolders are created under the default path.
Here are the code snippets: <Directory Id='LOCAL_PATH' Name='.'> <Directory Id='DATA_DELTA_FROM_CLIENT' Name='data_delta_from_client'/> <Directory Id='DATA_DELTA_TO_CLIENT' Name='data_delta_to_client'/> <Directory Id='MOBILE_DB' Name='mobile_db'/> </Directory> <?define my_LOCAL_PATH="c:\Projekt\Client_DBs\"?> <ComponentRef Id='Comp_MOBILE_DB' /> <ComponentRef Id='Comp_DATA_DELTA_FROM_CLIENT' /> <ComponentRef Id='Comp_DATA_DELTA_TO_CLIENT' /> <Component Id='Comp_DATA_DELTA_FROM_CLIENT' Directory='DATA_DELTA_FROM_CLIENT' Guid="B50BF5EF-78E3-448E-8698-9D8808811CF4"> <CreateFolder/> </Component> <Component Id='Comp_DATA_DELTA_TO_CLIENT' Directory='DATA_DELTA_TO_CLIENT' Guid="35B56383-F5E9-4D0A-9CBB-F607D774FEDD"> <CreateFolder/> </Component> <Component Id='Comp_MOBILE_DB' Directory='MOBILE_DB' Guid="02FC6F8C-E18E-4a78-9843-3D4ABDA51987"> <CreateFolder/> </Component> <Control Id="TxtLocalPath" Type="PathEdit" X="15" Y="164" Width="290" Height="18" Property="LOCAL_PATH" /> <Control Id="BrowseLocalPath" Type="PushButton" X="310" Y="164" Width="50" Height="17" Text="..."> <Publish Property="_BrowseProperty" Value="LOCAL_PATH">1</Publish> <Publish Event="SpawnDialog" Value="BrowseDlg">1</Publish> </Control> Thanks you for any help. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problem-with-PathEdit-and-PushButton-tp6323570p6323570.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users