Jump to content

How to slipstream acrobat 8.1 update ?


larciel

Recommended Posts

I've tried alot of method. but none of them worked. The closest I got to succeeding it was when I used

msiexec /p Acro81UPDATE.msp /a AcroPro.msi /qb!

and that ran fine. But when I tried to install the program, it'd halt at the end of setup saying a file (patch32w.dll) was missing, possibly from DATA1.cab and installation will end.

If anyone has a way to do this, I'm all ears. Thanks

Edited by larciel
Link to comment
Share on other sites


have you tried to run the setup with standard switches to see if it updates your installation silently?

some old updates of acrobat did work like this but the last ones of versions 7.x.x didnt.

i havent tested this update yet.

Link to comment
Share on other sites

I use 7-Zip to create SFX installers and they run in an unattended mode. Below is a copy of my code. I was having an issue with the script but I figured it out and it works fine now. Try it out if you'd like.

@ECHO OFF
TITLE Adobe SFX MAKER

:::::::::::::::::::::::::::::::::::::::::::::::::
::REVISED: 14:24 07/02/2007
:::::::::::::::::::::::::::::::::::::::::::::::::

:::::::::::::::::::::::::::::::::::::::::::::::::
::YOU'LL NEED A FEW THINGS TO USE THIS SCRIPT...
::YOU'LL NEED SOME FILES FROM HTTP://WWW.7-ZIP.ORG/DOWNLOAD.HTML
::GRAB THE MAIN Z-ZIP FILES
::GRAB THE COMMAND LINE VERSION
::GRAB THE SFXs FOR INSTALLERS
:::::::::::::::::::::::::::::::::::::::::::::::::

::INSTALLS ADOBE READER

:BEGIN
::
:VARIABLES
::SETTING UP VARIABLES FOR EASE OF USE. IN THEORY, YOU CAN MAKE CHANGES HERE AND MOST OF THE SCRIPT SHOULD STILL WORK. ALWAYS DOUBLE CHECK THOUGH.
::DOUBLE CHECK THE VARIABLES IN THE :SETUP_CMD SECTION FURTHER DOWN...
SET FILENAME=ADOBE READER
SET SOURCE1="C:\Documents and Settings\robs\Desktop\Rob\PDF Stuff\Adobe Reader"
SET BACKUP="C:\Documents and Settings\robs\Desktop\Temp"
SET SEVENZIP="C:\PROGRAM FILES\7-ZIP"
SET CONFIG_TITLE=ADOBE READER 8.1 INSTALL
SET DEST_FILE="C:\Documents and Settings\robs\Desktop\Rob\PDF Stuff\Adobe Reader\ADOBE81.EXE"
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO PURGE)

:PURGE
::PURGES FILES TO PREVENT PROBLEMS WITH DUPLICATES.
IF EXIST %TEMP%\%%FILENAME%%.7Z (DEL /Q %TEMP%\%%FILENAME%%.7Z) ELSE (ECHO FILE WAS NOT THERE TO DELETE. WILL MAKE A NEW ONE.)
IF EXIST %TEMP%\%%FILENAME%%.EXE (DEL /Q %TEMP%\%%FILENAME%%.EXE) ELSE (ECHO FILE WAS NOT THERE TO DELETE. WILL MAKE A NEW ONE.)
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO SETUP_CMD)

::############################################
:SETUP_CMD
ECHO @ECHO OFF > %SOURCE1%\SETUP.CMD
ECHO TITLE ADOBE READER >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
ECHO ::::::::::::::::::::::::::::::::::::::::: >> %SOURCE1%\SETUP.CMD
ECHO ::REVISED: 14:24 07/02/2007 >> %SOURCE1%\SETUP.CMD
ECHO ::::::::::::::::::::::::::::::::::::::::: >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
ECHO :BEGIN >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
ECHO SETLOCAL >> %SOURCE1%\SETUP.CMD
ECHO SET FILENAME=AdbeRdr810_en_US.exe >> %SOURCE1%\SETUP.CMD
::THE SWITCHES ARE: /sPB /rs /l /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES""
::YOU CANNOT JUST ECHO THAT - IT'LL BREAK! SEE BELOW...NOTE THE CARROT
ECHO SET SWITCHES=/sPB /rs /l /msi^"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"" >> %SOURCE1%\SETUP.CMD
ECHO SET INSTALL_TITLE=ADOBE READER >> %SOURCE1%\SETUP.CMD
ECHO SET INSTALL_VER=8.1 >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
::WE NEED THE DOUBLE PERCENT SO IT WILL ECHO THE STRING PROPERLY >> %SOURCE1%\SETUP.CMD
ECHO ECHO INSTALLING %%INSTALL_TITLE%% %%INSTALL_VER%% >> %SOURCE1%\SETUP.CMD
ECHO START /W %%FILENAME%% %%SWITCHES%% >> %SOURCE1%\SETUP.CMD
ECHO IF %%ERRORLEVEL%% EQU 0 (GOTO SHORTCUTS) ELSE (GOTO ERROR) >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
ECHO :SHORTCUTS >> %SOURCE1%\SETUP.CMD
ECHO ::DELETING SHORTCUTS FROM DESKTOP AND STARTUP DIRECTORIES >> %SOURCE1%\SETUP.CMD
::WE NEED THE DOUBLE %% SO IT WILL ECHO THE STRING PROPERLY >> %SOURCE1%\SETUP.CMD
ECHO IF EXIST "%%ALLUSERSPROFILE%%\DESKTOP\ADOBE READER 8.LNK" (DEL /Q "%%ALLUSERSPROFILE%%\DESKTOP\ADOBE READER 8.LNK") >> %SOURCE1%\SETUP.CMD
ECHO IF EXIST "%%ALLUSERSPROFILE%%\START MENU\PROGRAMS\STARTUP\ADOBE READER SPEED LAUNCH.LNK" (DEL /Q "%%ALLUSERSPROFILE%%\START MENU\PROGRAMS\STARTUP\ADOBE READER SPEED LAUNCH.LNK") >> %SOURCE1%\SETUP.CMD
ECHO IF EXIST "%%ALLUSERSPROFILE%%\START MENU\PROGRAMS\STARTUP\ADOBE READER SYNCHRONIZER.LNK" (DEL /Q "%%ALLUSERSPROFILE%%\START MENU\PROGRAMS\STARTUP\ADOBE READER SYNCHRONIZER.LNK") >> %SOURCE1%\SETUP.CMD
ECHO IF %ERRORLEVEL% EQU 0 (GOTO END) ESLE (GOTO ERROR) >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
ECHO :ERROR >> %SOURCE1%\SETUP.CMD
ECHO ::ECHO SOMETHING BAD HAPPENED. CHECK YOUR SCRIPT(S) AND PATH(S) >> %SOURCE1%\SETUP.CMD
ECHO PAUSE >> %SOURCE1%\SETUP.CMD
ECHO GOTO END >> %SOURCE1%\SETUP.CMD
ECHO :: >> %SOURCE1%\SETUP.CMD
ECHO :END >> %SOURCE1%\SETUP.CMD
ECHO ENDLOCAL >> %SOURCE1%\SETUP.CMD
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO CONFIG)

::############################################
:CONFIG
::CREATING THE CONFIG.TXT THAT WILL BE USED TO CREATE THE SFX FILE.
ECHO;!@Install@!UTF-8! > %TEMP%\CONFIG.TXT
ECHO Title="%CONFIG_TITLE%" >> %TEMP%\CONFIG.TXT
::ECHO BeginPrompt="This will extract the files to a temporary directory and run the setup. OK?" >> %TEMP%\CONFIG.TXT
ECHO ExecuteFile="SETUP.CMD" >> %TEMP%\CONFIG.TXT
::ECHO ExecuteParameters="/sPB /rs /l /msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"" >> %TEMP%\CONFIG.TXT
ECHO;!@InstallEnd@! >> %TEMP%\CONFIG.TXT
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO BACKUP)

:BACKUP
::COPYING FILES TO A BACKUP LOCATION.
COPY /Y %SOURCE1%\*.* %BACKUP%
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO COMPRESS)

:COMPRESS
::COMPRESSING FILES TO A 7-ZIP FILE.
::THIS USES 7-ZIP TO ADD FILES TO A 7-ZIP FILE.
%SEVENZIP%\7z.exe a -t7z %TEMP%\%%FILENAME%%.7Z %SOURCE1%\*
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO SFX)

:SFX
::CREATING THE SELF EXTRACTING FILE FROM THE 7-ZIP FILE.
copy /b %SEVENZIP%\7zS.sfx + %TEMP%\CONFIG.TXT + %TEMP%\%%FILENAME%%.7Z %DEST_FILE%
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO CLEANUP)

:CLEANUP
::DELETES THE UNNEEDED .7Z FILE.
IF EXIST %TEMP%\%%FILENAME%%.7Z (DEL /Q %TEMP%\%%FILENAME%%.7Z) ELSE (ECHO FILE WAS NOT THERE TO DELETE.)
IF EXIST %TEMP%\CONFIG.TXT (DEL /Q %TEMP%\CONFIG.TXT) ELSE (ECHO FILE WAS NOT THERE TO DELETE.)
::IF EXIST %SOURCE1%\SETUP.CMD (DEL /Q %SOURCE1%\SETUP.CMD) ELSE (ECHO FILE WAS NOT THERE TO DELETE.)
IF %ERRORLEVEL% GEQ 1 (GOTO ERROR) ELSE (GOTO END)

:ERROR
ECHO SOMETHING BAD HAPPENED! CHECK YOUR SCRIPT(S) & PATH(S)!
PAUSE

:END

07-02-07

1351 EDT

Edited by rkillcrazy
Link to comment
Share on other sites

I tried same way as I did acrobat 7 (not reader) which was to use that switch.

I could probably use silent switch to update 8.1 over installed 8.0 but my goal is to do one install of 8.1.

more tinkering ahead. I'll report if I find anything useful

Link to comment
Share on other sites

  • 1 month later...

i just share my experience.

Download Adobe Customization Wizard 8 and run it to make a .mst file.

When it is done , it will also change the setup.ini file.

Then simply run the "setup.exe /spb /rs",

it will install 8.1 without user interaction.

Link to comment
Share on other sites

Didn't read through this whole thread due to lack of time, but here is how I did it only last week:

- Download the Adobe Reader 8.1 EXE-file from the Adobe web site

- Download the Adobe Customization Wizard 8 from the same web site

- Extract the Adobe Reader 8.1 EXE-file using Universal Extractor 1.5

- Use the Adobe Customization Wizard 8 to create an MST-file for the Adobe Reader 8.1 MSI-file which you extracted

- Create a self-extracting file of the installation files using 7-Zip which executes the command:

AcroRead.msi TRANSFORMS=AcroRead.mst /quiet /norestart

- Include this self-extracting file in your SVCPACK.INI file, or place it in your SVCPACK folder if you're using HFSLIP.

Link to comment
Share on other sites

Again, he wanted Acrobat, not AcroRead.

I want to know how to do this too. Been fuddling with it for quite some time.

... which works the same way ;)

Follow the steps as I wrote them above, but instead of "Adobe Reader" read "Adobe Acrobat".

Link to comment
Share on other sites

i just share my experience.

Download Adobe Customization Wizard 8 and run it to make a .mst file.

When it is done , it will also change the setup.ini file.

Then simply run the "setup.exe /spb /rs",

it will install 8.1 without user interaction.

Could you explain with more details? I don't see where you can update the 8.0 MSI with 8.1 MSI file in Cust. Wizard.

Link to comment
Share on other sites

Again, he wanted Acrobat, not AcroRead.

I want to know how to do this too. Been fuddling with it for quite some time.

... which works the same way ;)

Follow the steps as I wrote them above, but instead of "Adobe Reader" read "Adobe Acrobat".

Acrobat reader and Acrobat is quite different programs. Most important one being one is free while other one costs $299.

I don't think you can download acrobat 8.1 for free and if I follow you correctly, what's the point of going through all this when you already have 8.1

My question was how to integrate 8.1 update to acrobat 8.0 so I can install 8.1 in one setup.

Thanks for reply, this is more trickier than 7.0

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...