Jump to content

Recommended Posts

Posted

Hello,

 

I'm having an issue trying to deploy a required application in SCCM, the application is GIMP. I can deploy the application no problems silently when its set as "Available" but if I try to deploy it as "Required" the install just hangs and never installs. Anyone know why this could be?

 

Thanks for any help

Posted
Perhaps the problem lies with your install script?

 

Could you post it so that we could have a look?

 

Do you mean the install commands? If so here it is but this installs fine if the deployment is set to available

gimp.jpg

Posted
Do you mean the install commands? If so here it is but this installs fine if the deployment is set to available

[ATTACH=CONFIG]47646[/ATTACH]

This is not how I manage my package deployment via SCCM. I'll let someone who manages their packages in the same way as you comment as I am unfamiliar with the options here.

Posted

Does the install hang or does it not start at all?

 

If you have things like maintenance zones setup etc you'd have to tick the options to install during them for required. Also about options like run whether user is logged in if you mean required when no-ones logged in, whats the other pages under experience etc ticked like?

 

Steve

Posted
This is not how I manage my package deployment via SCCM. I'll let someone who manages their packages in the same way as you comment as I am unfamiliar with the options here.

 

Ok well thanks anyway Dave. I dont use the packages function instead use the applications function but thought the packages were obsolete?

Posted (edited)
Does the install hang or does it not start at all?

 

If you have things like maintenance zones setup etc you'd have to tick the options to install during them for required. Also about options like run whether user is logged in if you mean required when no-ones logged in, whats the other pages under experience etc ticked like?

 

Steve

 

It does start but then hangs on install, I had a look in the AppEnforce log and it says:

 

+++ Starting Install enforcement for App DT "GIMP" ApplicationDeliveryType - ScopeId_981D47D2-9436-4FAC-BDAF-6EB605982705/DeploymentType_f9013c53-c1fd-47a4-af0a-5ec25d650afe, Revision - 1, ContentPath - C:\Windows\ccmcache\7m, Execution Context - System]LOG]!>

Context: Machine

Command line: gimp-2.8.22-setup.exe /verysilent

Allow user interaction: No

UI mode: 1

User token: null

Session Id: 4294967295

Content path: C:\Windows\ccmcache\7m

Working directory: ]LOG]!>

 

Here are the other options:

 

content.jpgdetection.jpguser.jpg

Edited by Sam_
Posted
Ok well thanks anyway Dave. I dont use the packages function instead use the applications function but thought the packages were obsolete?

That could well be the case. SCCM was setup for us by our LEA about 3 years ago, and it looks like we are not going to be updated for at least two years.

 

:(

Posted

It's returning error code 1 which is a fail to initialise normally, and isnt' part of the GIMP return codes it's accepts (0, 1707, 3010, 1641, 1618).

 

Two things to try, add on a /NORESTART flag as part of the /VERYSILENT bit, also remove the Run as 32bit option you ticked in detection and use %programfiles% and try it again :p

 

Also on your user experience change it to hidden not visible :p

 

Steve

Posted (edited)
It's returning error code 1 which is a fail to initialise normally, and isnt' part of the GIMP return codes it's accepts (0, 1707, 3010, 1641, 1618).

 

Two things to try, add on a /NORESTART flag as part of the /VERYSILENT bit, also remove the Run as 32bit option you ticked in detection and use %programfiles% and try it again :p

 

Also on your user experience change it to hidden not visible :p

 

Steve

Just tried your suggestions Steve but no luck, it is still hanging on install but didnt recieve error code 1 this time: EDIT i recieved error code 1 before as I manually ended the process, I just remembered but if I didn't it would have timed out after 120mins

 

Context: Machine

Command line: gimp-2.8.22-setup.exe /VERYSILENT /NORESTART

Allow user interaction: No

UI mode: 0

User token: null

Session Id: 4294967295

Content path: C:\Windows\ccmcache\7m

Working directory: ]LOG]!>

 

 

I can tell its not doing anything though from the task manager, when I install it as available the memory jumps to over 400k but on required it is sitting at idle:

 

gimp tm.JPG

Edited by Sam_
Posted
When SCCM does silly things like this to me I give it 24hrs (so the overnight processes run etc.) and then try again in the morning so my advice would to not make any more changes and try again tomorrow.
Posted

The exe works fine here. Straight deploy without MSI'ing it.

 

You sure you don't have the package set as 32bit still? It's showing as running as 32bit on your task manager pic you did above.

 

Steve

Posted
When SCCM does silly things like this to me I give it 24hrs (so the overnight processes run etc.) and then try again in the morning so my advice would to not make any more changes and try again tomorrow.

I already tried that I'm afraid, been trying for a good few days now.

I had this exact same problem. No matter which version or command switches I used with the GIMP EXE file, GIMP would just get stuck installing.

 

I searched within EduGeek and found this thread: http://www.edugeek.net/forums/educational-software/170761-msi-paint-net-gimp.html

 

I downloaded Arthur's MSIs for GIMP and they worked first time.

Thanks I might give them a go.

The exe works fine here. Straight deploy without MSI'ing it.

 

You sure you don't have the package set as 32bit still? It's showing as running as 32bit on your task manager pic you did above.

 

Steve

Steve can you confirm you are deploying as a required application? Thats the weird thing it deploys fine as an available app but not required. Yes definitely unticked all the boxes telling it to run as 32bit.

Posted

Yep, we don't use any available for small bits everything's required.

 

See below for one example I rebuilt few days back:

 

 

Bold bit being the completion

 

Steve

Posted
Thanks for confirming, well I'm at a loss now don't know what else to try. It looks like your using an older version, I might try that and see if it makes a difference.
Posted (edited)

Steve just tried my one again but with the "Run installation and uninstall program as 32-bit process on 64-bit clients" ticked under "Programs" and it worked!! The version I have must be 32bit and was trying to run as 64 I guess?? Perhaps that was why it was showing as 32bit in task manager?

 

Edit just checked and it is a 64bit version of GIMP, but the installer runs as 32bit so that must have been why and why that box needed checking I guess. Thanks for your help steve and everyone else that replied! :)

Edited by Sam_
Posted

Another method would of been to deploy the exe via a batch file, I tend to run most exe installs as packages through batch files for this and multiple other reasons...

 

MSI’s are great for application installs but EXE’s can be iffy hence I stick to batch scripts executing them as packages.

Posted
Another method would of been to deploy the exe via a batch file, I tend to run most exe installs as packages through batch files for this and multiple other reasons...

 

MSI’s are great for application installs but EXE’s can be iffy hence I stick to batch scripts executing them as packages.

 

Thanks for the suggestion Tefters, I may give this method a go sometime just so I'm familiar with it.

Posted
Another method would of been to deploy the exe via a batch file, I tend to run most exe installs as packages through batch files for this and multiple other reasons.

You should check out the PowerShell App Deployment Toolkit. It's way better than batch files and you can still use the application model for deployment. :)

 

I have also been App-V'ing lots of apps at my school and one thing I noticed is that the deployment success rate is far higher than it is with EXE or even MSI-based installs.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...