Dennis Kuhlmeier schrieb:
> Hi,
> 
> I'm just fiddling around with WPKG at the moment and actually like
> it, so I started creating packages for the software we usually
> deploy in the office. Of course I took a lot of "inspiration" from
> the wiki and managed to build some packages that are quite nice,
> without being sure if I actually got to the bottom of the syntax of
> a package.
> 
> However, to get to the point, whatever I do with the Adobe Reader
> 8.0 (german), it installs fine but there is no entry added in wpkg.ini
> 
> I could probably still live with that, although automatic
> deinstallation will of course fail, but the app is reinstalled at
> each boot, probably I didn't get the whole "check" thingy right.
> I tried to remove the "upgrade" command but still it reinstalls. As
> the registry patch was reapplied each time that was no big surprise.
> 
> Anyway, I tested both methods described here:
> http://wpkg.org/index.php/Adobe_Reader8
> 
> They pretty much act the same, the only changes I made were removing
> the download command and changing the names to the corresponding
> german ones. What I ended up with atm is attached and pretty much
> the same as the alternate method from the wiki with some checks
> added, they all do not work, as mentioned above...
> 
> Any idea if I am making major mistakes, I have 5 other packages atm
> which run just smoothly, including uninstalls!
> 
> 
> Thanks in advance,
> 
> Dennis
> 
> 
> 
> ------------------------------------------------------------------------
> 
>       <package id="acrobat" 
>               name="Adobe Reader" 
>               revision="8000" 
>               priority="3" 
>               reboot="false">
>         <check type="uninstall" condition="exists" path="Adobe Reader 8 - 
> Deutsch" />
>         <check type="uninstall" condition="exists" path="Adobe Reader 8" />
>         <check type="file" condition="exists" 
> path="%programfiles%\Adobe\Reader 8.0\Reader\AcroRd32.exe" />
>         <install cmd='cscript.exe 
> %SOFTWARE%\adobereader\removeOldVersions.vbs' /> 
>         <install cmd='%SOFTWARE%\adobereader\AdbeRdr80_de_DE.exe /sPB /rs /l 
> /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES 
> SUPPRESS_APP_LAUNCH=YES"' /> 
>         <install cmd='regedit /s "%SOFTWARE%\adobereader\registryMods.reg"' />
>         <!-- <install cmd='cmd /d /c del /q /f c:\acrobat8.log' /> -->
>         <remove cmd="MsiExec.exe /q /x{AC76BA86-7AD7-1031-7B44-A80000000002}" 
> /> 
>         <upgrade cmd='%SOFTWARE%\adobereader\AdbeRdr80_de_DE.exe /sPB /rs /l 
> /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES 
> SUPPRESS_APP_LAUNCH=YES"' /> 
>               <depends package-id="firefox" /> 
>       </package>
> 
> 

I just send you my (german) adobereader8 package  which works here:
-----------------------------------------------------------------------
    <package
      id="acrobat8"
      name="Acrobat Reader 8"
      revision="4"
      reboot="false"
      priority="100">

        <check type="uninstall" condition="exists" path="Adobe Reader 8
- Deutsch" />

        <install cmd='w:\packages\adobereader\AdbeRdr80_de_DE.exe /sPB
/rs /l /msi"/qb-! /norestart /log
%SystemDrive%\netinst\logs\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES
SUPPRESS_APP_LAUNCH=YES DISABLE_BROWSER_INTEGRATION=YES LAUNCH_APP=0" '>
          <exit code="0" />
          <exit code="3010" />
        </install>
        <install cmd='cmd /c regedit /s
w:\packages\adobereader\acroread-html8.reg ' />

        <remove cmd='MsiExec.exe /q
/x{AC76BA86-7AD7-1031-7B44-A80000000002}' >
          <exit code="0" />
          <exit code="1605" reboot="true" />
        </remove>

        <upgrade cmd='cmd /c regedit /s
w:\packages\adobereader\acroread-html8.reg ' />
        <upgrade cmd='msiexec /qb /l*
%SystemDrive%\netinst\logs\adobe-reader.txt /i
"w:\packages\adobereader\AdbeRdrSD80_all.msi ' />

    </package>
-----------------------------------------------------

acroread-html8.reg contains:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Reader\8.0\Downtown]
"bDontShowAtLaunch"=dword:00000001
"bGoOnline"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat
Reader\8.0\FeatureLockdown]
"bUpdater"=dword:00000000
"bShowEbookMenu"=dword:00000000
"bPurchaseAcro"=dword:00000000
"bCreatePDFOnline"=dword:00000000
"bBrowserIntegration"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Adobe\Acrobat Reader\8.0\Security\cEDC]
"bAllowConnectViaHTTP"=dword:00000001

Good luck,
Falko


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to