Title: WixUI_InstallDir problems
 
Most likely becouse you need to set the property to your installation location like this:
 
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
 
Albert


Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Nordvik, Christer
Verzonden: maandag 10 juli 2006 10:33
Aan: wix-users@lists.sourceforge.net
Onderwerp: [WiX-users] WixUI_InstallDir problems

Hi!

I have the following wxs file:

    <Property Id="INSTALLDIR">
      <RegistrySearch Id="Search" Root="HKLM" Key="Software\Microsoft\InetStp" Name="PathWWWRoot" Type="raw" />
    </Property>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLDIR" Name="Inet" LongName="Inetpub">
        <Directory Id="ROOTDIR" Name="MyFld" LongName="MyFolder">
          <Directory Id="INSTALLLOCATION" Name="v2" LongName="v2.0.0">
            <Component Id="ConfigFiles" Guid="{myguid}">
              <File Id="MyAppFile" Name="Web.Co~" LongName="Web.Config" Vital="yes" DiskId="1" KeyPath="yes" Source="Web.Config">

              </File>
...
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<UIRef Id="WixUI_InstallDir" />

I want the program location to be configurable. Like c:\inetpub\wwwroot can be configured
to c:\mypub\rootfolder but the program will always create the directory MyFolder\v2.0.0.
So if the user chooses c:\test then the program will be installed into c:\test\MyFolder\v2.0.0.
 
Everything is working during installation but the program always gets installed into the default value of the dialog (the one from registry).

If I change to WixUI_Minimal then everything works fine (I can change the installation folder).

Any help is very appreciated!

-Christer


-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to