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

Reply via email to