I am trying this now, but it seems that [ProgramFilesFolder] is resolved to
an empty string :(
<Variable Name="InstallFolder" Type="string"
Value="[ProgramFilesFolder]\$(env.MANUFACTURER)" />
...
<MsiPackage Id="MyPackage" Compressed="no" EnableFeatureSelection="no"
Name="MyPackage.msi" Cache="no"
SourceFile="c:\path\to\MyPackage.msi">
<MsiProperty Name='TARGETDIR' Value='[InstallFolder]' />
</MsiPackage>
So is this a missing feature at the moment?
Peter
On Fri, Nov 25, 2011 at 9:58 AM, Peter Bulyaki <[email protected]>wrote:
> Hi All,
>
> First I thought that this is an obvious question and someone asked it
> already, but could not find an answer anywhere. Could someone please let me
> know if the "Install location" textbox is setting any WixVariable or
> Property at all? And if I could get FileSystemAutoComplete="yes" working
> somehow? I do not have time to create my own bootstrapper at the moment, I
> am stuck with the default one in WiX 3.6, but it would be very nice if I
> could get this working. My only other option would be to hide the "Options"
> button.
>
> I know that using this install location is not something trivial, probably
> I would need to propagate a property towards my MSI packages through
> <MsiProperty>, and then let the MSI decide what it does with it, but at the
> moment I do not know where to write the default path to (the textbox is
> emtpy), and where to read the modified path from.
>
> Cheers:
> Peter
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users