Revision: 40533
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40533&view=rev
Author:   bob1961
Date:     2010-09-10 20:41:29 +0000 (Fri, 10 Sep 2010)

Log Message:
-----------
Added a call to RequestExecutionLevel to set the execution level to user to get 
the failed CreateShortCut calls to work. Added a call to insertmacro for 
WordFind3X. Commented out the shortcut for the Archer documentation.

Modified Paths:
--------------
    brlcad/trunk/misc/nsis/brlcad.nsi

Modified: brlcad/trunk/misc/nsis/brlcad.nsi
===================================================================
--- brlcad/trunk/misc/nsis/brlcad.nsi   2010-09-10 20:36:05 UTC (rev 40532)
+++ brlcad/trunk/misc/nsis/brlcad.nsi   2010-09-10 20:41:29 UTC (rev 40533)
@@ -1,5 +1,7 @@
 ; brlcad.nsi
 
+RequestExecutionLevel user
+
 ;--------------------------------
 ;BRL-CAD Version Variables
 
@@ -13,6 +15,7 @@
 !include "WordFunc.nsh"
 
 !insertmacro GetFileName
+!insertmacro WordFind3X
 
 Function .onInit
   ; For the moment this must be global (nsis requires it)
@@ -201,7 +204,7 @@
     ;Main start menu shortcuts
     SetOutPath $INSTDIR
     CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER${INSTALLERSUFFIX}\Manuals"
-    CreateShortCut 
"$SMPROGRAMS\$STARTMENU_FOLDER${INSTALLERSUFFIX}\Manuals\Archer.lnk" 
"$BRLCAD_DATA_DIR\html\manuals\archer\Archer_Documentation.chm" "" 
"$INSTDIR\archer.ico" 0
+    ;CreateShortCut 
"$SMPROGRAMS\$STARTMENU_FOLDER${INSTALLERSUFFIX}\Manuals\Archer.lnk" 
"$BRLCAD_DATA_DIR\html\manuals\archer\Archer_Documentation.chm" "" 
"$INSTDIR\archer.ico" 0
     CreateShortCut 
"$SMPROGRAMS\$STARTMENU_FOLDER${INSTALLERSUFFIX}\Manuals\BRL-CAD.lnk" 
"$BRLCAD_DATA_DIR\html\manuals\index.html" "" "$INSTDIR\brlcad.ico" 0
     CreateShortCut 
"$SMPROGRAMS\$STARTMENU_FOLDER${INSTALLERSUFFIX}\Manuals\MGED.lnk" 
"$BRLCAD_DATA_DIR\html\manuals\mged\index.html" "" "$INSTDIR\brlcad.ico" 0
   !insertmacro MUI_STARTMENU_WRITE_END


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to