AndrewPepper
Level 2

Application requires .NET 4, generates 14 errors, but still produces setup

I'm struggling with producing an installation for an application; the application needs .net 4.0; ideally, I'd like the installer to download it on the customer's PC if needed, but I can't see where you specify that. When I try and build the setup.exe file, I get 14 errors:
Error 11 -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\ia64\WindowsServer2003-KB898715-ia64-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{ce5f9d26-8a64-470b-a408-6d19381f5018}\WindowsServer2003-KB898715-ia64-enu.exe' ISEXP : error : -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\ia64\WindowsServer2003-KB898715-ia64-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{ce5f9d26-8a64-470b-a408-6d19381f5018}\WindowsServer2003-KB898715-ia64-enu.exe'

Error 13 -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x64\WindowsServer2003-KB898715-x64-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{7f53ac5d-d59d-4f72-b8d3-2cc3bb6383ce}\WindowsServer2003-KB898715-x64-enu.exe' ISEXP : error : -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x64\WindowsServer2003-KB898715-x64-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{7f53ac5d-d59d-4f72-b8d3-2cc3bb6383ce}\WindowsServer2003-KB898715-x64-enu.exe'

Error 15 -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x64\WindowsXP-KB898715-x64-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{531950bf-fab7-4434-8ca7-b5893ab197f8}\WindowsXP-KB898715-x64-enu.exe' ISEXP : error : -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x64\WindowsXP-KB898715-x64-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{531950bf-fab7-4434-8ca7-b5893ab197f8}\WindowsXP-KB898715-x64-enu.exe'

Error 5 -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x86\WindowsInstaller-KB893803-v2-x86.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsInstaller-KB893803-v2-x86.exe' ISEXP : error : -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x86\WindowsInstaller-KB893803-v2-x86.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsInstaller-KB893803-v2-x86.exe'

Error 9 -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x86\WindowsServer2003-KB898715-x86-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsServer2003-KB898715-x86-enu.exe' ISEXP : error : -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\Windows Installer\3.1\x86\WindowsServer2003-KB898715-x86-enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsServer2003-KB898715-x86-enu.exe'

Error 7 -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\WindowsImagingComponent\x86\wic_x86_enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{2A0CC195-B3AF-4B63-8F5C-1F88A7E28ADF}\wic_x86_enu.exe' ISEXP : error : -1007: Cannot copy source 'C:\Program Files (x86)\InstallShield\2013LE\SetupPrerequisites\WindowsImagingComponent\x86\wic_x86_enu.exe' to target 'D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{2A0CC195-B3AF-4B63-8F5C-1F88A7E28ADF}\wic_x86_enu.exe'

Error 8 -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{2A0CC195-B3AF-4B63-8F5C-1F88A7E28ADF}\wic_x86_enu.exe" ISEXP : error : -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{2A0CC195-B3AF-4B63-8F5C-1F88A7E28ADF}\wic_x86_enu.exe"

Error 16 -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{531950bf-fab7-4434-8ca7-b5893ab197f8}\WindowsXP-KB898715-x64-enu.exe" ISEXP : error : -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{531950bf-fab7-4434-8ca7-b5893ab197f8}\WindowsXP-KB898715-x64-enu.exe"

Error 6 -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsInstaller-KB893803-v2-x86.exe" ISEXP : error : -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsInstaller-KB893803-v2-x86.exe"

Error 10 -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsServer2003-KB898715-x86-enu.exe" ISEXP : error : -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{57bcd1d4-2de9-49d9-bc0c-3f4263e9970e}\WindowsServer2003-KB898715-x86-enu.exe"

Error 14 -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{7f53ac5d-d59d-4f72-b8d3-2cc3bb6383ce}\WindowsServer2003-KB898715-x64-enu.exe" ISEXP : error : -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{7f53ac5d-d59d-4f72-b8d3-2cc3bb6383ce}\WindowsServer2003-KB898715-x64-enu.exe"

Error 12 -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{ce5f9d26-8a64-470b-a408-6d19381f5018}\WindowsServer2003-KB898715-ia64-enu.exe" ISEXP : error : -5054: Could not determine the size of the file "D:\Documents\Visual Studio 2013\Projects\SUP\Smart School Menu Generator Setup\SUPSetup\Express\SingleImage\DiskImages\DISK1\ISSetupPrerequisites\{ce5f9d26-8a64-470b-a408-6d19381f5018}\WindowsServer2003-KB898715-ia64-enu.exe"


I've seen a similar problem described with InstallShield 2010, but the solution given referred to the full version and doesn't seem to apply to the express version.
0 Kudos
1 Reply
NameTooShort
Flexera
Flexera

Hi,

Can you try launching VS as admin, unselect .NET 4.0, and reselect it?
0 Kudos