I have a custom package that I created to install Adobe Reader 11.0.05 with MSI transforms that we want to use in our company and both 11.0.04 and 11.0.05 MSP files. I can deploy the package as is and it installs as expected on computers that do not have Adobe Reader. However, I want to deploy this to all workstations so that it overwrites the standard Adobe Reader install, removing the Tools pane, disabling Internet capabilities, and so on. The idea I came up with is to use Package Boot Helper to run a batch file after the install finishes to copy a blank text file to a location on the hard drive (I've tried several) to act as a sort of flag to say that the PC had been updated with our customized Adobe Reader install. The batch file contains:
echo f | xcopy rdr11005block.txt "%programdata%\blocks\rdr11005block.txt" /I /E
pause
The installation appears to work. Adobe Reader is installed, patched, and transformed as one would expect. However, the command prompt window does not stay on my screen, and the txt file does not exist when I go looking for it. Additionally, if I uninstall Adobe Reader, Windows Update never again detects that I require the Adobe Reader install. The only way I've gotten my PC to see the update again is to duplicate the package, nuke the old one, and approve the new one. This is clearly not OK for general deployment, but I can't tell if this is a Patch Manager issue, a WSUS issue, or a Windows Update Agent issue.