Difference between revisions of "Hugin"
From WPKG | Open Source Software Deployment and Distribution
m |
(New version. Now using nsis installer.) |
||
Line 2: | Line 2: | ||
The Hugin website is at http://hugin.sourceforge.net/. | The Hugin website is at http://hugin.sourceforge.net/. | ||
+ | |||
+ | The Hugin installer makes shortcuts in the current user's profile, or does not create shortcuts at all if nobody is logged in. | ||
==WPKG Package== | ==WPKG Package== | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <package id="hugin" name="Hugin" revision=" | + | <package id="hugin" name="Hugin Panoramic Stitcher" revision="5" reboot="false" priority="3"> |
− | <check type="uninstall" condition="exists" path="Hugin | + | <check type="uninstall" condition="exists" path="Hugin 2010.4.0" /> |
− | <install cmd='"%SOFTWARE%\graphics\ | + | <install cmd='"%SOFTWARE%\graphics\HuginSetup_2010.4.0-32bit_Windows.exe" /S' /> |
− | <upgrade cmd='"%SOFTWARE%\graphics\ | + | <install cmd='"%SOFTWARE%\graphics\hugin_mklink.bat"' /> |
− | <remove cmd='"% | + | <upgrade cmd='"%SOFTWARE%\graphics\HuginSetup_2010.4.0-32bit_Windows.exe" /S' /> |
+ | <remove cmd='"%PROGRAMFILES%\hugin\uninstall.exe" /S' /> | ||
+ | <remove cmd='%COMSPEC% /c rmdir /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin"' /> | ||
</package> | </package> | ||
− | |||
− | + | </source> | |
− | == | + | ==hugin_mklink.bat== |
− | <source lang=" | + | <source lang="dos"> |
− | + | mkdir "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin\" > "%TEMP%\mkdir.out.txt" 2>&1 | |
− | + | CALL "%SOFTWARE%\XXMKLINK.exe" "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin\Hugin" "%PROGRAMFILES%\Hugin\bin\Hugin.exe" "" "%PROGRAMFILES%\Hugin\" | |
− | + | REM XXMKLINK.exe is at http://www.xxcopy.com/xxcopy38.htm | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</source> | </source> | ||
[[Category: Silent Installers]] | [[Category: Silent Installers]] |
Latest revision as of 21:37, 11 April 2011
Silent installer for Hugin, a panorama photo stitching program.
The Hugin website is at http://hugin.sourceforge.net/.
The Hugin installer makes shortcuts in the current user's profile, or does not create shortcuts at all if nobody is logged in.
WPKG Package
<package id="hugin" name="Hugin Panoramic Stitcher" revision="5" reboot="false" priority="3">
<check type="uninstall" condition="exists" path="Hugin 2010.4.0" />
<install cmd='"%SOFTWARE%\graphics\HuginSetup_2010.4.0-32bit_Windows.exe" /S' />
<install cmd='"%SOFTWARE%\graphics\hugin_mklink.bat"' />
<upgrade cmd='"%SOFTWARE%\graphics\HuginSetup_2010.4.0-32bit_Windows.exe" /S' />
<remove cmd='"%PROGRAMFILES%\hugin\uninstall.exe" /S' />
<remove cmd='%COMSPEC% /c rmdir /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin"' />
</package>
hugin_mklink.bat
mkdir "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin\" > "%TEMP%\mkdir.out.txt" 2>&1
CALL "%SOFTWARE%\XXMKLINK.exe" "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin\Hugin" "%PROGRAMFILES%\Hugin\bin\Hugin.exe" "" "%PROGRAMFILES%\Hugin\"
REM XXMKLINK.exe is at http://www.xxcopy.com/xxcopy38.htm