Changeset - d921bb3b13ec
[Not reviewed]
default
0 1 0
Roeland Merks - 15 years ago 2010-11-29 12:31:25
roeland.merks@cwi.nl
Updated Windows installer script so it adds an item to the Start menu.

--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
changed src/VirtualLeaf-install-windows.nsi
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/VirtualLeaf-install-windows.nsi
Show inline comments
 
@@ -141,6 +141,10 @@ section "Virtual Leaf executable"
 

	
 
  # Prepend the Virtual Leaf bin directory to the installers PATH
 
  ${EnvVarUpdate} $0 "PATH" "P" "HKCU" "$INSTDIR\bin"  
 

	
 
  # create a shortcut named "VirtualLeaf" in the start menu programs directory
 
  # point the new shortcut at the program VirtualLeaf
 
  createShortCut "$SMPROGRAMS\VirtualLeaf.lnk" "$INSTDIR\bin\VirtualLeaf.exe"
 
sectionEnd
 
 
 
section "Virtual Leaf plugins"
 
@@ -171,6 +175,9 @@ section "Uninstall"
 
  # Now delete installed file
 
  !insertmacro RemoveFilesAndSubDirs "$INSTDIR"
 

	
 
  # Delete shortcut from start menu
 
  delete "$SMPROGRAMS\VirtualLeaf.lnk"
 

	
 
  # Last but not least - delete the path  
 
  ${un.EnvVarUpdate} $0 "PATH" "R" "HKCU" "$INSTDIR\bin"
 
sectionEnd
0 comments (0 inline, 0 general)