Reapply MST question
Greetings,
With respect to Adobe Acrobat Standard, we have created an MST that removes the "View in Browser" feature. If I want to re-enable this how do I go about it?
I have tried just changing the MST and rerunning msiexec /i package.msi tranforms=change.mst but that did not work.
Thanks![:)]
Gary
With respect to Adobe Acrobat Standard, we have created an MST that removes the "View in Browser" feature. If I want to re-enable this how do I go about it?
I have tried just changing the MST and rerunning msiexec /i package.msi tranforms=change.mst but that did not work.
Thanks![:)]
Gary
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
VikingLoki
19 years ago
Yes, that won't work. It will know it's already installed and will probably use the existing locally cached copy of the MSI. I haven't yet tried this, but assuming it isn't a major change I think that a repair from source might work. Try this...
MSIEXEC /fvomus package.msi TRANSFORMS=change.mst
The theory being that it will recache the MSI (wiping out the old locally cached copy) and use your new transform in the repair, which will correct the view in browser value. Let me know if this works or not. It's a bit of a stretch for Acrobat though, I know it has a bunch of custom actions. If the "View In Browser" option involves one of these CAs, you may be stuck with uninstalling the old Adobe Acrobat and installing the new, reconfigured Adobe Acrobat.
MSIEXEC /fvomus package.msi TRANSFORMS=change.mst
The theory being that it will recache the MSI (wiping out the old locally cached copy) and use your new transform in the repair, which will correct the view in browser value. Let me know if this works or not. It's a bit of a stretch for Acrobat though, I know it has a bunch of custom actions. If the "View In Browser" option involves one of these CAs, you may be stuck with uninstalling the old Adobe Acrobat and installing the new, reconfigured Adobe Acrobat.
Posted by:
batroja
19 years ago
ORIGINAL: VikingLoki
I haven't yet tried this, but assuming it isn't a major change I think that a repair from source might work. Try this...
MSIEXEC /fvomus package.msi TRANSFORMS=change.mst
If the above didnt work... MSIEXEC /I package.mst TRANSFORMS=change.mst REINSTALL=ALL REINSTALLMODE=vomus. Again this will recache the MSI and MST and reinstall all previously installed features.
Posted by:
dtcappdeploy
19 years ago
Posted by:
ab2cv
19 years ago
Posted by:
dtcappdeploy
19 years ago
Posted by:
ab2cv
19 years ago
Posted by:
sini
19 years ago
Don't know if that helps but here is a litte vbscript that will retrieve the cached msi name of an installation, just call it with the productname:
Option Explicit
Dim objWshShell
Dim strApplication, strPackage
Set objWshShell = Wscript.CreateObject("Wscript.Shell")
'********************************************************************************************************
Call GetArgument
If IsInstalled(strApplication, strPackage) Then
msgbox strPackage
End If
'********************************************************************************************************
Sub GetArgument()
Dim objArgs
Set objArgs = Wscript.Arguments
If objArgs.Count <> 1 Then
Wscript.Echo "Incorrect number of arguments."
Wscript.Quit
Else
strApplication = objArgs(0)
End If
End Sub
'********************************************************************************************************
Function IsInstalled(strApplication, strPackage)
Dim objInstaller
Dim strProduct, strInstalledProducts
Set objInstaller = Wscript.CreateObject("WindowsInstaller.Installer")
Set strInstalledProducts = objInstaller.Products
IsInstalled = False
For Each strProduct In strInstalledProducts
If objInstaller.ProductInfo(strProduct, "ProductName") = strApplication Then
IsInstalled = True
strPackage = objInstaller.ProductInfo(strProduct, "LocalPackage")
End If
Next
End Function
Option Explicit
Dim objWshShell
Dim strApplication, strPackage
Set objWshShell = Wscript.CreateObject("Wscript.Shell")
'********************************************************************************************************
Call GetArgument
If IsInstalled(strApplication, strPackage) Then
msgbox strPackage
End If
'********************************************************************************************************
Sub GetArgument()
Dim objArgs
Set objArgs = Wscript.Arguments
If objArgs.Count <> 1 Then
Wscript.Echo "Incorrect number of arguments."
Wscript.Quit
Else
strApplication = objArgs(0)
End If
End Sub
'********************************************************************************************************
Function IsInstalled(strApplication, strPackage)
Dim objInstaller
Dim strProduct, strInstalledProducts
Set objInstaller = Wscript.CreateObject("WindowsInstaller.Installer")
Set strInstalledProducts = objInstaller.Products
IsInstalled = False
For Each strProduct In strInstalledProducts
If objInstaller.ProductInfo(strProduct, "ProductName") = strApplication Then
IsInstalled = True
strPackage = objInstaller.ProductInfo(strProduct, "LocalPackage")
End If
Next
End Function
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.