Hello,
I am having an issue when I attempt a conditional file installation
based on a folder being present. Currently I have the following:
<Property Id="M_USER" Value="C:\Documents and Settings\M" Secure="no"/>
<Property Id="FILEEXISTS">
<DirectorySearch Id="CheckDir" Path="[M_USER]" Depth="0"/>
</Property>
<Component Id="M_WorkAround"
Guid="{5XA4XXDD-XXXX-4X79-XXXX-D065X918BXX6}" Win64="no" KeyPath="yes">
<Condition>FILEEXISTS</Condition>
<File Id="sysFile.sys" Name="sysFile.sys" Source="sysFile.sys"
Checksum="yes" />
</Component>
Unfortunately, the installer always defaults to '1'. At the same
time it also does the following:
AppSearch: Property: FILEEXISTS, Signature: CheckFileDir
MSI (c) (14:58) [17:05:09:650]: Note: 1: 2262 2: Signature
3: -2147287038
Action ended 17:05:09: AppSearch. Return value 1.
According to a blog entry by Heath Stewart that should be||
STG_E_FILENOTFOUND, which could mean exactly what I want: The file isn't
present. If that's the case, why is 1 being returned from AppSearch?
Thank You for your time.
G
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users