Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I repush an already installed program?

Status
Not open for further replies.

ronifly

Technical User
Jul 31, 2006
56
US
I have a test box that I am trying to push software to. SMS copied the software to the local machine as directed but never installed it. I ended up going to this folder (...\ccm\cache\<program>) and manually installing the program. I then went to ADD/Remove and UNinstalled the program. I am now trying to repush with SMS but am getting an error stating that the program was already installed. Is there anyway to override this and force SMS to REinstall? I believe there should be.

Thank you
 
yes ... delete the registry key on the sms client that's named after the program that ran. Then you can re-run the advertisment.

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

The program number should start with your SMS site code and be about 6 numbers long. In my case since my site code is IT1 then the numbers are IT1123456 or so. If its not in the place i mentioned above ... just do a search for it.
 
Great, thank you. I have deleted this registry entry, now it's a waiting game to see if this program will install.
I write back with the results.

Thank you again.
ron
 
Have a read of these two posts aswell, give you some more understanding of how the manditory/scheduled assignment of advertisments are processed.

thread22-1258313
thread22-1232767

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Thank you - I did take your advise and created a new advertisement. I just seems to me that you shouldn't have to play "tricks" with scheduling within SMS to do such a simple request. Really, one should be able to go to a client machine name, right click on it and assign a package to install on that client regardless if package has been installed or not....and 2 options after that - run immediately or offer a schedule. Is this available in SMS? I can't anywhere.

Here is another example - java installation. We push it to clients, after a while 1 clients java may become corrupt for whatever reason. A simple push back to this client resolves all issues and should take 30 seconds to get this task complete. this doesn't seem to be the case in SMS.
 
As a recap. I have gone into the clients registry and deleted the "Execution History" for a particular program I want to REinstall. I then recreated a new advertisement with a schedule set for the year 2030 so as to avoid the wrong "Policy Set" entry on this client system. I re-associated the package and collection to this new Advert., right-clicked and selected RErun Advert. and viola. The package installed succesfully even though this same package was installed originally 2 days ago and then mannually UNinstalled.
 
glad everything worked out for you....

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top