Structorizer
From WPKG | Open Source Software Deployment and Distribution
This is a silent installer for Structorizer.
Structorizer is an editor to create Nassi–Shneiderman diagrams. You can only edit one program or subprogram per time, but if you stick to the right syntax (which you can define in the options), you can export your structogram to various programming languages (Pascal/Delphi, Oberon, StrukTeX, Perl, KSH, BASH, C, Java).
This package depends on 7-Zip, but you can use any packer to extract the ZIP-file. The program's link file was copied from an existent installation to the server's WPKG software directory.
<package id="structorizer"
name="Structorizer"
revision="3180"
reboot="false"
priority="0">
<depends package-id="7zip" />
<check type="file" condition="exists" path="%PROGRAMFILES%\Structorizer\Structorizer.exe" />
<install cmd='%PROGRAMFILES%\7-zip\7z.exe x -y "%SOFTWARE%"\structorizer\structorizer_3_18.zip -o"%PROGRAMFILES%"' />
<install cmd='cmd /c copy /y "%SOFTWARE%\structorizer\Structorizer.lnk" "%ALLUSERSPROFILE%\Startmenü\Programme"' />
<upgrade cmd='%PROGRAMFILES%\7-zip\7z.exe x -y "%SOFTWARE%"\structorizer\structorizer_3_18.zip -o"%PROGRAMFILES%"' />
<upgrade cmd='cmd /c copy /y "%SOFTWARE%\structorizer\Structorizer.lnk" "%ALLUSERSPROFILE%\Startmenü\Programme"' />
<remove cmd='cmd /c del /q "%ALLUSERSPROFILE%\Startmenü\Programme\Structorizer.lnk"' />
<remove cmd='del /q "%PROGRAMFILES%\Structorizer"' />
</package>