Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compilation error - ICE80: The 64BitComponent ... uses 32BitDirectory

The following line

<Component Guid='{THE_GUID}' Id='GlobalScopePackages' >

Generates the following error:

Error   4   ICE80: This 64BitComponent GlobalScopePackages uses 32BitDirectory blablabla    c:\development\...\file.wxs

Error is described on this page http://msdn.microsoft.com/en-us/library/aa369034(VS.85).aspx

How do I fix this or suppress the warning? Is it safe to simply supress the warning?

like image 471
Chris Ballance Avatar asked Dec 18 '09 15:12

Chris Ballance


3 Answers

I want a 64-bit installer (as per my Release configuration), so I used <Directory Id="ProgramFiles64Folder"> instead of ProgramFilesFolder as part of the target installation path.

This article provides more information: How to: Create the Windows Installer Package for 64-bit Client Computers

like image 73
PeterX Avatar answered Sep 24 '22 00:09

PeterX


You can also set Win64="no" in the <Component /> tag of the components which are not 64-bit.

But I can confirm you can ignore this.

like image 24
darda Avatar answered Sep 22 '22 00:09

darda


Safe to just suppress the warning.

like image 33
knarf Avatar answered Sep 25 '22 00:09

knarf