I know it has been sometime since I posted an email about this issue; I hadn't had a chance to get back to this issue before now. Thank you, Pavan, for your help. The install is running beautifully now.
Be well, Amanda -----Original Message----- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, May 06, 2014 6:34 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Use Path from BrowseDlg to Set Registry Value (Not the Install Path) This is the source code from WIX Browse_dialog and InstallDirDlg, did you try doing the same for your other dialog? The below is from the browse dialog that shows up when user clicks on browse. <Dialog Id="MyBrowseDlg" Width="370" Height="270" Title="!(loc.BrowseDlg_Title)"> <Control Id="PathEdit" Type="PathEdit" X="25" Y="202" Width="320" Height="18" Property="_BrowseProperty" Indirect="yes" /> <Control Id="OK" Type="PushButton" X="240" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUIOK)"> <Publish Event="SetTargetPath" Value="[_BrowseProperty]">1</Publish> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> Below is the code from the InstallDirDlg that has the path once the user selects the install location. I have excluded a few line which are not required. <Dialog Id="MyInstallDirDlg" Width="370" Height="270" Title="!(loc.InstallDirDlg_Title)"> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" > <Control Id="Folder" Type="PathEdit" X="20" Y="100" Width="320" Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" /> As you can see the browse_property holds the path the user selected. In the UI.wxs where you sequence all your dialogs: <Publish Dialog="MyInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="MyInstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> Probably you can do the same for your other dialog too . -----Original Message----- From: Amanda Mallinger Reinartz [mailto:a...@metafile.com] Sent: Tuesday, May 06, 2014 4:05 PM To: 'General discussion about the WiX toolset.' Subject: Re: [WiX-users] Use Path from BrowseDlg to Set Registry Value (Not the Install Path) Thanks for the question. Yes. One is used to set the install location. The one I'm struggling with is the second one. Thanks for any help! Amanda -----Original Message----- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, May 06, 2014 5:37 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Use Path from BrowseDlg to Set Registry Value (Not the Install Path) Does the user have 2 separate browse dialogs during installation? -----Original Message----- From: Amanda Mallinger Reinartz [mailto:a...@metafile.com] Sent: Tuesday, May 06, 2014 3:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Use Path from BrowseDlg to Set Registry Value (Not the Install Path) I'm new to the list (and new to WiX). I've built a few installs, but I have a new one that is giving me fits. Can anyone share with me (or point me to a resource or disabuse me of false notions) how I can set a property (not a Directory property) a user browsed for (it's a mapped drive)? Why would I want to do this? I need to enable the user to browse for a second path and then use that path to set a registry value (no files are installed in this second location during the installation). Where I'm stuck is updating the property with what the path the user browsed for. I an error about the property not being in the Directory table. I've tried two things (using resources found online), but I've failed at both of them. 1. I used a directory browse dialog, but I got the error about the directory not being in the directory table. 2. I tried to set a directory property, but I then got an error about the drive not being local. I'm sure I'm missing something. Any guidance is greatly appreciated! Thanks, Amanda Mallinger ---------------------------------------------------------------------------- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users