1.  Advanced UI takes a bit of work to make it work.  Bob can answer the 
questions better (one day he promises he's going to write a compiler extension 
to make it easier)

2.  How to reference env vars?  Do you want build time or run time?
Build time:  $(env.BUILDMACHINEVAR).
Run time: [%CUSTOMERSMACHINEVAR]


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Harvy
Sent: Saturday, May 12, 2007 7:27 AM
To: WiX Users Group
Subject: [WiX-users] WixUI_Advanced Usage

Hi,

Only just learning this new program and have started in the deep end with Wix3.

I am trying to create my directory levels as follows:

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="AquariusCommsFolder" Name="Aquarius Communications 2">
          <Directory Id="APPLICATIONFOLDER" Name="[ApplicationFolderName]" >
            <Component Id="Bin"

ApplicationFolderName is "MyClubV2".


The problem is that when installing using WixUI_Advanced, the default all users 
directory is coming up as C:\Program Files\MyClubV2 and not C:\Program 
Files\Aquarius Communications 2\MyClubV2 as I want it to.

How do I get around this?

Also, when I used INSTALLDIR in place of APPLICATIONFOLDER (and used 
WixUI_INSTALLDIR) the full path as I wanted worked.

Another question while I'm here :-)  : How do I retrieve user environment 
variables into WiX ?

Thanks in advance.

Glen.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to