Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Deploying Java 8 u 40 with PowerShell Application Deployment Toolkit. Works fine locally, but fails as a package or application.

$
0
0

Like the title says I've running into the following screenshot. I've been using the powershell application deployment toolkit and its awesome. Prior to me taking over the SCCM environment they were yanking the MSI out of the exe and building a CMD file. Which worked but caused quite a bit of corrupted installs. The toolkit offered many benefits, and i'll stop to selling it. 

I built the script to iterate through any previous versions of java registered in the root\cimv2\sms namespace and remove them prior to installing Java 8 as jumping from 7 to 8 won't remove the previous version. After building the script I tested it thoroughly. 4 machines i tested it on manually and it worked 4 for 4. So when i built the package in 2012 i didn't expect to run into any problems, but of course Murphy is always waiting. So i've tried everything i can think of and have been googling for 4 days now. Nothing on codeplex resembling this problem, couldn't find anything on technet, etc. So this is my last resort.

The only difference between me running it manually and SCCM running it is it gets run under the system context. The script kicks off fine and removes the previous versions fine but when it comes time to install the new version it fails. The execmgr.log shows the same error as in the pic. I tried removing the custom function i added, to just install the app, that failed to. I turned on verbose logging on my client for testing hopping for a better hint but still nothing, just this ambiguous 3. I tested the script so i could see the path, its calling the proper path and the installer starts, it just doesn't complete.

If there is anything anyone could toss me i'd really appreciate it. I'm pulling my hair out over here. Thanks in advance.

-KR




Viewing all articles
Browse latest Browse all 4762

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>