[Qgis-developer] creatensis.pl problem

David Silva Barrera dsilva at uci.cu
Thu Apr 14 15:17:14 EDT 2011


I'm trying to make a qgis package. Following INSTALL instructions I went to Ubuntu, installed nsis and executed creatensis.pl in it's own folder ../ms-windows/osgeo4w/. It freezes, after a will (long one); I press Control + C three times, the last one make it show this result: 

^C ^C ^C unzip: cannot find or open ../../../packages/nircmd.zip, ../../../packages/nircmd.zip.zip or ../../../packages/nircmd.zip.ZIP. 


the show continues and finish like this: 

File: Descending to: "osgeo4w/unpacked/apps/" 
File: Descending to: "osgeo4w/unpacked/apps/nircmd/" 
File: Descending to: "osgeo4w/unpacked/bin/" 
File: Returning to: "osgeo4w/unpacked" 
File: "osgeo4w/unpacked\*.*" -> no files found. 
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | 
/oname=outfile one_file_only) 
Error in script "QGIS-Installer.nsi" on line 363 -- aborting creation process 

Any idea??? 


----- Mensaje original ----- 
De: "David Silva Barrera" <dsilva at uci.cu> 
Para: qgis-developer at lists.osgeo.org 
Enviados: Martes, 12 de Abril 2011 11:54:41 (GMT-0500) Auto-Detected 
Asunto: [Qgis-developer] Error on command "cpack NSIS", 1.5.0 


I tried to generate a qgis 1.5.0 installer package, but I received an error: 


CPACK shows this: 

CPack: Create package using NSIS 

CPack: Install projects 

CPack: - Run preinstall target for: qgis1.5.0 

CPack: - Install project: qgis1.5.0 

Installing CORE headers... 

Installing ANALYSIS headers... 

Installing GUI headers... 

CPack: Compress package 

CPack Error: Problem running NSIS command: "C:/Archivos de programa/NSIS/makensis.exe" "D:/USUARIOS/dsilva/Proyecto/QT/qtcreator-build-base-trunk/_CPack_Packages/win32/NSIS/project.nsi" 

Please check D:/USUARIOS/dsilva/Proyecto/QT/qtcreator-build-base-trunk/_CPack_Packages/win32/NSIS/NSISOutput.log for errors 

CPack Error: Problem compressing the directory 

CPack Error: Error when generating package: qgis1.5.0 


This is from the NSISoutput.log file: 

Error in macro MUI_HEADERIMAGE_INIT on macroline 24 

Error in macro MUI_GUIINIT on macroline 3 

Error in macro MUI_FUNCTION_GUIINIT on macroline 4 

Error in macro MUI_INSERT on macroline 11 

Error in macro MUI_LANGUAGE on macroline 7 

Error in script "D:/USUARIOS/dsilva/Proyecto/QT/qtcreator-build-base-trunk/_CPack_Packages/win32/NSIS/project.nsi" on line 438 -- aborting creation process 


Project.nsi has this text on line 438: 

!insertmacro MUI_LANGUAGE "English" 


My Windows XP’s language is Spanish. Maybe NSIS can’t find an English package. 

Please help. 



_______________________________________________ Qgis-developer mailing list Qgis-developer at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110414/5a881592/attachment.html

More information about the Qgis-developer mailing list