How do Virtual Applications get published in SCCM 2012
App-v 5.0 uninstall, best practises?
Hi,
Just a (repeating) question on App-v 5.0 deploy/uninstall within SCCM 2012 R2.
Is there a (new in CU2 or CU3 ...) best practises for removing a package when a user/computer is not member of a collection to which an app-v package is deployed?
Please advise.
J.
Jan Hoedt
How to force rerun of Deployment?
Hi!
I have been searching the Internet for 2 days now and wasn't successful, maybe you can help. I want to force the rerun of a Deployment on a workstation. What I have read in many posts is to delete the registry key for that package in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\Execution History and then start the Machine Policy Retrieval Action again. I did that but the package was not re-applied.
Does anybody have an idea why it does not work this way and what else I could try?
Help would be very appreciated.
T
Do I need to redeploy App after changes?
Good day everyone.
We have 2012 R2 SCCM. I've created msi package and want to deploy it to specific collection. I've deployed it. Then I've changed in deployment types User Experience so SCCM wont use policy based on return codes. Do I need to redeploy this app?
How do you force a client to refresh and use the latest application revision?
I've tried the action 'Application deployment evaluation cycle' but this doesn't seem to do the job in a timely manner.
The AppEnforce.log still references a revision that has been deleted on the server...
Thanks
David
Bypassing Execution Policy for SCCM Server for Powershell Detection Method
Is is possible to have the execution policy set to remotesigned but have specific hosts set to bypass? I am administering an SCCM 2012 environment and I want to be able to run the Powershell Detection Method for applications but it keeps erroring out that the script is not signed. I tried adding the server to wsman:\localhost\client\truestedhosts but that did not seem to work either. Is this possible?
Thanks!
Tony
software center disable uninstall
Application is installed correct but log says exit code 16389
Hi guys,
I need some help.
I have an application which works fine, when I install it over Software Center.
But when install the same application over the task sequence for a new computer installation then the Log in "Status Message Queries" says following:
The task sequence failed to install application *ApplicationName(*ScopeId_XXX) for action (*Application) in the group () with exit code 16389.
[The words with * at first I changed.]
The confuising thing is that this Application is installed correctly on the computer.
Now you will say that probably my detection rule is not correct. That shouldn't be the case, because if I install this application over Software Center than everthing is works great.
The detection rule asks for the Version Number of the application.exe.
The application is installed in a batch. In the batch I run the setup.exe silently and have the command "exit" in the end.
I hope you can help me or give some ideas how can I troubleshoot.
Thank you in advance!
Transform file is not being copied to the ccmcache - installation fails
If I create a package I have no problem, but via application management I can't see where the files are held on the distribution point - in any case only the msi file ends up in the client cache which causes the install to fail
Thanks
David
DEBUG: Error 2203: Database: C:\Windows\ccmcache\1am\RemoveStartup.mst. Cannot open database file. System error -2147287038
1: 2203 2: C:\Windows\ccmcache\1am\RemoveStartup.mst 3: -2147287038
MSI (s) (2C:A8) [09:12:59:724]: Product: Skype™ 6.22 -- Installation failed.
MSI (s) (2C:A8) [09:12:59:745]: Windows Installer installed the product. Product Name: Skype™ 6.22. Product Version: 6.22.107. Product Language: 1033. Manufacturer: Skype Technologies S.A.. Installation success or error status: 1624.
Error applying transforms. Verify that the specified transform paths are valid.
C:\Windows\ccmcache\1am\RemoveStartup.mst
+++ Starting Install enforcement for App DT "Skype™ 6.22 - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_816357A7-6CA0-4131-8568-274AEA4CCA80/DeploymentType_dfb8c481-2db7-4e6c-be77-c6ffee5c53af, Revision - 4, ContentPath
- C:\Windows\ccmcache\1am, Execution Context - System AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
A user is logged on to the system. AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
Performing detection of app deployment type Skype™ 6.22 - Windows Installer (*.msi file)(ScopeId_816357A7-6CA0-4131-8568-274AEA4CCA80/DeploymentType_dfb8c481-2db7-4e6c-be77-c6ffee5c53af, revision 4) for system. AppEnforce 04/12/2014
09:12:57 10416 (0x28B0)
+++ MSI application not discovered [MSI Product Code: {1845470B-EB14-4ABC-835B-E36C693DC07D}, MSI Product version: ] AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
App enforcement environment:
Context: Machine
Command line: msiexec /i "SkypeSetup.msi" TRANSFORMS="RemoveStartup.mst" /q /norestart /log "C:\skype_install_log.txt"
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 1
Content path: C:\Windows\ccmcache\1am
Working directory: AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
Prepared working directory: C:\Windows\ccmcache\1am AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
Found executable file msiexec with complete path C:\Windows\system32\msiexec.exe AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
Prepared command line: "C:\Windows\system32\msiexec.exe" /i "SkypeSetup.msi" TRANSFORMS="RemoveStartup.mst" /q /norestart /log "C:\skype_install_log.txt" /qn AppEnforce 04/12/2014 09:12:57 10416
(0x28B0)
Valid MSI Package path = C:\Windows\ccmcache\1am\SkypeSetup.msi AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
Advertising MSI package [C:\Windows\ccmcache\1am\SkypeSetup.msi] to the system. AppEnforce 04/12/2014 09:12:57 10416 (0x28B0)
AdvertisePackage - MsiAdvertiseProduct Failed : 0x80070658 AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
AdvertisePackage failed (0x80070658). AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Lowright users might fail to install this application if it requires higher privileges AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Executing Command line: "C:\Windows\system32\msiexec.exe" /i "SkypeSetup.msi" TRANSFORMS="RemoveStartup.mst" /q /norestart /log "C:\skype_install_log.txt" /qn with user context AppEnforce 04/12/2014
09:12:59 10416 (0x28B0)
Working directory C:\Windows\ccmcache\1am AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Post install behavior is BasedOnExitCode AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Waiting for process 6364 to finish. Timeout = 120 minutes. AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Process 6364 terminated with exitcode: 1624 AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Looking for exit code 1624 in exit codes table... AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Unmatched exit code (1624) is considered an execution failure. AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
++++++ App enforcement completed (2 seconds) for App DT "Skype™ 6.22 - Windows Installer (*.msi file)" [ScopeId_816357A7-6CA0-4131-8568-274AEA4CCA80/DeploymentType_dfb8c481-2db7-4e6c-be77-c6ffee5c53af], Revision: 4, User SID:
] ++++++ AppEnforce 04/12/2014 09:12:59 10416 (0x28B0)
Query for non-compliant machines
Hi,
I have managed to create a query that will find all devices that are non-compliant however the deployments it shows seem to be out of date. What I mean by this is that it will show pc1 as being not compliant for .net 4.5.1 however the deployment for .net 4.5.1 has been deleted. My question is where does the query get the compliance information from and is there a way to make that information refresh more often?
The reason for doing this query is to link it to a collection that would be dynamic and contain only the pc's that need software installed on them, we can then target that collection with a power shell script that will send wake up packets to those machines a few minutes before our maintenance window starts.
Thanks
Harry
SCCM 2012 Software Center applications available
Hi All
I have a question
Most of our applications are deployed to users (user collections), only a few are deployed to machines.
Applications deployed to devices appear in Software Center. Apps deployed to users appear in Application Catalog
The strange thing happen (or is this by design) that if we reinstall the computer the applications that the user previous installed on the computer appear to have the status of available in the software center (tab available software).
Is this normal behavior or do we need to configure something
I hope someone can help me with this
Regards and thx in advance
Johan
1 App-v package for server and clients?
Hi,
Please verify if this setup is correct.
The idea is to deploy an App-v 5.0 package to servers as well as pc's.
Deploy of an app-v package with 2 deployment types:
1.for a Windows 2008 R2 without any dependency = prereq Windows 2008 R2 (no dependency to App-v 5 since it is installed in build of server)
2.for a Windows 7 X64 with dependency App-v 5.0 hotfix 5 (which has a dependency to App-v 5)
... and 2 deployments:
1.to a terminal server farm (which has App-v 5.0 RDS deployed already), mandatory
2.to Windows 7 pc's (not to users for now), also mandatory
This to avoid having two sepeare App-v applications for the same source.
Please advise or correct.
J
Jan Hoedt
Application Model FlowChart
I am looking for some documentation that helps explains the Application model decision process. Another words, how the application decides on whether to install or not based on the
rules (Requirements, Detection Method, etc). Reviewing the App logs, it looks like all of the rules run on all of the systems in a Deployment, then based on the results of those rules, including Requirements and Detection Method, set
the following status' to determine whether to install the application: Current State=, Applicability =, ResolvedState=, and ConfigureState=. One might think there is a sequence to the decision process like the Requirements rule goes
first and if those are not satisfied, the Detection Method wouldn't even run. Or vise-versa, the Detection Method runs first and the Requirements rule won't run if the application was already installed. Again, I am just
looking for a flowchart or some other material that breaks down the App Model decision process.<o:p></o:p>
Cannot uninstall CRM 2011 client through applications or packages
I am currently running SCCM 2012 SP1. Boundaries are setup, I've already made a few applications and packages, and deployed without issue. I need to uninstall Microsoft Dynamics CRM 2011 for Microsoft Office Outlook. I created a package containing the entire install directory and have attempted the command line as:
SetupClient.exe /X /S
SetupClient.exe /X /S /Q
SetupClient.exe /X /S /Q /L
each time I have tried to deploy to a test group, and the systems in that group say "Installed" in the software center but the program is still installed.
If I choose to run with user's rights rather than Admins I get "Error: 0x800702E4(-2147024156)" indicating that I don't have admin permission to install from that user.
note that all of these commands work perfectly if I run them on the machine locally. Tinkering with settings I have gotten PC's to crash, and sometimes to fail with the error "cannot create log", but with most settings I get the above described result.
Frustrated I tried making a dummy MSI with uninstall commands for the CRM client's guid "{0C524D20-0409-0050-8A9E-0C4C490E4E54}" but my most hated foe responds with "Microsoft CRM 2011 must be uninstalled from add remove programs".
I even tried just installing the CRM 2013 client over the 2011, which would be fine for me if it worked. This actually does work from the command line when I point to it's exe and run /S /Q, but when deployed similarly as above I get "Installed" as the status but only CRM 2011 remains installed.
Any solution would be appreciated. Honestly I wouldn't mind if someone would just give me a step by step to deploy a script to delete it's program files folder and remove it from the programs list on each PC.
Thanks.
SCCM Client Failing to locate content
I have a client that I am trying to push a Windows 8 AppX to, however it claims it has Failed to located the content. It sees that it needs it, but never attempts to download. I have redistributed the application to the Distribution point, and I have successfully pushed that same application to another computer on the same subnet\Boundary. I have also deployed 2 other applications to this computer since deploying the original AppX, and the computer in question has successfully installed both of those, the most recent was less then 24 hours ago. It only seems to have an issue with this AppX in particular. What should I be looking at to see what the issue is? Is there a Log on the client that I can look at?
Thank you.
Detection Methods for Microsoft Office
Hi Guys
It seems the most common detection method for deploying Microsoft Office (in particular for me Office 365 pro plus) is the existence of 'Office15' in %program files%\Microsoft Office 15\
However my concern is that what if some other Office 2013 product has created this folder?
Has anyone used a differnet detection method other than the existence of the folders?
thanks for your help!
Uninstall Greyed out for 2012 R2 CU3
I have an application with 2 deployment types, one app-v and the other is Citrix. Only one DT applies to a machine (Requirements are OU specific).
My environment has 2012 R2 Cu3. I've read that CU1 fixes this issue, but going backwards isn't an option (we require the MP isolation feature of CU3)
I have not seen a fix for this posted for CU3 in any forum posts. Anyone have a resolution? This is becoming a "We can't use SCCM if this isn't fixed" mandate from the powers-that-be, as users must have the ability to remove applications they add via self-serve.
Maybe someone can specify the DLL that this is fixed in CU1? I can drop that over the top of the exiting one and see if it works.
Creating a user logged on or off Global Condition
Does anyone have some ideas on how to go about creating a Global Condition for whether a user is logged in or not? Not a particular user, but ANY user.
I'm creating a single Application with two Deployment Types. Deployment Type 1 would be an unattended install and only run if the user is logged off. Deployment Type 2 would be an attended install and only run if a user is logged on and be set to display a progress bar. I am going to use the Requirements tab of each deployment type to determine if a user is logged on or off.
In SCCM 2007 this was easy with Packages, I could set it to run no matter if the user was logged on or off and just tick the box to allow user interaction. Since I always use /passive for MSI, it was effective because it would run fine no matter if the user was logged on or off. As I'm sure everyone knows, the "allow user interaction" box is now grayed out when choose to run "whether or not a user is logged in"
I wish Microsoft would change it back to the old way.
Unable to rollback IE11 using batch file via SCCM2012
Have tried the following which work fine manually
Option 1
FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart /quiet"
Option 2
cd C:\Windows\System32
wusa.exe /uninstall /kb:2841134 /quiet /norestart
Both rollback user to IE8 (company standard). However when I create a deployment package and set it to start in location and use the batch files above. It says installed on client machine, however after restart Ie11 is still there.
I'm wondering if I don't have the correct detection method under deployment types. Please HELP!
command line for installing office 2013 with custom msp file
Hi ,
I am looking for a command line to run office 2013 with config manager using custom msp file. Any help would be appreciated. Thanks
Regards,