On Nov 14, 2012, at 8:18 PM, Gregory Neagle <
gregn...@mac.com> wrote:
> I don't have enough detail about what you've done and what you are seeing. See below.
>
> On Nov 14, 2012, at 5:08 PM, Harry Fike <
hfi...@gmail.com> wrote:
>
>> So I do have one more issue with this. When I first started deploying the AAMEE package for the entire Master Collection, the Installs key generated by munkiimport looked like this:
>> <key>installs</key>
>> <array>
>> <dict>
>> <key>path</key>
>> <string>/Library/Application Support/Adobe/Uninstall/{41C543D4-AC29-4B7E-B95D-D73B7EB2EFBB}.db</string>
>> <key>type</key>
>> <string>file</string>
>> </dict>
>> </array>
>> Any Adobe product that gets installed for CS6 is going to generate this, so like my previous problem, if I install just Acrobat Pro X, and then try to install Master Collection, munki thinks it is already installed. To correct this, I generated the install keys using makepkginfo --file on a clean install and dumped this into a copy of the pkginfo for Adobe CS6 Master Collection and appended Test to the name so it shows up differently in MSU.
>
> Not sure I follow what you did here.
I created an AAMEE package containing all Adobe software from CS6 Master Collection. Munkiimport generated the pkgsinfo file in the repo containing the installs key above. The file name of the pkgsinfo file generated is "Adobe CS6 Master Collection-6.plist" and the name key in this file is "Adobe CS6 Master Collection". I then duplicated the pkgsinfo file, renamed it to "Adobe CS6 Master Collection Test-6.plist" and changed the name key to "Adobe CS6 Master Collection Test" so I could modify the file to see what works. After running makecatalogs and adding the Adobe CS6 Master Collection Test to the optional_installs key in my test machines' manifests, both the original and Test packages show up in MSU as installed.
On a "clean" test machine, I installed the entire CS6 Master Collection from the original media/ISO and did not run updates. On this machine I ran makepkginfo --file on each of the main Adobe Apps which I used to generate the installs key below that I then put into the Test pkginfo file:
<key>installs</key>
<array>
<dict>
<key>CFBundleIdentifier</key>
<string>
com.adobe.Acrobat.Pro</string>
<key>CFBundleName</key>
<string>Acrobat</string>
<key>CFBundleShortVersionString</key>
<string>10.1.1</string>
<key>path</key>
<string>/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.AfterEffects</string>
<key>CFBundleName</key>
<string>After Effects</string>
<key>CFBundleShortVersionString</key>
<string>11.0</string>
<key>path</key>
<string>/Applications/Adobe After Effects CS6/Adobe After Effects CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.Audition.5.0</string>
<key>CFBundleName</key>
<string>Audition</string>
<key>CFBundleShortVersionString</key>
<string>5.0x708</string>
<key>path</key>
<string>/Applications/Adobe Audition CS6/Adobe Audition CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.bridge5</string>
<key>CFBundleName</key>
<string>Adobe Bridge CS6</string>
<key>CFBundleShortVersionString</key>
<string>5.0.0.399</string>
<key>path</key>
<string>/Applications/Adobe Bridge CS6/Adobe Bridge CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.dreamweaver-12.0</string>
<key>CFBundleName</key>
<string>Dreamweaver</string>
<key>CFBundleShortVersionString</key>
<string>12.0.0.5808</string>
<key>path</key>
<string>/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.Encore</string>
<key>CFBundleShortVersionString</key>
<string>6.0.0</string>
<key>path</key>
<string>/Applications/Adobe Encore CS6/Adobe Encore CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.ExtensionManager</string>
<key>CFBundleShortVersionString</key>
<string>6.0.412</string>
<key>path</key>
<string>/Applications/Adobe Extension Manager CS6/Adobe Extension Manager CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.macromedia.fireworks</string>
<key>CFBundleName</key>
<string>Fireworks</string>
<key>CFBundleShortVersionString</key>
<string>12.0.0</string>
<key>path</key>
<string>/Applications/Adobe Fireworks CS6/Adobe Fireworks CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>org.eclipse.eclipse</string>
<key>CFBundleName</key>
<string>Adobe Flash Builder 4.6</string>
<key>CFBundleShortVersionString</key>
<string>4.6</string>
<key>path</key>
<string>/Applications/Adobe Flash Builder 4.6/Adobe Flash Builder
4.6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.flash</string>
<key>CFBundleName</key>
<string>Flash</string>
<key>CFBundleShortVersionString</key>
<string>12.0.0.481</string>
<key>path</key>
<string>/Applications/Adobe Flash CS6/Adobe Flash CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.illustrator</string>
<key>CFBundleName</key>
<string>Illustrator</string>
<key>CFBundleShortVersionString</key>
<string>682</string>
<key>path</key>
<string>/Applications/Adobe Illustrator CS6/Adobe Illustrator.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.InDesign</string>
<key>CFBundleName</key>
<string>InDesign</string>
<key>CFBundleShortVersionString</key>
<string>8.0.0.370</string>
<key>path</key>
<string>/Applications/Adobe InDesign CS6/Adobe InDesign CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.ame.application</string>
<key>CFBundleShortVersionString</key>
<string>6.0.0</string>
<key>path</key>
<string>/Applications/Adobe Media Encoder CS6/Adobe Media Encoder CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.Photoshop</string>
<key>CFBundleName</key>
<string>Photoshop</string>
<key>CFBundleShortVersionString</key>
<string>13.0.0</string>
<key>path</key>
<string>/Applications/Adobe Photoshop CS6/Adobe Photoshop CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.Prelude</string>
<key>CFBundleName</key>
<string>Prelude</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>path</key>
<string>/Applications/Adobe Prelude CS6/Adobe Prelude CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>com.adobe.AdobePremierePro</string>
<key>CFBundleName</key>
<string>Premiere Pro</string>
<key>CFBundleShortVersionString</key>
<string>6.0.0</string>
<key>path</key>
<string>/Applications/Adobe Premiere Pro CS6/Adobe Premiere Pro CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
<dict>
<key>CFBundleIdentifier</key>
<string>adobe.SpeedGrade</string>
<key>CFBundleName</key>
<string>SpeedGrade</string>
<key>CFBundleShortVersionString</key>
<string>2012.7766.34</string>
<key>path</key>
<string>/Applications/Adobe SpeedGrade CS6/Adobe SpeedGrade CS6.app</string>
<key>type</key>
<string>application</string>
</dict>
</array>
>
>> Ideally munki would have seen that all the Apps in the Installs key were installed and show "Installed" in MSU.
>
> What does this mean? Are you talking about Optional Software (optional_installs)?
You are correct, in Optional Software.
>
>> On a clean install, this works correctly. However, after running Adobe updates on a machine,
>
> How did you do this?
If on the machine that I used to generate the installs key from above, I added the Test package to the optional_installs key in its manifest. Running MSU and looking in Optional Software, the Test package shows up as Installed. I also added the Test package to another machine that has had Adobe Updates run on it, and on this machine, Optional Software in MSU the Test package as Update Available.
>
>> MSU (in optional updates) shows the package
>
> Which package?
>
>> as Update Available. I would have expected it to say Not Installed, but not Update Available. As a troubleshooting step, I went through the pkginfo for the Test file and removed all of the <key>CFBundleShortVersionString</key> entries so it would just look for the path,
>
> Not sure that will have the desired effect.
I thought that if Adobe's versioning for updates didn't make sense (i.e. Audition's version from the original install is 5.0x708 and the updated version is 5.0.2x5), I could remove the CFBundleShortVersionString from the installs keys and have munki just look at the path to the file to see if all the apps are installed.
>
>> however, this still produced the same results. Again, I copied the original pkginfo file, appended "Test" to the name, display name, and file name so it would who up separately in MSU. I then changed only the entries under <installs> and then ran makecatelogs. Any thoughts?
>
> Can you provide more detail and more specific descriptions of what you did?
I have had this process work in a similar situation. I had created one AAMEE package containing Photoshop, Illustrator, and InDesign and had left the installs key generated by munkiimport that looked for <string>/Library/Application Support/Adobe/Uninstall/{41C543D4-AC29-4B7E-B95D-D73B7EB2EFBB}.db</string>. Obviously (now) any other AAMEE packages I imported into munki and did not modify the pkgsinfo would show up as installed since they used the same key.
I changed the way I wanted to deploy the these packages, so I created separate AAMEE packages each for Photoshop, Illustrator, and InDesign. However, in the pkgsinfo for each of these, I used the makepkginfo --file on a machine that had these apps installed and not updated.
On a machine that I had previously deployed the single package containing PS, IL and ID (named "Adobe CS6 PS IL ID"), I removed the single package from the manifest and added the three packages that contained each app separately (that had the correct installs key). This worked without a problem as munki saw that they were installed. I also tested this on a machine that had been updated with the Adobe updater and munki recognized that the packages were installed.
Thanks,
Harry
>
>>
>> Thanks,
>> Harry
>