Changes

Hugin

168 bytes added, 21:37, 11 April 2011
New version. Now using nsis installer.
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==
<source lang="xml">
<package id="hugin" name="HuginPanoramic Stitcher" revision="15" reboot="false" priority="3"> <check type="uninstall" condition="exists" path="Hugin 02010.74.0 (SVN 3465)" /> <install cmd='"%SOFTWARE%\graphics\hugin-0HuginSetup_2010.74.0_win320-setup32bit_Windows.exe" /LOADINFS' /> <install cmd='"%SOFTWARE%\graphics\huginhugin_mklink.infbat" /VERYSILENT /SP-' /> <upgrade cmd='"%SOFTWARE%\graphics\hugin-0HuginSetup_2010.74.0_win320-setup32bit_Windows.exe" /LOADINFS' /> <remove cmd='"%SOFTWAREPROGRAMFILES%\graphics\hugin\uninstall.infexe" /VERYSILENT /SP-S' /> <remove cmd='%COMSPEC% /c rmdir /q /s "%PROGRAMFILESALLUSERSPROFILE%\huginStart Menu\unins000.exePrograms\Hugin" /VERYSILENT' />
</package>
</source>
The inf file can be created by running the installer with </SAVEINF=hugin.inf, or it can be skipped altogether if you're happy with the defaults.source>
==Huginhugin_mklink.infbat==
<source lang="inidos">[Setup]Lang=defaultDir=C: mkdir "%ALLUSERSPROFILE%\Program FilesStart Menu\Programs\Hugin\" > "%TEMP%\mkdir.out.txt" 2>&1Group= CALL "%SOFTWARE%\XXMKLINK.exe" "%ALLUSERSPROFILE%\Start Menu\Programs\Hugin\Hugin" "%PROGRAMFILES%\Hugin\bin\Hugin.exe" "" "%PROGRAMFILES%\Hugin\"NoIcons=0SetupType=customComponents=core,translations,enblend,panotools,ap_c,p_maticTasks=modifypath,default_settings,programfiles REM XXMKLINK.exe is at http://www.xxcopy.com/xxcopy38.htm
</source>
[[Category: Silent Installers]]
117
edits