January 13, 2010

Did you get these MSI 4.5 PreReq Integration Errors in InstallShield 2010 SP1

This post focuses on the compilation error's, - 1007 and 5054, when the pre-requisites that has other dependency is include for the installer. This article is validated against InstallShield 2010 SP1

For a requirement to support Windows Installer 4.5, for both Windows XP SP3 and Windows Server 2003 SP2 Operating System, the following Pre-Requisites were selected from Application Data -> Reditributables.
  • Windows Installer 4.5 Update for Windows Server 2003 SP2 and later (x86)
  • Windows Installer 4.5 Update for Windows XP SP3 and later (x86)
and during compilation (either from IDE or Stand Alone Builder), the following error messages were displayed.
  1. ISDEV : error -1007: Cannot copy source '<ISPRODUCT>\SetupPrerequisites\Windows Installer\4.5\x86\Pre-Vista\WindowsServer2003-KB942288-v4-x86.exe' to target '<ISPROJECT>\Product Configuration 1\Release\DiskImages\DISK1\ISSetupPrerequisites\{a0f7f2eb-ed14-4351-a30e-ef802db4b38f}\WindowsServer2003-KB942288-v4-x86.exe'
  2. ISDEV : error -5054: Could not determine the size of the file "<ISPROJECT>\Product Configuration 1\Release 1\DiskImages\DISK1\ISSetupPrerequisites\{a0f7f2eb-ed14-4351-a30e-ef802db4b38f}\WindowsServer2003-KB942288-v4-x86.exe"
  3. ISDEV : error -1007: Cannot copy source '<ISPRODUCT>\SetupPrerequisites\Windows Installer\4.5\x86\Pre-Vista\WindowsXP-KB942288-v3-x86.exe' to target '<ISPROJECT>\Product Configuration 1\Release 1\DiskImages\DISK1\ISSetupPrerequisites\{22aa129a-8e5d-45ae-a3e4-d110703ef141}\WindowsXP-KB942288-v3-x86.exe'
  4. ISDEV : error -5054: Could not determine the size of the file "<ISPROJECT>\Product Configuration 1\Release 1\DiskImages\DISK1\ISSetupPrerequisites\{22aa129a-8e5d-45ae-a3e4-d110703ef141}\WindowsXP-KB942288-v3-x86.exe"
 The reason for the error is, the two selected pre-requisites has dependency on the other pre-requisites -
Windows Installer 4.5 Update for Windows Server 2003 SP1 and later (x86)
Windows Installer 4.5 Update for Windows XP SP2 and later (x86)
Selecting these pre-requisites did help to go past the errors.

Hint :- For the compilation -1007 & -5054, open the selected pre-requisite in edit mode to view the dependencies, if any, then include the dependency file too. 

1 comment: