GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * platform/msw/base.nsi: save the base directory and versioned directory 
 separately, so reinstall can happen in the first and uninstall in the 
 latter.
why (author)
Tue Jul 29 09:32:00 -0700 2008
commit  266a14ac748a72efb62ad5efac99ff7b23877d7a
tree    68ef258df814be0c5f2104d3225fdb762e807831
parent  3903023480cdfaba81c3e9a74ec0e558409546e8
...
465
466
467
468
 
469
470
471
...
550
551
552
 
 
 
 
553
554
555
556
557
558
559
560
561
562
563
564
...
465
466
467
 
468
469
470
471
...
550
551
552
553
554
555
556
557
558
559
560
561
562
 
 
 
563
564
565
0
@@ -465,7 +465,7 @@ FunctionEnd
0
   InstallDir "$PROGRAMFILES\Common Files\${AppName}"
0
   
0
   ;Get installation folder from registry if available
0
- InstallDirRegKey HKLM "${InstallKey}" ""
0
+ InstallDirRegKey HKLM "${InstallKey}" "Base"
0
 
0
   ;Vista redirects $SMPROGRAMS to all users without this
0
   RequestExecutionLevel admin
0
@@ -550,15 +550,16 @@ FunctionEnd
0
 
0
 Section "App Section" SecApp
0
 
0
+ ;Store installation folder
0
+ WriteRegStr HKLM "${InstallKey}" "" "$INSTDIR\${AppVersion}"
0
+ WriteRegStr HKLM "${InstallKey}" "Base" $INSTDIR
0
+
0
   ;ReadEnvStr $INSTDIR "COMMONPROGRAMFILES"
0
   StrCpy $INSTDIR "$INSTDIR\${AppVersion}"
0
   SetOutPath "$INSTDIR"
0
   
0
   File /r /x nsis ..\*.*
0
   
0
- ;Store installation folder
0
- WriteRegStr HKLM "${InstallKey}" "" $INSTDIR
0
-
0
   ;Make associations
0
   !insertmacro MakeFileAssoc "Shoes" "shy"
0
 

Comments

    No one has commented yet.