Hello,

> 1) I use WixUI_InstallDir and want to suggest a certain path (e.g. 
> c:\MyTool\binary instead of c:\program files\MyTool ). I know this is 
> perhaps non-standard, but i have a different tool (not written by me), 
> which want to have my installation at this position. How i can give the 
> user a different path ?

For question 1 i have meanwhile found a solution:

http://www.dalun.com/wix/04.25.2007.htm

Solution from webpage:

      <Property Id="MYAPPPATH"><![CDATA[c:\mydir\]]></Property> 
<!-- New property -->

      <Directory Id='TARGETDIR' Name='SourceDir'>
         <Directory Id='ProgramFilesFolder' Name='PFiles'>
            <Directory Id="MYAPPPATH" Name="."> 
<!-- Overrides the parent folder -->
               <Directory Id='MyDir' Name='TestProg' LongName='Test 
Program'>
                  <Component Id='MyComponent' 
Guid='12345678-1234-1234-1234-123456789012'>


Disadvantage: This gives a warning when calling light
warning LGHT1076 : ICE48: Directory 'APPLICATIONROOTDIRECTORY' appears to be 
hardcoded in the property table to a local drive.
But i can live with this warning for now...

Best regards,

    Martin 


------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to