Sam_ Posted February 15, 2018 Posted February 15, 2018 (edited) Having another problem with installing apps with SCCM, particularly with the "Install Applications" stage during a task sequence OSD. I am trying to deploy NetBeans and its Java Development kit, the Java DK installs no problem and then NetBeans installs after no problem BUT when I then add in the rest of the apps I want to install into the "Install Applications" stage, during OSD NetBeans then fails to install when it reaches it. I don't think its just a specific NetBeans issue as other apps fail to install as well but install fine when they are by themselves in a task sequence deployment. Is there any logical reason why this could be happening? because I cant think of any All the applications I added into SCCM have been tested as a deployment to ensure they can install silently without error. Does install order matter in the list of apps in that step? Any help would be appreciated! Edited February 15, 2018 by Sam_
Fazza Posted February 15, 2018 Posted February 15, 2018 Do you need to reboot after the JDK has installed? Try adding a restart in to your TS to see.
Steve21 Posted February 15, 2018 Posted February 15, 2018 So it works fine in TS when on it's own, but fails if you install lets say 5 in a row? Simple one could be it requires a restart between the two and the installers error out if this hasn't been done as it thinks something is installing. (Simple test would be just putting in a Restart to OS (not pxe) between the installs and trying it) What's the error log for the installer tell you when it errors? Should show it in the CCM logs still Steve
Sam_ Posted February 15, 2018 Author Posted February 15, 2018 (edited) Do you need to reboot after the JDK has installed? Try adding a restart in to your TS to see. So it works fine in TS when on it's own, but fails if you install lets say 5 in a row? Simple one could be it requires a restart between the two and the installers error out if this hasn't been done as it thinks something is installing. (Simple test would be just putting in a Restart to OS (not pxe) between the installs and trying it) What's the error log for the installer tell you when it errors? Should show it in the CCM logs still Steve Yeah exactly that Steve, it fails when installing say 5 or more. Ok just tried moving Netbeans to install STRAIGHT after the JDK (which is a dependency) and it installs successfully along with the other 10 programs but when it was further down the order it would fail, why would it do that? I'm quite a logical thinker and need to understand why these things happen otherwise it annoys me. Thats the only thing I just changed, good idea with the restart step but I haven't added that in? I have a feeling I'm going to get a lot of this as I have 62 programs in total to add to this install step. Edited February 15, 2018 by Sam_
Steve21 Posted February 15, 2018 Posted February 15, 2018 It depends what it is that's causing it, but any of the 10 programs could not be clearing a specific key/flag that it's looking for and gets upset about. Generally I like to add a restart in between each major step if I'm pushing lots out during the OSD stage. If you put netbeans back down further (as in where it would fail), and just add a restart before it installs does it work? Might be nothing to do with that but it's a common occurance Steve 1
Sam_ Posted February 15, 2018 Author Posted February 15, 2018 It depends what it is that's causing it, but any of the 10 programs could not be clearing a specific key/flag that it's looking for and gets upset about. Generally I like to add a restart in between each major step if I'm pushing lots out during the OSD stage. If you put netbeans back down further (as in where it would fail), and just add a restart before it installs does it work? Might be nothing to do with that but it's a common occurance Steve Right I see, yeah I suppose they could well be affecting the Netbeans installation, some of the other programs are visual C++ redists, flash player, adobe air etc I will add a restart in and give it another test! Might not be able to reply until tomorrow now whether it works or not as it takes 1.5hour+ to test each deployment.
Sam_ Posted February 16, 2018 Author Posted February 16, 2018 Just to report back, I added in a restart just before where Netbeans previously failed and it worked! It then installed with no complaints, so I'm now going down the list and will try for the rest of the software. See below for what my task sequence now looks like
Steve21 Posted February 16, 2018 Posted February 16, 2018 That's good to hear Aye there are smarter ways to resolve it with error checking etc but generally find it's easier just to lump in the restarts if it's only one or two that's having the problems, just ensures it cleans things out Steve
Sam_ Posted February 16, 2018 Author Posted February 16, 2018 Ok am having another issue with an app further down, it appears the cache is full so wont download it. I did increase the cache size in client settings to 20GB but it doesn't seemed to have applied, as you can see in the log below it starts at its default of 5GB but then after the app has failed it then increases to 20GB, do you know why it isnt set from the start? Tbh I think this was my problem before and is my only problem, the app is adobe design standard so is over 4.5gb itself which was why netbeans was working when it was installed above adobe. You've been a great help so far Steve and really appreciate it but do you have any ideas? Here are the logs as screenshots:
Steve21 Posted February 16, 2018 Posted February 16, 2018 Where are you setting the increase? If you're doing as it part of a policy it won't apply until after windows finished as that's when it's pulling it down. You need to do it as part of the command line install options on the configmgr package/push installs if you want it applied from the start Steve
Sam_ Posted February 16, 2018 Author Posted February 16, 2018 Where are you setting the increase? If you're doing as it part of a policy it won't apply until after windows finished as that's when it's pulling it down. You need to do it as part of the command line install options on the configmgr package/push installs if you want it applied from the start Steve Right I was doing it from the client settings in config mgr, see below: So I need to add it in to the task sequence before the app installs as a command line?
Steve21 Posted February 16, 2018 Posted February 16, 2018 On your TS under the Setup Windows/Configmgr add in a line into the installation properties: SMSCACHESIZE=10240 (10gb example as on mine) Steve
Sam_ Posted February 16, 2018 Author Posted February 16, 2018 On your TS under the Setup Windows/Configmgr add in a line into the installation properties: SMSCACHESIZE=10240 (10gb example as on mine) Steve Great many thanks Steve! I'll give it a go.
Sam_ Posted February 16, 2018 Author Posted February 16, 2018 (edited) Just tried it again with smscachesize set in installation properties but its still not changing it and saying cache is full, do i need to specify any other parameters Steve? EDIT: Think I found the answer https://weikingteh.wordpress.com/2015/03/10/setting-the-smscachesize-during-osd-task-sequence-powershell/ Edited February 16, 2018 by Sam_
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now