Den 27.09.2018 11:51, skrev Bastien HERMITTE: Thanks, this was perfect documented. There is just one small detail I must add, part off the uninstallkey seems to be different depending on what language you use, for French you use 1036, but for Norwegian it's 1044, and probably for German it's 1031 ,I guess, at least this seems to fit with the LCID list from here: https://docs.microsoft.com/en-us/deployoffice/office2016/language-identifier...
Thanks!
Hello,
The "package" directory is just extracted from the installer, there is no need to change many things inside.
Here is the procedure I use to create the package :
- download and install Adobe Customization Wizard DC :
ftp://ftp.adobe.com/pub/adobe/acrobat/win/AcrobatDC/misc/CustWiz1502020039_en_US_DC.exe
- download Adobe Reader DC installer, in your language, from here :
https://get.adobe.com/fr/reader/enterprise/ I continue with the German installer but this is the same procedure with the Norwegian installer.
- extract the installer with this command :
AcroRdrDC1801120063_de_DE.exe -nos_o"C:\package" -nos_ne
- launch Adobe Customization Wizard et open the file C:\package\AcroRead.msi
- define the parameters you want, for example :
-- Personalization Options : --- check "Suppress display of End User License Agreement (EULA) -- Installation Options : --- check "Silently (no interface)" --- check "Suppress reboot" -- Shortcuts : --- remove desktop shortcut (right clic /Remove on Desktop/Adobe Reader DC) -- Online Services and Features : --- check"Disable product updates"
- click on "Transform/Generate Transform..." (in the top menu) and save
the .mst file in C:\package\AcroRead.mst
- in the file C:\package\Setup.ini, add this line in the [Product]
section : CmdLine=TRANSFORMS="AcroRead.mst"
- copy the C:\package directory inside the WAPT package
Here is the setup.py I use : /# -*- coding: utf-8 -*-// //from setuphelpers import *// // //uninstallkey = ["{AC76BA86-7AD7-1036-7B44-AC0F074E4100}"]// // //def install():// // for process in ('AcroRd32.exe','AdobeARM.exe'):// // if isrunning(process):// // print ("Fermeture de %s" % process)// // killalltasks(process)// // // run(r'package\setup.exe')/
And then you just have to build your package and upload it to your WAPT repository.
When new versions of Adobe Reader will be released, you'll have to :
- edit the package
- change the version in the control file
- change the patch in the package directory :
-- replace AcroRdrDCUpd1801120063.msp by the newer version .msp file
- change the patch name in the Setup.ini file
-- replace "PATCH=AcroRdrDCUpd1801120063.msp" by "PATCH=AcroRdrDCUpdXXXXXXXXXX.msp" (replace the X by the version numbers of the new .msp file)
- build and upload package to your WAPT repository
Regards, Bastien
Le 26/09/2018 à 19:10, Klaus Ade Johnstad a écrit :
Den 14.03.2018 17:32, skrev Hubert TOUVET:
So, I've had a look at tis-adobereader 2018.11.20055-5, to figure out how to use that as a template for German and Norwegian language packages. Normally in most other wapt-packages it's just the control-file,setup-file and a exe/msi that i need to understand. But, this adobereader packages contains a huge package-directory with a lot of "stuff", and i'm not sure where you got those ini/msp/msi/mst/cab/exe files from. And exactly which files I need to replace in order to get a different language. Do you have some short info on exactly what to change, and where you actually got the files you put inside this package?
You have to create your own packages using ours as a template. Just replace adobe binaries in it.
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt