Fix install check

tags/wpkg-vlc-2.2.6-0.beta1 2.1.5_el5
Daniel Berteaud 11 years ago
parent 2d11626bf9
commit d9556ef9c9
  1. 2
      packages/vlc.xml

@ -11,7 +11,7 @@
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%" /> <variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%" />
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%" /> <variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%" />
<check type='uninstall' condition='exists' path='VLC media player %PKG_VERSION%' /> <check type='uninstall' condition='versionequalto' path='VLC media player' value='%PKG_VERSION%'/>
<install include='remove' /> <install include='remove' />
<install cmd='%COMSPEC% /C start /wait "VLC" "%SETUP_PATH%" /S /NCRC /D="%INSTALL_PATH%"'/> <install cmd='%COMSPEC% /C start /wait "VLC" "%SETUP_PATH%" /S /NCRC /D="%INSTALL_PATH%"'/>

Loading…
Cancel
Save