Technical support > Windows

Error Compile NSIS Script (File R23122) on SVN R23458

(1/1)

odie:
Hi,

I realised that i am unable to compile the NSIS script.

The file is \src\ports\windows\installer.nsi

The error is:

--- Code: ---File: "..\..\..\base\maps\Makefile.win" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "C:\SVN Update\src\ports\windows\installer.nsi" on line 159 -- aborting creation process

--- End code ---

I am on windows yupz. Using TSVN.

PS: I am attaching the script which is only modified on the compression type. Otherwise, its as per the revision. (Its renamed to .txt extension due to upload restrictions.)

I know that some files are missing (..\..\..\base\maps\Makefile.win) and i verified that this file is not downloaded in the SVN. And there is no such file in svn yet. So how do i bypass (where do i insert /NONFATAL if necessary). Thanks.

[attachment deleted by admin]

geever:
this patch should do it:

--- Code: ---Index: src/ports/windows/installer.nsi
===================================================================
--- src/ports/windows/installer.nsi     (revision 23451)
+++ src/ports/windows/installer.nsi     (working copy)
@@ -156,7 +156,7 @@
   Section "Mapping Tools" SEC02
     SetOutPath "$INSTDIR\base\maps"
     File "..\..\..\base\maps\*.map"
-    File "..\..\..\base\maps\Makefile.win"
+    File /NONFATAL "..\..\..\base\maps\Makefile.win"
     File "..\..\..\base\maps\compile.p*"
     SetOutPath "$INSTDIR\base\maps\alienb"
     File "..\..\..\base\maps\alienb\*.map"

--- End code ---

ps. no guarantee, I don't know nsis. ;)

-geever

Mattn:
just update your svn checkout - should be fixed in most recent trunk

odie:

--- Quote from: Mattn on March 12, 2009, 08:49:23 am ---just update your svn checkout - should be fixed in most recent trunk

--- End quote ---

Thanks mattn!

I saw the patched NSIS le! Thanks! U rox!

Navigation

[0] Message Index

Go to full version