Author Topic: WCL new x32 version and new critical bug!  (Read 40477 times)

Emran

  • Guest
WCL new x32 version and new critical bug!
« on: September 16, 2013, 07:33:15 AM »
hi
i am using InstallShield to create setup for my application.
i use x32 of wcl to work with both 32 and 64 bit cpu.
in old version all things is ok.
but when i update to new version when i want to build InstallShield project i am get error :
Error -5008: Intel64 must be specified in the template of the Summary Stream.
http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q107786&sliceId=1&docTypeID=DT_ERRDOC_1_1&dialogID=157637187&stateId=0%200%20157629864

in build log i see InstallShield want to merg Visual C++ 10.0 CRT (x64) automatically...
i think some things worng with x32 version on complie time...
isnt it?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL new x32 version and new critical bug!
« Reply #1 on: September 16, 2013, 07:54:25 AM »
Hi,

Probably, but we are not developers of InstallShield and unfortunately we can not help you with InstallShield as we even do not use it.

All I can do is just recomend to make sure that wcl.dll you added in your setup is 32 bit one and that your project is x86 as well (not x64 or AnyCPU).

Emran

  • Guest
Re: WCL new x32 version and new critical bug!
« Reply #2 on: September 16, 2013, 08:09:09 AM »
my project build with x86 version, and i used InstallShield 2010, this issue is for WCL i think!, not InstallShield... becuse i used it before with old version x32 of WCL,
when you release new version i replace new version of this WCL, and this error i see it.
other things i must say InstallShield will automatically analyze files, when InstallShield want to add "Visual C++ 10.0 CRT (x64)" this mean WCL need "Visual C++ 10.0 CRT (x64)"...

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL new x32 version and new critical bug!
« Reply #3 on: September 16, 2013, 08:19:41 AM »
I have just downloaded latest WCL from the site (all .NET license) and checked them: installation contains 2 versions: x86 and x64. Also, if your application is marked as x86 and can start so it uses WCL x86 (otherwise it could not start). So there is all is fine with WCL setup package. Also, WCL does not need full C++ CRT but just 2 files which are part of WCL package. Unfortunetaly I do not know how InstallShield works and how it decide to include something in Setup. I can just guess that there is some mix with wcl.dll files in your setup or project references.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL new x32 version and new critical bug!
« Reply #4 on: September 16, 2013, 08:25:54 AM »
Also just did additional test with registered WCL Developer 6.12.3.0 downloaded. TDUMP shows that all wcl.dll in x32 folder (WCL installation) are 80386 (x86). All wcl.dll from x64 folder (WCL installation) are AMD64 (x64). So there is something wrong with your setup script or configuration.

Emran

  • Guest
Re: WCL new x32 version and new critical bug!
« Reply #5 on: September 16, 2013, 09:11:01 AM »
thank you for take your time.

did you check this folder???

WCL\NET\redist\x32\40

i check InstallShield static scan WCL\NET\redist\x32\20 it say need for Visual C++ 8.0 CRT (x86) WinSXS MSM and this is ok, but i check agin
folder WCL\NET\redist\x32\40
and it say me need Visual C++ 10.0 CRT (x64)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL new x32 version and new critical bug!
« Reply #6 on: September 16, 2013, 09:17:34 AM »
tdump C:\Users\Mike\Documents\WCL\NET\redist\x32\40\wcl.dll >qqq.txt

Turbo Dump  Version 6.5.2.0 Copyright (c) 1988-2013 Embarcadero Technologies, Inc.
Display of File c:\users\mike\documents\wcl\net\redist\x32\40\wcl.dll

Old Executable Header

DOS File Size                                     11F000h  (1175552. )
Load Image Size                                      450h  (  1104. )
Relocation Table entry count                          0000h  (     0. )
Relocation Table address                              0040h  (    64. )
Size of header record      (in paragraphs)            0004h  (     4. )
Minimum Memory Requirement (in paragraphs)            0000h  (     0. )
Maximum Memory Requirement (in paragraphs)            FFFFh  ( 65535. )
File load checksum                                    0000h  (     0. )
Overlay Number                                        0000h  (     0. )

Initial Stack Segment  (SS:SP)           0000:00B8
Program Entry Point    (CS:IP)           0000:0000


Portable Executable (PE) File

Header base: 00000108

CPU type                 80386
Flags                    2102 [ executable linenumbers symbols backwards 32bit library ]
DLL flags                0100 [ NXCompat ]
Linker Version           A.0
Time stamp               522F06E8 : Tue Sep 10 14:47:52 2013
O/S Version              5.1
User Version             0.0
Subsystem Version        5.1
Subsystem                0002 [ Windows GUI ]
Object count             00000005
Symbols offset           00000000
Symbols count            00000000
Optional header size     00E0
Magic #                  10B
Code size                00060C00
Init Data size           00118800
Uninit Data size         00000000

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: WCL new x32 version and new critical bug!
« Reply #7 on: September 16, 2013, 09:18:51 AM »
tdump C:\Users\Mike\Documents\WCL\NET\redist\x64\40\wcl.dll >qqq.txt

Turbo Dump  Version 6.5.2.0 Copyright (c) 1988-2013 Embarcadero Technologies, Inc.
Display of File c:\users\mike\documents\wcl\net\redist\x64\40\wcl.dll

Old Executable Header

DOS File Size                                     136400h  (1270784. )
Load Image Size                                      450h  (  1104. )
Relocation Table entry count                          0000h  (     0. )
Relocation Table address                              0040h  (    64. )
Size of header record      (in paragraphs)            0004h  (     4. )
Minimum Memory Requirement (in paragraphs)            0000h  (     0. )
Maximum Memory Requirement (in paragraphs)            FFFFh  ( 65535. )
File load checksum                                    0000h  (     0. )
Overlay Number                                        0000h  (     0. )

Initial Stack Segment  (SS:SP)           0000:00B8
Program Entry Point    (CS:IP)           0000:0000


Portable Executable (PE) File

Header base: 00000110

CPU type                 AMD64
Flags                    2022 [ executable linenumbers symbols largeaddr backwards library ]
DLL flags                0100 [ NXCompat ]
Linker Version           A.0
Time stamp               522F071A : Tue Sep 10 14:48:42 2013
O/S Version              5.2
User Version             0.0
Subsystem Version        5.2
Subsystem                0002 [ Windows GUI ]
Object count             00000007

Emran

  • Guest
Re: WCL new x32 version and new critical bug!
« Reply #8 on: September 16, 2013, 10:39:23 AM »
ok, i thinks i found how can i solve this problem, i post this if any body have the same issue can help him.
after adding wcl in InstallShield , right click wcl.dll in application data>files and folders>wcl.dll and select dependencies form scan at build and uncheck Visual C++ 10.0 CRT (x64) !!!!

 

Sitemap 1 2 3 4 5 6 7