pbalderos Posted May 13, 2013 Report post Posted May 13, 2013 Hello All, I am having trouble distributing a software package (Java 7 update 21) to a test computer in a collection. 1) I copied the Data1.cab and the actual msi to our software share that the package / Program is pointed to. 2) Used the following command line paramaters in the package/program msiexec.exe /I jre1.7.0_21.msi /quite 3) Ran machine policy Mahcine Policy update eval. Recevied the following output below: 5/13/2013 10:00:41 AM (Number of Records: 1) Resource Receipt Status Accepted 1 100 UPP20116 5/13/2013 10:00:41 AM (Number of Records: 1) Status of Targeted Resources Waiting 1 100 UPP20116 And then under waiting this is what I get Last Status Message ID Last Status Message Name Last Status Time Advertisement Id OPS11976 UPP 1 10037 Waiting for another program 5/13/2013 9:51:09 AM UPP20116 I looked at the execmgr.log file and here are the last entries: Successfully raised SoftDistWaitingContentEvent event for program Install Java 7u21 Execution Request for package UPP00130 program Install Java 7u21 state change from WaitingDependency to WaitingContent I cant understand why it wont install. Is somthing more missing that I should be using? Phil Balderos Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted May 13, 2013 Report post Posted May 13, 2013 Quote msiexec.exe /I jre1.7.0_21.msi /quite your spelling is wrong "quite" should be "quiet" Also your /l switch should be /i not unless it's an uppercase i ......it looks like an l though?? Also you could try this command and see how you get on: msiexec /i "jre1.7.0_21.msi" ALLUSERS=1 /q /norestart Quote Share this post Link to post Share on other sites More sharing options...
pbalderos Posted May 13, 2013 Report post Posted May 13, 2013 Hi Rocket Man, This is the command line that I actually used msiexec /i jre1.7.0_21.msi /quiet /n What I did was add the Data.cab1 file to the software share and also browse to the java.msi where as before I just hand typed everthing (msiexec /i jre1.7.0_21.msi /quiet /n) I am not sure if that is what resolved it or just adding the Data1.cab file. But it is working now. I'll also make a note on your last suggestion msiexec /i "jre1.7.0_21.msi" ALLUSERS=1 /q /norestart I am I crazy or are these Java commandline options changing with each version? Thanks! Phil Quote Share this post Link to post Share on other sites More sharing options...
pbalderos Posted May 13, 2013 Report post Posted May 13, 2013 your spelling is wrong "quite" should be "quiet" Also your /l switch should be /i not unless it's an uppercase i ......it looks like an l though?? Also you could try this command and see how you get on: msiexec /i "jre1.7.0_21.msi" ALLUSERS=1 /q /norestart Could this be the correct syntext when creating an uninstall package? msiexec /x jre1.7.0_21.msi /quiet /n Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted May 13, 2013 Report post Posted May 13, 2013 There can certainly be more than 1 switch on certain applications to deploy silently, that commandline is the one I use from version 1.6(unsure where I sourced it from, but it worked)...., It may work with your version.... not sure though... Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted May 13, 2013 Report post Posted May 13, 2013 Could this be the correct syntext when creating an uninstall package? msiexec /x jre1.7.0_21.msi /quiet /n OK just a little tip that I noticed one day when rooting through the console.......On any of your systems that have java installed on them right click the object and use resource explorer. Navigate to the Installed software node of resource explorer. In here there is a wealth of information in relation to software.....one been uninstall string.. see image (this is my uninstall string for java version 1.6) Now I never have to uninstall any software in my enviornment....luckily we just refresh each year with new OSD and also whenever new out of boxes' systems come in.... but if I had to uninstall certain software this is where I would look first....it should do the trick (I think).... could you test it and report back as I would be interested to know myself if these uninstall strings work. Thanks Rocket Man Quote Share this post Link to post Share on other sites More sharing options...
pbalderos Posted May 14, 2013 Report post Posted May 14, 2013 OK just a little tip that I noticed one day when rooting through the console.......On any of your systems that have java installed on them right click the object and use resource explorer. Navigate to the Installed software node of resource explorer. In here there is a wealth of information in relation to software.....one been uninstall string.. see image (this is my uninstall string for java version 1.6) uninstall.PNG Now I never have to uninstall any software in my enviornment....luckily we just refresh each year with new OSD and also whenever new out of boxes' systems come in.... but if I had to uninstall certain software this is where I would look first....it should do the trick (I think).... could you test it and report back as I would be interested to know myself if these uninstall strings work. Thanks Rocket Man Hey Rocketman! That was a great tip to use Resource Explorer to find MSI switches. I was able to uninstall a piece of software from my test pc using the following I pulled from the Installed Software node in Resource Explorer msiexec.exe /X{864EE2DE-BC86-4F70-8C19-0B1A3C46E405} /qn It will prompt you asking you "Are you sure you want to uninstall this software" if you do not specifiy the /qn switch. Thanks again! Phil Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted May 14, 2013 Report post Posted May 14, 2013 Yes of course do add the required silent switches!! Quote Share this post Link to post Share on other sites More sharing options...
pbalderos Posted May 14, 2013 Report post Posted May 14, 2013 That's what you were asking to to try right? Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted May 15, 2013 Report post Posted May 15, 2013 Yes indeed it is... thanks for testing this. thanks Rocket man Quote Share this post Link to post Share on other sites More sharing options...