PDA

View Full Version : Error in dosnet20_include dependency check


ljensen
08-14-2008, 11:08 AM
In MSI Factory v2.1.1000.0 the dotnet20_include.lua that gets installed with MSIF seems to have a bug. It *checks* for Windows Installer 3.1, but posts a message stating Windows Installer 3.0 is required (see code snippet below). Is this fixed in the latest version?

Thanks.


===============================================
-- need MSI 3.1
if (String.CompareFileVersions(strMSIVersion,"3.1.4000.2435") == -1) or (not strMSIVersion) then
-- MSI 3.1 is not installed
bRequirementFail = true;
strTemp = Application.GetLocalizedString("DOTNET20_FAIL_MSI30");
Table.Insert(tbRequirementFailStrings, Table.Count(tbRequirementFailStrings) + 1, strTemp);
end

venky
08-14-2008, 09:26 PM
DOTNET20_FAIL_MSI30 is a XML variable that is replaced with the text "The .NET 2.0 runtime module requires Windows Installer 3.0. Please install this technology then run the setup again" when the windows installer 3.1 requirement fails. If you look up the file English.xml (in dotnet20_Include folder) you will see all the variables and their string values. If you want you can edit the file and change DOTNET20_FAIL_MSI30 in the English.xml to DOTNET20_FAIL_MSI31 and then update all DOTNET20_FAIL_MSI30 references to DOTNET20_FAIL_MSI31 in dotnet20_include.lua script file.

This is not a bug or anything. There is nothing to be fixed. All that is being done here is to use a variable DOTNET20_FAIL_MSI30 to inform the user that windows 3.x needs to be already installed on Windows 2000 or later OS prior to installing .Net 2.0.

Hope this helps.