[OpenAFS-devel] OpenAFS-1.3.50 and what version of NSIS?

Douglas E. Engert deengert@anl.gov
Tue, 09 Dec 2003 10:18:59 -0600


Rob Murawski wrote:
> 
> I am building it with NSIS 2.0b3.  I'll have to see what changed in b4.

I downgraded to 2.0b3 this morning and it got past the failure. So be 
carefull as to what version is being used for a production release. 

I am using VC++ 6.0 on W2K, and ran into a missing file, msvcr71.dll 
This appears to be needed when using Visual Studio .NET 

I also found some problems with some missing language files. 
So I added the /nonfatal option in the OpenAFS.nsi for each of these.
(I don't know why they are missing.)

NSIS then built the package, and it installs and is running. 

  

--- ,OpenAFS.nsi	Fri Nov 21 02:00:06 2003
+++ OPenAFS.nsi	Tue Dec  9 08:46:34 2003
@@ -756,7 +756,7 @@
  SetOutPath "$INSTDIR\Common"
 
   SetOutPath "$INSTDIR\Common"
-  File "${AFS_WININSTALL_DIR}\msvcr71.dll"
+  File /nonfatal "${AFS_WININSTALL_DIR}\msvcr71.dll"
       
    
    ;Store install folder
@@ -1587,7 +1587,7 @@
    File "${AFS_SERVER_BUILDDIR}\afscfgadmin.dll"
    File "${AFS_SERVER_BUILDDIR}\afskasadmin.dll"
    File "${AFS_SERVER_BUILDDIR}\afsptsadmin.dll"
-   File "${AFS_WININSTALL_DIR}\msvcr71.dll"
+   File /nonfatal "${AFS_WININSTALL_DIR}\msvcr71.dll"
    ;File "${AFS_WININSTALL_DIR}\msvcp60.dll"
 
 !ifdef DEBUG
@@ -1689,8 +1689,8 @@
    ;File "${AFS_SERVER_BUILDDIR}\TaAfsAccountManager_1033.pdb"
    ;File "${AFS_SERVER_BUILDDIR}\TaAfsAppLib_1033.pdb"
    ;File "${AFS_SERVER_BUILDDIR}\TaAfsServerManager_1033.pdb"
-   File "${AFS_WININSTALL_DIR}\msvcr71d.dll"
-   File "${AFS_WININSTALL_DIR}\msvcr71d.pdb"
+   File /nonfatal "${AFS_WININSTALL_DIR}\msvcr71d.dll"
+   File /nonfatal "${AFS_WININSTALL_DIR}\msvcr71d.pdb"
 !endif
    goto done   
 
@@ -1721,7 +1721,7 @@
    File "..\..\doc\help\es_ES\taafscfg.hlp"
    File "..\..\doc\help\es_ES\taafssvrmgr.CNT"
    File "..\..\doc\help\es_ES\taafssvrmgr.hlp"
-   File "..\..\doc\help\es_ES\taafsusrmgr.CNT"
+   File /nonfatal "..\..\doc\help\es_ES\taafsusrmgr.CNT"
    File "..\..\doc\help\es_ES\taafsusrmgr.hlp"
    goto done
 
@@ -1774,7 +1774,7 @@
    File "${AFS_SERVER_BUILDDIR}\TaAfsAppLib_1042.dll"
    File "${AFS_SERVER_BUILDDIR}\TaAfsServerManager_1042.dll"
    File "..\..\doc\help\ko_KR\afs-cc.CNT"
-   File "..\..\doc\help\ko_KR\afs-cc.hlp"
+   File /nonfatal "..\..\doc\help\ko_KR\afs-cc.hlp"
    File "..\..\doc\help\ko_KR\afs-light.CNT"
    File "..\..\doc\help\ko_KR\afs-light.hlp"
    File "..\..\doc\help\ko_KR\afs-nt.CNT"
 

  

> 
> -Rob
> 
> ----- Original Message -----
> From: "Douglas E. Engert" <deengert@anl.gov>
> To: <openafs-devel@openafs.org>
> Sent: Monday, December 08, 2003 5:46 PM
> Subject: [OpenAFS-devel] OpenAFS-1.3.50 and what version of NSIS?
> 
> >
> > What version of the NSIS software needs to be used with OpenAFS-1.3.50?
> >
> > The NSIS stable version, 1.98, version does not have the MUI.nsh file.
> >
> > The latest version 2.0b4 has the MUI.nsh file but fails on the OpenAFS.nsi
> > file on line 72:
> >
> > !insertmacro MUI_PAGECOMMAND_WELCOME
> > !insertmacro: macro named "MUI_PAGECOMMAND_WELCOME" not found!
> > Error in script "OpenAFS.nsi" on line 72 -- aborting creation process
> >
> > I suspect that the OpenAFS.nsi was created with some version of NSIS
> > between 1.98 and 2.0b4.
> >
> >
> >
> >
> > --
> >
> >  Douglas E. Engert  <DEEngert@anl.gov>
> >  Argonne National Laboratory
> >  9700 South Cass Avenue
> >  Argonne, Illinois  60439
> >  (630) 252-5444
> > _______________________________________________
> > OpenAFS-devel mailing list
> > OpenAFS-devel@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-devel
> >
> 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 

 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444