The dialog that asks for MYID should be sequenced before the dialog that asks
for INSTALLFOLDER.
On the MYID dialog's "Next" button you should add the Publish element that
sets INSTALLFOLDER to [CompanyName]\[MYID].

Does that make sense?

P.S
On the markup you sent you have SetDirectory element with hard code
"C:\Program Files (x86)\". This is definitely not recommended. You should
use [ProgramFilesFolder] instead.



-----
- Nir Bar
Freelance Developer.
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-install-directory-to-a-user-chosen-value-tp7599408p7599455.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to