My INSTALLDIR property is defined:

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFFolder">
        <Directory Id="INSTALLDIR" Name="BaseUI">
          <Component Id="MainComponent"
Guid="98107824-90b8-4ecd-82b4-7622edd8c348">
            <File Id="Main.exe" Name="Main.exe" Source="bin\Main.exe"
DiskId="1">
              <Shortcut Id="MainExePMShortcut" Directory="BaseUIPMDir"
Name="Base UI" WorkingDirectory="INSTALLDIR" Description="My Base UI
Program" />
            </File>
          </Component>
        </Directory>
      </Directory>
      <Directory Id="ProgramMenuFolder" Name="PMFolder">
        <Directory Id="BaseUIPMDir" Name="Base UI" />
      </Directory>
    </Directory>

When the InstallDirDlg starts, INSTALLDIR property has value "C:\Program
Files\BaseUI\"
I don`t know how I could set initial value of the PathEdit control.

Peter Bocej
Emtest a.s.

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 5:23 PM
To: Peter Bocej
Cc: Wix-Users
Subject: Re: [WiX-users] Error 2343 - Specified path is empty


Peter Bocej wrote:
> Yes, INSTALLDIR property is set under the CostFinalize action:
> MSI (c) (1C:B8) [10:04:42:715]: PROPERTY CHANGE: Adding INSTALLDIR
property.
> Its value is 'C:\Program Files\BaseUI\'.
>

When you use Indirect="yes" you're telling the PathEdit control that the
property is the name of another property. Just omit it if the property
is the actual directory path.

--
sig://boB
http://bobs.org



__________ Informacia od NOD32 1.1808 (20061017) __________

Tato sprava bola preverena antivirusovym systemom NOD32.
http://www.eset.sk



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to