Commit aedb9f0e2a127fc0b83d50778837ebbaf5e3be4b

Authored by perry.werneck@gmail.com
1 parent 22f78374

Versão windows 32 também passa a incluir o plugin rexx

@@ -5,7 +5,7 @@ msgid "" @@ -5,7 +5,7 @@ msgid ""
5 msgstr "" 5 msgstr ""
6 "Project-Id-Version: pw3270 5.0\n" 6 "Project-Id-Version: pw3270 5.0\n"
7 "Report-Msgid-Bugs-To: \n" 7 "Report-Msgid-Bugs-To: \n"
8 -"POT-Creation-Date: 2013-06-03 15:24-0300\n" 8 +"POT-Creation-Date: 2013-06-03 15:46-0300\n"
9 "PO-Revision-Date: 2013-05-08 14:30-0300\n" 9 "PO-Revision-Date: 2013-05-08 14:30-0300\n"
10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11 "Language-Team: Português <>\n" 11 "Language-Team: Português <>\n"
pw3270-i686.nsi.in
@@ -126,19 +126,19 @@ SubSection &quot;@PACKAGE@&quot; SecMain @@ -126,19 +126,19 @@ SubSection &quot;@PACKAGE@&quot; SecMain
126 126
127 sectionEnd 127 sectionEnd
128 128
129 -#  
130 -# Section /o "Rexx" RexxPlugin  
131 -# setOutPath $INSTDIR  
132 -#  
133 -# CreateDirectory "$INSTDIR"  
134 -# file src\plugins\rexx\rx3270.cls  
135 -#  
136 -# CreateDirectory "$INSTDIR\plugins"  
137 -# file "/oname=$INSTDIR\plugins\rx3270.dll" ".bin\Release\plugins\rx3270.dll"  
138 -# file "/oname=$INSTDIR\ui\rexx.xml" ui\rexx.xml  
139 -#  
140 -# sectionEnd  
141 -# 129 + Section /o "Rexx" RexxPlugin
  130 +
  131 + setOutPath $INSTDIR
  132 +
  133 + file "/oname=$INSTDIR\plugins\rxplug.dll" ".bin\Release\plugins\rx3270.dll"
  134 + file "/oname=$INSTDIR\ui\80rexx.xml" "ui\80rexx.xml"
  135 +
  136 + file "/oname=$PROGRAMFILES\ooRexx\rx3270.cls" "src/plugins/rx3270/rx3270.cls"
  137 + file "/oname=$INSTDIR\rx3270.dll.@PACKAGE_VERSION@" ".bin\Release\rx3270.dll.@PACKAGE_VERSION@"
  138 + file "/oname=$PROGRAMFILES\ooRexx\rx3270.dll" ".bin\Release\rx3270.dll"
  139 +
  140 + sectionEnd
  141 +
142 SubSectionEnd 142 SubSectionEnd
143 143
144 SubSectionEnd 144 SubSectionEnd
@@ -208,7 +208,8 @@ section &quot;Uninstall&quot; @@ -208,7 +208,8 @@ section &quot;Uninstall&quot;
208 delete $SYSDIR\libhllapi.dll 208 delete $SYSDIR\libhllapi.dll
209 209
210 # Delete extension libraries 210 # Delete extension libraries
211 -# delete $PROGRAMFILES\ooRexx\rx3270.dll 211 + delete "$PROGRAMFILES\ooRexx\rx3270.cls"
  212 + delete "$PROGRAMFILES\ooRexx\rx3270.dll"
212 213
213 RMDir /r "$INSTDIR" 214 RMDir /r "$INSTDIR"
214 215
@@ -216,6 +217,15 @@ sectionEnd @@ -216,6 +217,15 @@ sectionEnd
216 217
217 Function .onInit 218 Function .onInit
218 219
  220 +IfFileExists $PROGRAMFILES\ooRexx\rexx.exe EnableRexx RexxSET
  221 +
  222 +EnableRexx:
  223 + SectionGetFlags "${RexxPlugin}" $0
  224 + IntOp $0 $0 | ${SF_SELECTED}
  225 + SectionSetFlags "${RexxPlugin}" $0
  226 +
  227 +RexxSET:
  228 +
219 FunctionEnd 229 FunctionEnd
220 230
221 231
pw3270-x86_64.nsi.in
@@ -206,7 +206,7 @@ section &quot;Uninstall&quot; @@ -206,7 +206,7 @@ section &quot;Uninstall&quot;
206 206
207 # Delete extension libraries 207 # Delete extension libraries
208 delete "$PROGRAMFILES64\ooRexx\rx3270.cls" 208 delete "$PROGRAMFILES64\ooRexx\rx3270.cls"
209 - delete "$PROGRAMFILES64\ooRexx\rx3270.dll" 209 + delete "$PROGRAMFILES64\ooRexx\rx3270.dll"
210 210
211 RMDir /r "$INSTDIR" 211 RMDir /r "$INSTDIR"
212 212