MultiTree.nsi 790 B

1234567891011121314151617181920212223242526
  1. !include MUI2.nsh
  2. Name `nsJSON plug-in`
  3. OutFile nsJSON_MultiTree.exe
  4. RequestExecutionLevel user
  5. ShowInstDetails show
  6. !insertmacro MUI_PAGE_INSTFILES
  7. !insertmacro MUI_LANGUAGE English
  8. Section
  9. CreateDirectory $EXEDIR\Output
  10. DetailPrint `Read: $EXEDIR\Input\Example1.json into Example1`
  11. nsJSON::Set /tree Example1 /file $EXEDIR\Input\Example1.json
  12. DetailPrint `Read: $EXEDIR\Input\Example2.json into Example2`
  13. nsJSON::Set /tree Example2 /file $EXEDIR\Input\Example2.json
  14. DetailPrint `Generate: $EXEDIR\Output\Example2.json from Example2`
  15. nsJSON::Serialize /tree Example2 /format /file $EXEDIR\Output\Example2.json
  16. DetailPrint `Generate: $EXEDIR\Output\Example1.json from Example1`
  17. nsJSON::Serialize /tree Example1 /format /file $EXEDIR\Output\Example1.json
  18. SectionEnd