/build/static/layout/Breadcrumb_cap_w.png

MST for Adobe Reader 7.0 installing patches 7.0.1 and 7.0.2?

Hi

I need to make an installation of Adobe Reader 7.0.2 silent.
I haven't found any MSI's fontaining the full versjon of 7.0.2 but are stuck with three MSI's.

"Adobe Reader 7.0 - Norsk.msi" (Norwegian version)
"Adobe Acrobat 7.0.1 and Reader 7.0.1 Update.msi"
"Adobe Acrobat 7.0.2 and Reader 7.0.2 Update.msi"

Here is my task:
I want to the reader to be installed to ALL USERS silently.
I want to delete all shortcuts and create one to a different location. (Start Menu - My Programs - Office Tools - ...)
No users should be asked about EULA. (I have different users using the same computer)
No users should be asked about available updates.

Some of the above tasks can be solved using an MST and some using VBscripts deployed with the application.
To avoid users to be asked about EULA and available updates I have made my own shortcuts starting a VBscript. The script checks registry for HKCU keys and adds them if they don't exist before Reader is started.
I have also made the same script for the shortcut to reader_sl.exe as well in the StartUp-folder. To make sure the script is run during startup for each user so that they don't get the questions ifthe user only clicks the pdf-files and don't start the Reader using my shortcut.

How to add the updates silently?
I tried to add them as Custum Actions, and the install went fine, but got problems during uninstall.
I have made a vbscript for installing the MSI's but found thet my script need the full UNC path of the location of the files so the installation isn't flexible with different source servers.

Have anyone made an MST for Adobe Reader 7.0 that are installing the two updates, and successfully removes all programs as well?

Thanks in advance

BR
Andler

0 Comments   [ + ] Show comments

Answers (4)

Posted by: sejacru 19 years ago
Second Degree Blue Belt
0
hi andler,

maybe you can find your answer here

[link]http://itninja.com/link/installshield-tuner-7.0-for-adobe-acrobat[/link]

greetings sejacru
Posted by: goosey1 19 years ago
Senior Yellow Belt
0
7.0.1 and 7.0.2 are individual MSI's. Just run then as you would any other msi

msiexec /i "Adobe Acrobat 7.0.1 and Reader 7.0.1 Update.msi" /qn
msiexec /i "Adobe Acrobat 7.0.2 and Reader 7.0.2 Update.msi" /qn
Posted by: andler 19 years ago
Orange Belt
0
Hi

Maybe I wasn't precise when I asked for help with my tasks.


goosey1 wrote:
>>7.0.1 and 7.0.2 are individual MSI's. Just run then as you would any other msi

>>msiexec /i "Adobe Acrobat 7.0.1 and Reader 7.0.1 Update.msi" /qn
>>msiexec /i "Adobe Acrobat 7.0.2 and Reader 7.0.2 Update.msi" /qn


Hi Goosey1
I know that these two lines installs the msi's silently I use them in my vbscript for installing, but as I said, I don't find vbscript to be the best solution for installing the full version, and then apply the two patches.
I use the shell.run command with the 7 switch inside my vbscript to make them wait untill they finnish before going further in the script.
I must also add that I like to use the /qb- switch with msiexec to give the users a progressbar.
Well this didn't bring me closer to a solution I'm afraid.
Thanks anyway.


sejacru wrote :
>> maybe you can find your answer here

>> http://itninja.com/link/installshield-tuner-7.0-for-adobe-acrobat

Hi Sejacru
I have studied this post before, but it doesn't say anything about applying the patches with the full version.
Thanks anyway.


I want to make a MST containing the two patches and make them install after the full installation.
Problem is I get some errors during deinstall when I try this.

Anyone else have any solutions?
Posted by: andler 19 years ago
Orange Belt
0
Successfull install of Acrobat Reader 7.0.2 [:D]

I managed to make an MST that installs the two patches and successfully remove the two patches while uninstalling the full reader as well.

msiexec.exe /I "Adobe Reader 7.0 - Norsk.msi" TRANSFORMS="Adobe_Reader_7.0.2.mst" REBOOT=ReallySupress /qb-


The MST contains three custom actions.
1) Update_701 (Nested MSI on source location): Installing the Adobe Reader 7.0.1 update, it is set to run in Install Exec Sequence : After InstallFinalize with condition NOT REMOVE
2) Update_702 (Nested MSI on source location): Installing the Adobe Reader 7.0.2 update, it is set to run in Install Exec Sequence : After Update_701 with condition NOT REMOVE
3) Uninst_Updates (VBScript stored in Custom Action): Execute only once, running in Install Exec Sequence : After RemoveExistinProducts with condition REMOVE="ALL"

'***The script***
'Uninstalling Adobe Acrobat 7.0.2 and Reader 7.0.2 Update
RunApplicationWait System32 & "\MsiExec.exe", "/X{AC76BA86-0000-7EC8-7489-000000000703} /qb-", System32

'Uninstalling Adobe Acrobat 7.0.1 and Reader 7.0.1 Update
RunApplicationWait System32 & "\MsiExec.exe", "/X{AC76BA86-0000-7EC8-7489-000000000702} /qb-", System32

'Deleting some values inn registry that the uninstall wasn't, to make the updates removed from ARP
DeleteFromRegistry "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-7EC8-7489-000000000702}\"
DeleteFromRegistry "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-7EC8-7489-000000000703}\"
DeleteFromRegistry "HKLM\SOFTWARE\Classes\Installer\Products\68AB67CA00008CE74798000000007020\SourceList\Media\"
DeleteFromRegistry "HKLM\SOFTWARE\Classes\Installer\Products\68AB67CA00008CE74798000000007020\SourceList\Nett\"
DeleteFromRegistry "HKLM\SOFTWARE\Classes\Installer\Products\68AB67CA00008CE74798000000007020\SourceList\"
DeleteFromRegistry "HKLM\SOFTWARE\Classes\Installer\Products\68AB67CA00008CE74798000000007020\"
DeleteFromRegistry "HKLM\SOFTWARE\Classes\Installer\Products\68AB67CA00008CE74798000000007030\"


Function StartUpDir(strPath, ExeFile)
''''''''''''''''''''''''''''''''''''''''''''
' Purpose:
' Returns a valid folder, if strPath exist it returns strPath
' if not strPath exist it returns folder from exefile
' Sample:
' ExeFile=ProgramFilesDir & "\Sireko MIPS\exe\Market.exe"
' strStartUpDir = StartUpDir(ProgramFilesDir + "Sireko MIPS\Centura", ExeFile)
''''''''''''''''''''''''''''''''''''''''''''

Dim strTempPath

If (FileSysObj.FolderExists(strPath)) Then
strTempPath = strPath
Else
strTempPath = mid(exefile,1,instrrev(exefile,"\")-1)
End If

StartUpDir = strTempPath
End Function

Function DeleteFromRegistry(strRegKey)
''''''''''''''''''''''''''''''''''''''''''''
' Purpose:
' This function deletes a key from registry
' Sample:
' DeleteFromRegistry "HKCU\Software\NSP\test\"
''''''''''''''''''''''''''''''''''''''''''''

On Error Resume Next
WshShell.RegDelete strRegKey

If Err.Number = 0 Then
DeleteFromRegistry = True
Else
DeleteFromRegistry = False
End If

End Function

Sub RunApplicationWait(ExeFile, Arguments, StartupDir)
''''''''''''''''''''''''''''''''''''''''''''
' Purpose:
' Run an application and waits for it to finished
' Sample:
' RunApplicationWait System32 & "\cmd.exe", "/K echo Welcome to the Command Line", TempDir
'
''''''''''''''''''''''''''''''''''''''''''''
Dim cmdLine

WshShell.CurrentDirectory = StartupDir

cmdLine = Chr(34) & ExeFile & chr(34) & " " & Arguments

WshShell.Run cmdLine,1,True
End Sub
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ