Fix install/remove for x64

tags/1.4.2
Daniel Berteaud 12 years ago
parent 2926fb09af
commit c07cb1a414
  1. 4
      packages/scribus.xml

@ -10,7 +10,7 @@
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\Scribus" />
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\Scribus" />
<variable architecture="x86" name="EXE_PATH" value="%SOFTWARE%\scribus\scribus-%PKG_VERSION%-windows.exe" />
<variable architecture="x86" name="EXE_PATH" value="%SOFTWARE%\scribus\scribus-%PKG_VERSION%-windows-x64.exe" />
<variable architecture="x64" name="EXE_PATH" value="%SOFTWARE%\scribus\scribus-%PKG_VERSION%-windows-x64.exe" />
<depends package-id="ghostscript" />
@ -33,6 +33,6 @@
<remove cmd='"%INSTALL_PATH%\uninst.exe" /S _?=%INSTALL_PATH%'/>
<!-- on x64, remove the 32bits version if present -->
<remove architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Scribus\uninst.exe" "%PROGRAMFILES(x86)%\Scribus\uninst.exe" /S _?=%PROGRAMFILES(x86)%\Scribus\uninst.exe'/>
<remove architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Scribus\uninst.exe" "%PROGRAMFILES(x86)%\Scribus\uninst.exe" /S _?=%PROGRAMFILES(x86)%\Scribus'/>
</package>
</packages>

Loading…
Cancel
Save