Changeset 602 for trunk/uploadr/win_installer
- Timestamp:
- 04/07/09 20:17:39 (8 months ago)
- Files:
-
- trunk/uploadr/win_installer/build_dev.nsi (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/uploadr/win_installer/build_dev.nsi
r534 r602 39 39 LangString "${NAME}" "${LANG_${LANG}}" "${VALUE}" 40 40 !macroend 41 42 Function WriteToFile 43 Exch $0 ;file to write to 44 Exch 45 Exch $1 ;text to write 46 47 FileOpen $0 $0 w #open file 48 #FileSeek $0 0 END #go to end 49 FileWrite $0 $1 #write to file 50 FileClose $0 51 52 Pop $1 53 Pop $0 54 FunctionEnd 55 56 !macro WriteToFile String File 57 Push "${String}" 58 Push "${File}" 59 Call WriteToFile 60 !macroend 61 62 !define WriteToFile "!insertmacro WriteToFile" 41 63 42 64 !include "strings.nsh" … … 86 108 ; Chrome 87 109 File /r "Flickr Uploadr\chrome" 110 88 111 89 112 ; XPCOM components … … 127 150 WriteRegStr HKCR "SystemFileAssociations\video\shell\edit.FlickrUploadr" "" "$(send)" 128 151 WriteRegStr HKCR "SystemFileAssociations\video\shell\edit.FlickrUploadr\command" "" '"$INSTDIR\Flickr Uploadr.exe" "%1"' 152 ${WriteToFile} "$INSTDIR" "$APPDATA\Macromedia\Flash Player\#Security\FlashPlayerTrust\flickruploadr.cfg" 129 153 130 154 SectionEnd