Fix reg add command and do not fail if reg delete fails

tags/0.15.4.3_el5
Daniel Berteaud 11 years ago
parent 277e65dc90
commit 0d8723090a
  1. 6
      packages/gajim.xml

@ -16,7 +16,7 @@
<install include='remove' /> <install include='remove' />
<install cmd='%SOFTWARE%\gajim\%SETUP% /S' /> <install cmd='%SOFTWARE%\gajim\%SETUP% /S' />
<install cmd='%COMSPEC% /C reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v Gajim /t REG_SZ /d "%COMSPEC% /C start /D"%INSTALL_PATH%\bin" gajim.exe"' /> <install cmd='%COMSPEC% /C reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v Gajim /t REG_SZ /d "%COMSPEC% /C start /D\"%INSTALL_PATH%\bin\" gajim.exe"' />
<!-- XP --> <!-- XP -->
<install cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Bureau\Gajim.lnk"'> <install cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Bureau\Gajim.lnk"'>
<exit code="any" /> <exit code="any" />
@ -35,6 +35,8 @@
<exit code="128" /> <exit code="128" />
</remove> </remove>
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\Uninstall.exe" "%INSTALL_PATH%\Uninstall.exe" /S _?=%INSTALL_PATH%' /> <remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\Uninstall.exe" "%INSTALL_PATH%\Uninstall.exe" /S _?=%INSTALL_PATH%' />
<remove cmd='%COMSPEC% /C reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Gajim" /f' /> <remove cmd='%COMSPEC% /C reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Gajim" /f'>
<exit code="any" />
</remove>
</package> </package>
</packages> </packages>

Loading…
Cancel
Save