Problem:

I’ve previously deployed a Package to a machine and it worked fine. I then uninstalled the software. I now need to reinstall the software on the machine but whatever I try I cannot get the package to reinstall.

Resolution:

This is because at the time ConfigMgr installs a Package it keeps a record in the Registry. The architecture of the Client machine determines the location of the Registry key:

x86 - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System

x64 - HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System

Listed under here will be a list of all the Packages (listed by ID) that have been installed on the machine.

To re-install the software simply delete the relevant Package ID from this key, then depending on how your Adverts are setup you may get away with refreshing the User/ Machine Policy on the machine or you might have to re-run the Advert for the corresponding Package.