yiminyangguang520 / eid-mw

Automatically exported from code.google.com/p/eid-mw
GNU Lesser General Public License v3.0
0 stars 0 forks source link

MSI file errors when building under Windows #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download build 1327
2. Build_all.bat
3. MSI creation errors are displayed

What is the expected output? What do you see instead?
No MSI file creation errors

What version of the product are you using? On what operating system?
Windows 7 32 bit

Please provide any additional information below.

There seem to be some issues with names of files. 
1) Some of the dll's are lib's so the naming inside the Product.wxs is 
incorrect. 
2) Some exe files are missing
3) some paths are wrong: beidsccertprop.exe
4) link to an old SDK 2.6?

The following errors appear:

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(274) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\sccertprop\Release\beidsccertprop.exe'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(290) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\misc\setup_win\beidoutlooksnc.exe'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(294) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\misc\setup_win\beidoffice2010_XAdES_XL.exe'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(309) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\vs_2010\binaries\win32_release\beid40cardlayer.dll'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(310) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\vs_2010\binaries\win32_release\beid40common.dll'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(311) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\vs_2010\binaries\win32_release\beid40DlgsWin32.dll'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(315) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\vs_2010\binaries\win32_release\beidmdrv32.dll'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(325) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\vs_2010\binaries\pkcs11_ff_release\beid_ff_pkcs11.dll'.

C:\turtoisesvn\eid-mw-read-only\installers\eid-mw\Windows\Product.wxs(334) : 
error LGHT0103 : The system cannot find the file 
'..\..\..\..\ThirdParty\beid_sdk\2.6\bin\pinpad\xireid.dll'.

Original issue reported on code.google.com by kristof....@gmail.com on 31 Oct 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Fixed the Windows buildsystem, apart from the eid-viewer.exe, which (for the 
moment) still nees to be copied manually from 
http://eidfiles.be/continuous/viewer/

Original comment by frederik...@gmail.com on 5 Nov 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Hi,

On the 32 bit build there is still one problem that the product.wxs file on 
line 309 is pointing to ..\..\..\vs_2010\binaries\win32_release\beidmdrv32.dll 
but this file is not existing. The file is not named correctly in that folder 
(beidmdrv.dll in stead of beidmdrv32.dll).

Kristof

Original comment by kristof....@gmail.com on 5 Nov 2012 at 2:42

GoogleCodeExporter commented 9 years ago
Also line 326 in Product64.wxs is referring to a wrong name.

Original comment by kristof....@gmail.com on 5 Nov 2012 at 2:53

GoogleCodeExporter commented 9 years ago
Renamed them, 
thanks

Original comment by frederik...@gmail.com on 5 Nov 2012 at 3:26

GoogleCodeExporter commented 9 years ago
On line 124 in file quickinstaller.nsi the following should be changed:

     File "..\..\Windows\bin\BeidMW_64.msi"
into
     File "..\..\Windows\BeidMW_64.msi"

On line 132 the following should be changed:
    File "..\..\Windows\bin\BeidMW_32.msi"  
into
    File "..\..\Windows\BeidMW_32.msi"  

One additional problem is the "driver_installer::getOSVersion" command in the 
nsi file. This command is not recognised. Maybe I am missing a plugin for this 
command.

Original comment by kristof....@gmail.com on 5 Nov 2012 at 3:31

GoogleCodeExporter commented 9 years ago
Paths changed
Added NSIS plugins to the buildscript and copies them to the NSIS default 
plugin folder(might need permission to copy to program files)

Original comment by frederik...@gmail.com on 6 Nov 2012 at 2:17