Volker Enderlein schrieb: > Bob Arnson schrieb: >> Volker Enderlein wrote: >>> i came across the idea of making the ProgramMenuDir configurable as >>> InstallShield and other installers do. You can give a different name to >>> the program group. Is that possible in WiX and if yes how? >>> >> Create a subdirectory of ProgramMenuFolder and you can give it any name >> you want. >> > > Thanks for your answer Bob, but I think I need to clarify the > difficulties I am facing. > > I know how to place a directory under the ProgramMenuFolder like > > <Directory Id="ProgramMenuFolder" Name="PFiles" LongName"Programs"> > <Directory Id="ProgramMenuDir" Name="test" LongName="Test 1.0" /> > </Directory> > > But say I have a property GROUPSEL which has been set in a UIDialog and > want to use this name. How would I do that? > > <Directory Id="ProgramMenuFolder" Name="PMenu" LongName"Programs"> > <!-- does not work --> > <Directory Id="ProgramMenuDir" Name="test" LongName="[GROUPSEL]" /> > <!-- does not work --> > <Directory Id="ProgramMenuDir" Name="test" LongName="GROUPSEL" /> > <!-- how to formulate it properly? --> > <Directory Id="ProgramMenuDir" Name="test" LongName="????????" /> > </Directory> > > I searched the archives and the help manual, but don't find a properly > solution. Maybe it's simply related using the wrong keywords. > > Thank you, Cheers Volker > I knew I was missing some fundamentals of WiX. I found the answer reading the wix tutorial a second time more carefully.
<CustomAction Id='PropertyAssign' Directory='INSTALLDIR' Value='[TARGETDIR]\Program Files\Acme\Foobar 1.0\bin' /> should do the trick. Thanks agaín for your answer. Keep up the good work, Cheers Volker -- Volker Enderlein Institut für Mechatronik e.V. an der Tel: +49 (0)371 53119651 Technischen Universität Chemnitz Fax: +49 (0)371 53119699 Reichenhainer Strasse 88 email: [EMAIL PROTECTED] D-09126 Chemnitz ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users