dion        2003/10/13 23:53:43

  Modified:    nsis/src/plugin-resources/templates setup.jelly
  Log:
  Add comments where includes will be needed
  
  Revision  Changes    Path
  1.3       +6 -3      maven-plugins/nsis/src/plugin-resources/templates/setup.jelly
  
  Index: setup.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/nsis/src/plugin-resources/templates/setup.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- setup.jelly       14 Oct 2003 06:49:48 -0000      1.2
  +++ setup.jelly       14 Oct 2003 06:53:43 -0000      1.3
  @@ -75,6 +75,7 @@
     WriteRegStr HKLM "${PROJECT_REG_KEY}" "Install_Dir" "$INSTDIR"
     
     ; Write the environment variables to the Registry
  +  ; FIXME: This should be a project include.
     ; ${MAVEN_HOME}
     Push "MAVEN_HOME"
     Push "$INSTDIR"
  @@ -93,8 +94,8 @@
   ; -------------------------------------------------------------- Create Shortcuts
   Section "Create Start Menu Shortcut(s)"
     CreateDirectory "${PROJECT_STARTMENU_FOLDER}"
  -;  it would be nice to get all this from navigation.xml :-)
  -; FIXME: need to use an include for this.
  +; it would be nice to get all this from navigation.xml :-)
  +; FIXME: This should be a project include.
     CreateShortCut "${PROJECT_STARTMENU_FOLDER}\Maven.lnk" "$INSTDIR\bin\maven.bat" 
"" "$INSTDIR\bin\maven.bat" 0
     CreateShortCut "${PROJECT_STARTMENU_FOLDER}\Install Maven Repository.lnk" 
"$INSTDIR\bin\install_repo.bat" "" "$INSTDIR\install_repo.bat" 0
     CreateShortCut "${PROJECT_STARTMENU_FOLDER}\Uninstall.lnk" "$INSTDIR\Uninst.exe" 
"" "$INSTDIR\Uninst.exe" 0
  @@ -107,6 +108,7 @@
     CreateShortCut "${PROJECT_STARTMENU_FOLDER}\Frequently Asked Questions.lnk" 
"http://maven.apache.org/faq.html";
   SectionEnd
   
  +; FIXME: This should be a project include.
   ; OPTIONAL Desktop Shortcut 
   ; Section "Create Desktop Shortcut"
   ;  CreateShortCut "$DESKTOP\Maven.lnk" "$INSTDIR\bin\maven.bat" "" 
"$INSTDIR\bin\maven.bat"
  @@ -124,6 +126,7 @@
     DeleteRegKey HKLM "${PROJECT_REG_UNINSTALL_KEY}"
     DeleteRegKey HKLM "${PROJECT_REG_KEY}"
   
  +  ; FIXME: This should be a project include.
     ; Remove ${MAVEN_HOME}
     Push "MAVEN_HOME"
     Call un.DeleteEnvStr
  @@ -141,7 +144,7 @@
     ; Recursively remove files and directories used
     ; this should also take care of the installer  
     RMDir /r "$INSTDIR"
  -  ; MessageBox MB_OK|MB_ICONEXCLAMATION "Maven has been 'Uninstalled'"
  +  MessageBox MB_OK|MB_ICONEXCLAMATION "${PROJECT_NAME} has been uninstalled"
   SectionEnd
   
   ; -------------------------------------------------------------- Add Images to the 
Installer / UnInstaller
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to