[wpkg-users] Problems with vlc player and Adobe Reader 11.0.02

Stefan Pendl stefan.pendl.71 at gmail.com
Sun Feb 24 11:02:25 CET 2013


Am 21.02.2013 16:42, schrieb Cedric Frayssinet:
> Hi Michael,
>
> My package VLC : http://rezotice.ac-lyon.fr/fluxbb/viewtopic.php?id=493
> My package Flash : http://rezotice.ac-lyon.fr/fluxbb/viewtopic.php?id=856
>
> Cedric
>
>
> 2013/2/21 Michael Mosel <Michael.Mosel at gcsc.uni-giessen.de
> <mailto:Michael.Mosel at gcsc.uni-giessen.de>>
>
>     Hey everyone,
>
>     I am still having trouble deploying vlc player and the new Adobe
>     Reader 11.0.02.
>     Could someone of you perhaps send me their packages so I can have a
>     look and try to figure out what exactly is going wrong?
>

Adobe Reader:


'---code start (watch for line wraps)

     <package id="AdobeReader11" name="Adobe Reader 11" 
revision="%PKG_VER%" reboot="false" priority="10">
         <variable name="PKG_NAME"      value="AdobeReader11" />
         <variable name="PKG_VER"       value="11.0.2" />
         <variable name="PKG_VER_MAIN"  value="11000" />
         <variable name="PKG_VER_START" value="11001" />
         <variable name="PKG_VER_END"   value="11002" />
         <variable name="PKG_LNG"       value="en_US"/>
         <variable name="PKG_LNG"       value="de_DE" 
lcid="407,c07,1407,1007,807" />
         <variable name="PKG_ATT"       value="EULA_ACCEPT=YES 
SUPPRESS_APP_LAUNCH=YES AgreeToLicense=Yes ENABLE_CACHE_FILES=No 
ALLUSERS=1" />

         <check type="uninstall" condition="versiongreaterorequal" 
path="Adobe Reader .+" value="%PKG_VER%" />

         <install cmd='MsiExec.exe /norestart /passive /log 
"%TMP%\%PKG_NAME%.log" /i "%SOFTWARE%\Adobe 
Reader\AdbeRdr%PKG_VER_MAIN%_%PKG_LNG%.msi" %PKG_ATT% ' >
             <exit code="3010" reboot="false"/>
         </install>
         <install cmd='%ComSpec% /c for /l %V in 
(%PKG_VER_START%,1,%PKG_VER_END%) do @for %F in ( AdbeRdrUpd%V 
AdbeRdrSecUpd%V) do if exist "%SOFTWARE%\Adobe Reader\%F.msp" 
MsiExec.exe /norestart /passive /log "%TMP%\%PKG_NAME%_%V.log" /update 
"%SOFTWARE%\Adobe Reader\%F.msp" ' >
             <exit code="3010" reboot="false"/>
         </install>

         <upgrade include="install" />

         <remove cmd='MsiExec.exe /norestart /passive /log 
"%TMP%\%PKG_NAME%.log" /x "%SOFTWARE%\Adobe 
Reader\AdbeRdr%PKG_VER_MAIN%_%PKG_LNG%.msi"' />
     </package>

'---code end

VLC:

'---code start (watch for line wraps)

     <package id="VLCplayer2" name="VideoLAN Client Player 2" 
revision="%PKG_VERSION%" reboot="false" priority="10">
         <variable name="PKG_NAME"           value="VLCplayer2" />
         <variable name="PKG_VERSION"        value="2.0.5" />
         <variable name="PKG_EXE_VERSION"    value="%PKG_VERSION%.0" />
         <variable name="PKG_SOURCE"         value="%SOFTWARE%\VLC 
Player\vlc-%PKG_VERSION%-win32.exe"/>
         <variable name="PKG_DESTINATION" 
value="%ProgramFiles%\VideoLAN\VLC"      architecture="x86"/>
         <variable name="PKG_DESTINATION" 
value="%ProgramFiles(x86)%\VideoLAN\VLC" architecture="x64"/>
         <variable name="PKG_INSTALL_SWITCH" value="/S 
/D=%PKG_DESTINATION%"/>
         <variable name="PKG_REMOVE_SWITCH"  value="/S 
_?=%PKG_DESTINATION%"/>

         <check type="uninstall" condition="versiongreaterorequal" 
path="VLC media player %PKG_VERSION%" value="%PKG_VERSION%" />
         <check type="file"      condition="versiongreaterorequal" 
path="%PKG_DESTINATION%\vlc.exe"      value="%PKG_EXE_VERSION%" />

         <install include="remove" />
         <install cmd='"%PKG_SOURCE%" %PKG_INSTALL_SWITCH%' />

         <upgrade include="install" />
         <downgrade include="install" />

         <remove cmd='%ComSpec% /C if exist 
"%PKG_DESTINATION%\uninstall.exe" "%PKG_DESTINATION%\uninstall.exe" 
%PKG_REMOVE_SWITCH%' />
         <remove cmd='%ComSpec% /C if exist 
"%PKG_DESTINATION%\uninstall.exe" del /f /q 
"%PKG_DESTINATION%\uninstall.exe"' />
         <remove cmd='%ComSpec% /C if exist "%PKG_DESTINATION%" rmdir /q 
/s "%PKG_DESTINATION%"' />
     </package>

'---code end


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


More information about the wpkg-users mailing list