Error adding package to Group Policy
Hi all
I have a package for Microsoft Office 2003 Primary Interoperabilities it is a nitive windows msi, I need to deploy this via Group Policy for my client however everytime I go to add it as a package I get the following error:
"Add operation failed: unable to extract deployment information........"
After doing some google searching I found a few links which gave some ideas so I have checked, the language of the MSI using Orca and that is all fine it only has 1033 which is the default English language.
I have updated my GPMC addin to be the latest one available. I'm using Windows Server 2003 with the latest service pack.
I have tried adding the package on a different domain and get the same problem so I know its not a domain specific issue.
I've run the pacakge through WISE Package Studio 7SP2 to validate it and everything came back ok, so i am at a loss as to why group policy wont add this pacakge.
Any help would be appreciated.
I have a package for Microsoft Office 2003 Primary Interoperabilities it is a nitive windows msi, I need to deploy this via Group Policy for my client however everytime I go to add it as a package I get the following error:
"Add operation failed: unable to extract deployment information........"
After doing some google searching I found a few links which gave some ideas so I have checked, the language of the MSI using Orca and that is all fine it only has 1033 which is the default English language.
I have updated my GPMC addin to be the latest one available. I'm using Windows Server 2003 with the latest service pack.
I have tried adding the package on a different domain and get the same problem so I know its not a domain specific issue.
I've run the pacakge through WISE Package Studio 7SP2 to validate it and everything came back ok, so i am at a loss as to why group policy wont add this pacakge.
Any help would be appreciated.
0 Comments
[ + ] Show comments
Answers (11)
Please log in to answer
Posted by:
anonymous_83850
12 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
smallbytes
15 years ago
Wasn't able to get even that far, as the package wont add to the group policy, all I get is the "Add operation failed: unable to extract deployment information....." error and thats it, no other dialog boxes show up after that.
I look through the list of software that is deployed via this policy and the app I am trying to add doesn't appear in the list.
I look through the list of software that is deployed via this policy and the app I am trying to add doesn't appear in the list.
Posted by:
anonymous_9363
15 years ago
Are there any network drives or UNCs being pointed to in the MSI? Unlikely, I know, since you say it's the native MSI but, it's not unknown for WPS to add tables to MSIs.
EDIT:
I just tried this, as both a machine-based and user-based package and got the same error in both scenarios.
In the Event Viewer, I got:
Product: Microsoft Office 2003 Primary Interop Assemblies -- Microsoft Office 2003 Primary Interop Assemblies can not be installed with the ADVERTISE action.
Clearly, this is where to begin your investigation. Does the package install silently when run stand-alone, i.e. with GP in the way?
EDIT:
I just tried this, as both a machine-based and user-based package and got the same error in both scenarios.
In the Event Viewer, I got:
Product: Microsoft Office 2003 Primary Interop Assemblies -- Microsoft Office 2003 Primary Interop Assemblies can not be installed with the ADVERTISE action.
Clearly, this is where to begin your investigation. Does the package install silently when run stand-alone, i.e. with GP in the way?
Posted by:
anonymous_9363
15 years ago
OK, a bit more digging and we find this in the LaunchCondition table:
"ACTION~<>"ADVERTISE"","[ProductName] can not be installed with the ADVERTISE action."
Simply add an impossible-to-meet condition (e.g. 0=1) to this LC via a transform, which you'll obviously need to add to the GP and you should be in business.
"ACTION~<>"ADVERTISE"","[ProductName] can not be installed with the ADVERTISE action."
Simply add an impossible-to-meet condition (e.g. 0=1) to this LC via a transform, which you'll obviously need to add to the GP and you should be in business.
Posted by:
smallbytes
15 years ago
Posted by:
smallbytes
15 years ago
Well tried what you suggested VB I added a 0=1 condition to that LC and I still got the same error when adding to GP and the event viewer shows the same message that you got.
I can run the package silently from a command line using the standard switches.
Am starting to think Microsoft don't want this package deployed via GP for some reason :)
I can run the package silently from a command line using the standard switches.
Am starting to think Microsoft don't want this package deployed via GP for some reason :)
Posted by:
anonymous_9363
15 years ago
I was able to reproduce that scenario exactly. Bizarre! To get the packaged added, I had to remove the LC altogether.
Here we have amply demonstrated one of the few occasions where direct editing of a vendor MSI is the only solution to a problem. FWIW, I ensured we had a back-up copy of the MSI.
BTW, I haven't tested a deployment, as I have other projects to get done today. I can't see why it wouldn't work, though.
Here we have amply demonstrated one of the few occasions where direct editing of a vendor MSI is the only solution to a problem. FWIW, I ensured we had a back-up copy of the MSI.
BTW, I haven't tested a deployment, as I have other projects to get done today. I can't see why it wouldn't work, though.
Posted by:
raynebc
13 years ago
I opened the Office 2003 Primary Interop Assemblies MSI file in Orca 3.1.4000.1830, dropped the ACTION~<>"ADVERTISE" launch condition, saved the modified MSI as a new file and I was able to publish the modified MSI file in a Group Policy Object. But when I try to install the published package, I get a "Error 2356. An internal error has occurred. (PIA.CAB)" message and the installation fails. Does anybody know what I can do to make this work? This is a requisite installation to go with other software I want to deploy in our organization. Thank you in advance for any and all help that anybody could provide.
Posted by:
anonymous_9363
13 years ago
Normal practice is to never edit vendor-supplied MSIs. Rather, you should use a transform to apply changes. Also, I bet by "dropping" the CA, you mean you deleted the row in the CustomAction table? There's your mistake. There will be an entry for that CA in the InstallExecuteSequence table.
Go back to the back-up you took of the MSI and use Orca to create a transform, in which you add an impossible-to-meet condition for the CA in the InstallExecuteSequence table.
Go back to the back-up you took of the MSI and use Orca to create a transform, in which you add an impossible-to-meet condition for the CA in the InstallExecuteSequence table.
Posted by:
raynebc
13 years ago
Your previous post said the transform didn't work and you concluded that directly editing the original MSI was necessary. Is this no longer your stance for this particular installation package? I can only add it to a group policy with a transform if it will accept the MSI file itself, and at this point it refuses as long as that launch condition is there. Can I create a transform as you suggest, and pre-apply it to the original MSI to create a modified MSI file to deploy?
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.