Best Java Launcher: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
;This is a very simple Java Launcher
;This is a very simple Java Launcher
   ;Author: Sri Harsha Chilakapati
   ;Author: Sri Harsha Chilakapati
 
 
   !include FileFunc.nsi
   !include FileFunc.nsi
   Crccheck off
   Crccheck off
 
 
   icon icon.ico
   icon icon.ico
   outfile test.exe
   outfile test.exe
 
 
   silentinstall silent
   silentinstall silent
 
 
   section ''
   section ''
   sectionend
   sectionend
 
 
   function .onInit
   function .onInit
     ${GetExeName} $0
     ${GetExeName} $0

Revision as of 14:54, 2 March 2011

This is a very simple Java Launcher
 ;Author: Sri Harsha Chilakapati
 
 !include FileFunc.nsi
 Crccheck off
 
 icon icon.ico
 outfile test.exe
 
 silentinstall silent
 
 section 
 sectionend
 
 function .onInit
   ${GetExeName} $0
   ${GetParameters} $1
   execwait 'javaw.exe "$0" "$1"'
 functionend
usage
copy/b test.exe+myjar.jar output.exe