project-navigation
Personal tools

Author Topic: Error Compile NSIS Script (File R23122) on SVN R23458  (Read 2906 times)

odie

  • Guest
Error Compile NSIS Script (File R23122) on SVN R23458
« on: March 12, 2009, 06:28:30 am »
Hi,

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

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

The error is:
Code: [Select]
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

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]
« Last Edit: March 18, 2009, 03:28:23 am by odie »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Error Compile NSIS Script (File R23122) on SVN R23458
« Reply #1 on: March 12, 2009, 08:41:15 am »
this patch should do it:
Code: [Select]
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"

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

-geever

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Error Compile NSIS Script (File R23122) on SVN R23458
« Reply #2 on: March 12, 2009, 08:49:23 am »
just update your svn checkout - should be fixed in most recent trunk

odie

  • Guest
Re: Error Compile NSIS Script (File R23122) on SVN R23458
« Reply #3 on: March 13, 2009, 05:13:16 am »
just update your svn checkout - should be fixed in most recent trunk

Thanks mattn!

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