kcfischer
09-04-2008, 08:27 PM
I started getting errors building MSI Factory installs after upgrading to the latest version of MSI Factory. I was able to work around the error by hand editing the msifact project file. Deleting and recreating the file searches using MSI Factory did not correct the error.
The error occurs if you have more than one file search all looking in the same location. The problem is that all the have the same following attribute:
StartFolderSignatureId="FileSearchIn_0001".
I have includes the SearchProperties section of my MSI Factory project highlighting the duplicate text.
<SearchProperties>
<SearchProperty Type="2" ComplianceCheck="no" SignatureId="FileSearchFor_0001" StartSearchInFolder="[INSTALLDIR]" StartFolderSignatureId="FileSearchIn_0001" SearchForFile="regcli.exe" Depth="0" Languages="" MinVersion="" MaxVersion="" MaxDate="" MinDate="" MinSize="-1" MaxSize="-1">
<Property Id="REGCLIINSTALLED" Value="No" Admin="no" Hidden="no" Secure="no" SuppressModularization="no"/>
</SearchProperty>
<SearchProperty Type="2" ComplianceCheck="no" SignatureId="FileSearchFor_0002" StartSearchInFolder="[INSTALLDIR]" StartFolderSignatureId="FileSearchIn_0001" SearchForFile="sx32w.dll" Depth="0" Languages="" MinVersion="" MaxVersion="" MaxDate="" MinDate="" MinSize="-1" MaxSize="-1">
<Property Id="SX32WINSTALLED" Value="No" Admin="no" Hidden="no" Secure="no" SuppressModularization="no"/>
</SearchProperty>
<SearchProperty Type="2" ComplianceCheck="no" SignatureId="FileSearchFor_0003" StartSearchInFolder="[INSTALLDIR]" StartFolderSignatureId="FileSearchIn_0001" SearchForFile="csphotoadjust.dll" Depth="0" Languages="" MinVersion="" MaxVersion="" MaxDate="" MinDate="" MinSize="-1" MaxSize="-1">
<Property Id="CSPAINSTALLED" Value="No" Admin="no" Hidden="no" Secure="no" SuppressModularization="no"/>
</SearchProperty>
</SearchProperties>
The error occurs if you have more than one file search all looking in the same location. The problem is that all the have the same following attribute:
StartFolderSignatureId="FileSearchIn_0001".
I have includes the SearchProperties section of my MSI Factory project highlighting the duplicate text.
<SearchProperties>
<SearchProperty Type="2" ComplianceCheck="no" SignatureId="FileSearchFor_0001" StartSearchInFolder="[INSTALLDIR]" StartFolderSignatureId="FileSearchIn_0001" SearchForFile="regcli.exe" Depth="0" Languages="" MinVersion="" MaxVersion="" MaxDate="" MinDate="" MinSize="-1" MaxSize="-1">
<Property Id="REGCLIINSTALLED" Value="No" Admin="no" Hidden="no" Secure="no" SuppressModularization="no"/>
</SearchProperty>
<SearchProperty Type="2" ComplianceCheck="no" SignatureId="FileSearchFor_0002" StartSearchInFolder="[INSTALLDIR]" StartFolderSignatureId="FileSearchIn_0001" SearchForFile="sx32w.dll" Depth="0" Languages="" MinVersion="" MaxVersion="" MaxDate="" MinDate="" MinSize="-1" MaxSize="-1">
<Property Id="SX32WINSTALLED" Value="No" Admin="no" Hidden="no" Secure="no" SuppressModularization="no"/>
</SearchProperty>
<SearchProperty Type="2" ComplianceCheck="no" SignatureId="FileSearchFor_0003" StartSearchInFolder="[INSTALLDIR]" StartFolderSignatureId="FileSearchIn_0001" SearchForFile="csphotoadjust.dll" Depth="0" Languages="" MinVersion="" MaxVersion="" MaxDate="" MinDate="" MinSize="-1" MaxSize="-1">
<Property Id="CSPAINSTALLED" Value="No" Admin="no" Hidden="no" Secure="no" SuppressModularization="no"/>
</SearchProperty>
</SearchProperties>