SCCM 2012 - App deploy - Configuring a dependency in an app which is also configured for supersedence.

Hi there
I am replacing an app with a newer version via SCCM 2012.
So lets call the existing app App1 and the new app App2.
I have an application created which has App1 configured to be superseded (uninstall) and App2 to be installed as a msi deployment type.
The issue I have ran into is that the install/upgrade fails if App1 is currently opened and running. The uninstall only works if App1 is not opened.
Anyone had to deal with something like this before without reverting to a script deployment type which runs taskkill commands and then a msiexec /x command? Is there a more sophisticated way to do this using the new application model?
The sequence would need to be:
1) App1 if running on the target machine is killed
2) App1 is uninstalled
3) App2 is installed
Anyone put anything like that together?
Regards
John

Thank you for replying.
Yes the key is indeed the uninstallation command and behaviour on App1; as my question makes clear I am aware of that.
I am hoping someone has come up with a clever way of achieving such a requirement, or I will simply have to use a script, which seems a bit unsophisticated given the range of options available in the application model.
Regards
John

Similar Messages

  • SCCM 2012: PXE deploy: import boot images?

    Hi,
    We fully configured sccm 2012 and did osd via bootable media. Now we want to configure PXE.
    We enabled it (http://prajwaldesai.com/deploying-sccm-2012-part-14-build-and-capture-windows-7-64-bit/).
    My questions:
    *Is that all that needs to be done?
    *It seems to me we need to import boot images in WDS?
    *If we do, which to import then (both x86 and x64 probably) + there is a winpe and a winpe.....wim made by sccm, which one to import then?
    *on DHCP we change the boot server hostname but what about the bootfile name, what is the path of that? \boot\x64\wdsnbp.com?
    Please advise.
    J.
    Jan Hoedt

    I keep on getting TFTP open timeout
    I find in smspxe.log that it reaches to the SCCM-server but then something goes wrong. Not sure what.
    How can I troubleshoot find more info, please advise?
    00:51:55:2A:5C:C5, 0A190A42-FFDe6-5e69-9e41-70e481B852E3: device is not in the database.    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    Getting boot action for unknown machine: item key: 2046820352    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    CLibSMSMessageWinHttpTransport::Send: URL: oursccmserver.prod.ourcompany.be:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONEX    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    CLibSMSMessageWinHttpTransport::Send: URL: oursccmserver.prod.ourcompany.be:80  CCM_POST /ccm_system/request    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    Jan Hoedt
    Note: what I also can see:
     Client IP Address: 000.000.000.000
     Your IP Address: 000.000.000.000
     Server IP Address: 000.000.000.000
     Relay Agent IP Address: 000.000.000.000

  • Sccm 2012 application deployment fail

    Hi Gents
    I am attempting to deploy applications to a test machine.  The software deployment reaches the test machine in the software center but it fails.
    One Application had the status "Past due - will be installed"
    The rest just state "Fail" with more information saying:
    "The software change returned error code 0x80070005 (-2147024891)
    I've been googling away here and iwll continue to do so until i find a resolution but hopefully you guys can help point me in the right direction.
    Thanks for the help guys
    Lee

    Ok i got it to a point where the status of the applications is "waiting to install" so they download fine but not actually installing.  I followed this link:
    http://777notes.wordpress.com/2012/08/17/sccm-2012-local-content-cach-failed-for-workgroup-machine/ anbd enabled the anonymous checkbox.  But still the apps arent installing.

  • SCCM 2012 package deployment reboot behaviour

    Hi,
    When i deploy package from SCCM 2012 with default reboot behavior it forces reboot. I want to suppress the reboot and let user to postpone the reboot whenever they want with popup window as like available for SCCM patch deployment. Is there way to achieve
    this. Can someone please provide suggestion if already done it.
    Regards,
    Madhan

    Actually, default behavior does *not* force a reboot. To have ConfigMgr force a reboot, you must choose the option that says ConfigMgr forces a reboot. Thus, the command-line you've configured is forcing the reboot which means you need to adjust the command-line
    to suppress the reboot as that's outside of ConfigMgr's control.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • SCCM 2012 R2 Deployment assistance and guide lines required.

    Hi All,
    We have purchased the system center suit and planed to deploy the below products in our environment.
    SCOM - Plan already made and architecture is ready with no issues
    SCCM - In planning state.
    We are planning to use the same SQL server for both SCOM and SCCM, Which is a SQL Server 2008 R2 SP1 CU6. So the database engine service is available to host our database.
    But the Business has said we need to deploy reporting on another machine which may be a SQL 2012 SP1.
    What i want to know is does SCCM 2012 R2 support using different versions of SQL server for its features? As i see there is no documentation for this.
    How ever MS has given the document for SCOM that it is not supported and we need to use the same version of SQL for all the features.
    Also is SQL Express edition supported for other Primary sites if i use a licensed SQL in my CAS ? 
    Does any one have an idea on SCCM 2012 R2 for the above ?
    Gautam.75801

    Thank you very Grath. 
    Also my last and the remaining question is about the SQL Server version inter operability.
    Does using different versions of SQL work in SCCM ? i.E I use DB Engine SQL 2008 R2 SP1 CU6 and if i use SQL 2012 R2 for reporting. 
    Will this work in SCCM ? As for SCOM MS has said this in there document that using different versions of SQL's for features is not supported.
    So what is the case with SCCM is it the same or is it supported ?
    As the Microsoft documents do not talk about this question.
    The reason i asked is as the business does not have cost for Hardware for a SQL server and they are asking to use a SQL server in another domain for DB engine.
    And another SQL server for reporting as the DB engine server does not have reporting.
    Gautam.75801

  • How does WSUS work when an SCCM 2012 R2 server is newly installed? Should WSUS be installed and configured on same server?

    Let me clarify.
    We had a functional WSUS server delivering our updates to ours workstations. The location of the WSUS server was pushed out by Group policies.
    Later, an SCCM 2012 R2 installation was installed. The original WSUS server was removed. Now WSUS type services appear to be broken.
    I tried to start WSUS on the SCCM 2012 R2 server and it does not start. (I assume its not configured).
    I want to get WSUS running again but am not sure how to do this safely in conjunction with our SCCM 2012 R2 installation. Do I just reinstall WSUS on the SCCM server and configure? Or is there other preferred methods?
    I was not involved in SCCM's installation, so I do not know what was done.
    Geoff.

    Update functionality is provided via the Software Update Point
    https://technet.microsoft.com/en-us/library/gg712312.aspx
    ... which requires WSUS to be installed - it basically takes control of WSUS.
    Any existing group policies defining WSUS servers should be removed so that the SCCM client (which I assume is installed on computers already) can configure accordingly. Otherwise you will have group policy and SCCM client over writing one another to configure
    the update server

  • Sccm 2012 simulate deployment for task sequence / OS or applications

    Hi
    I have been getting a lot of problems with Os/Application Task Sequences and have been asked a few questions.
    I cannot find anything on the Web about Limitations for a simulated deployment in SCCM 2012.
    I know SCCM allows you to create them but does it work/Are the results accurate?
    I need to know the following: 
    Can you simulate an OS Deployment Task Sequence?
    Can you simulate an Application Deployment Task Sequence?
    Are there limitations to Simulated Deployments?
    Thanks guys Hope this makes sense and you can help.
    Regards
    Anthony

    If you have the MDT integration with SCCM 2012 you can simulate the settings used by the task sequence, but not the actual task sequence deployment. However, seeing the settings is often enough.
    Check this post:
    Save time (and avoid pain) - Create a MDT simulation environment
    http://www.deploymentresearch.com/Research/tabid/62/EntryId/155/Save-time-and-avoid-pain-Create-a-MDT-simulation-environment.aspx
    / Johan
    Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

  • SCVMM and SCCM 2012 R2 - Deploying VM's - Which method

    Hi guys,
    Looking at deploying SCCM 2012 R2 and SCVMM 2012 R2. I've used SCCM 2012 quite a lot in a previous environment, but not SCVMM.
    I'm aware SCVMM is for bare-metal Hyper-V (as well as Xen and ESXi), and for managing the virtual environment, but do I create VM templates and create my VM Servers within SCVMM, or just the shell and PXE boot into a SCCM Task Sequence to deploy the OS?
    Will also be running Orchestrator too.... So to deploy a VM would a runbook be used to create a VM shell in SCVMM, and then kick off a TS in SCCM?
    Or should I be building the server templates and basically replicating some of SCCM's OSD capability for VM servers in SCVMM?
    Thanks - Steve

    Thx Stevehoot.
    Yes, you might see that there are some "overlapping" technologies involved, but please remember that SCCM is the general approach, that has been supporting physical servers/computers since day one. This requires PXE boot for the VMs as well, in order to
    deploy the OS, install the agent and then the applications.
    Using VMM for VM deployment, the VMM agent will handle this all for you and you can manage your datacenter from this single console. Currently, Gen2 has lacking support in some areas, like service templates in VMM, VM roles in Azure Pack and replication
    to Azure using Microsoft Azure Site Recovery. 
    Moving forward, it would be smart if you could invest in deployment using VMM if the majority of your workloads will be on virtual machines. What we basically sees in the field is that people are using SCCM to deploy their traditional applications onto these
    servers where service templates may not be the right solution. But again, then SCCM is something that kicks in post the VM deployment. 
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • SCCM 2012 r2 Deploy USMT Don´t Restore User State

    Hi everybody 
    I am migrating my computers from Win Xp to Windows 8.1, 
    with SCCM 2012 R2 with HardLink, my problem is that USMT does not restore the user state on all my computers, it does in some and not in others. the only difenrecia between the teams is the computer model and brand (Hp and Dell).
    I use USMT 5.0 to capture the user state running on Xp and restored with USMT 6.3 for Win 8.1 (Now run the hotfix from Microsoft http://support.microsoft.com/kb/2910552 and it´s work )
    Also try SMP, capture user state ... but not restores either ...
    Anyone have any idea what might be happening 

    Hi,
    This is a related blog
    for your reference.
    Step-by-step guide to a zero-touch,MDT
    hardlink OS migration from XP to Windows 7
    http://osdblog.com/2013/08/08/step-by-step-guide-to-a-zero-touch-hardlink-os-migration-from-xp-to-windows-7/
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SCCM 2012: Application deployment stuck on 'Waiting to install '

    I am setting up many new machines in the last month. But sometimes, when installing applications after rolling out an image. The applications wont install and display the waiting to install message. This mostly last for 1-2 hours but sometimes ever longer.
    None of the logs that I have checked seem to give any indication why it will not move forward.  Any
    thoughts on how to troubleshoot?
    For what it's worth, we are setup with a standalone primary site with one distribution point installed. SCCM 2012 SP1.
    Thanks in advance.

    I see many error messages concerning BITS. This is a part of the DataTransferService.logDTSJob {183F4DC8-B329-4648-B351-D72BE3759642} in state 'DownloadingData'. DataTransferService 22/08/2014 15:26:24 7428 (0x1D04)
    CDTSJob::HandleErrors: DTS Job '{183F4DC8-B329-4648-B351-D72BE3759642}' BITS Job '{FC9A9789-B3B1-4804-A59F-22E08B6D6F3A}' under user 'S-1-5-18' OldErrorCount 0 NewErrorCount 1 ErrorCode 0x80190194 DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    CDTSJob::HandleErrors: DTS Job ID='{183F4DC8-B329-4648-B351-D72BE3759642}' URL='http://SITE SERVER:80/SMS_MP' ProtType=1 DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    CDTSJob::JobError: DTS Job ID='{183F4DC8-B329-4648-B351-D72BE3759642}' BITS Job ID='{FC9A9789-B3B1-4804-A59F-22E08B6D6F3A}' ErrorCode=0x80190194 DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    CDTSJob::JobError: DTS Job ID='{183F4DC8-B329-4648-B351-D72BE3759642}' URL='http://SITE SERVER:80/SMS_MP' ProtType=1 DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    DTS job {183F4DC8-B329-4648-B351-D72BE3759642} BITS job {FC9A9789-B3B1-4804-A59F-22E08B6D6F3A} failed to download source file http://SITE SERVER:80/SMS_MP/.sms_pol?%7BC2FB5733-0FDF-4907-8617-29B1DC078E83%7D/15.1_00 to destination C:\Windows\CCM\Temp\{F001BFC6-8830-46F3-96B8-9CC08B1A4539}.tmp with error 0x80190194 DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    DTS job {183F4DC8-B329-4648-B351-D72BE3759642} BITS job {FC9A9789-B3B1-4804-A59F-22E08B6D6F3A} partially completed 0/1 with error 0x80190194 context 5 DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    DTSJob {183F4DC8-B329-4648-B351-D72BE3759642} in state 'Error'. DataTransferService 22/08/2014 15:26:24 5828 (0x16C4)
    DTSJob {183F4DC8-B329-4648-B351-D72BE3759642} in state 'NotifiedComplete'. DataTransferService 22/08/2014 15:26:24 7428 (0x1D04)
    DTS job {183F4DC8-B329-4648-B351-D72BE3759642} has completed:
    Status : ERROR (0x80070002),
    Start time : 08/22/2014 15:26:24,
    Completion time : 08/22/2014 15:26:24,
    Elapsed time : 0 seconds DataTransferService 22/08/2014 15:26:24 7428 (0x1D04)

  • SCCM 2012 application deployment installs on all systems regardless of specified count

    Hi,
    As the application is being deployed, the "Devices with Application" under Application Statistics is showing 723, when in fact only 10 systems have been added through Direct Rule. Under Deployment Status it reflects the right amount (Already Compliant
    - 3 Assets; Success - 7 Assets).
    Does anybody have any idea why it is slowly (over the period of 5 days now) it keeps installing the application on all systems (there are total of 1,500 systems)? Also the same application was used through task sequence, but I don't believe it is possible
    to clone 723 computers over period of five days). Also, under the Supersedence tab has been set to upgrade old versions.
    Checking with query shows that all 723 have been deployed.
    Thanks,
    Waldis

    Hi,
    Have you resolved this problem? As Jörgen said, you need to remove the old version application deployments.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SCCM 2012 - OS Deployment

    Hi All,
    I need one quick help
    I am trying to deploy a task sequence to a collection which has 12 machines. It boots up but after entering the password in the task sequence, it provides the list of task sequence available and it is asking me to choose.
    This is happening all of a sudden before when i enter the task sequence password the build starts. Was it a cache stored in ALL UNKNOWN COMPUTERS that is causing this problem. Please advice
    Regards, Pratap

    Anytime there is more than one task sequence deployed to the target system, you will be prompted for which to use. If using required deployments, having multiple required TSes will cause this because there's no way for ConfigMgr to know which to use.
    Jason | http://blog.configmgrftw.com

  • Can i use a local (non US) itunes account to purchase an app without messing up my main US account (which i dont use for purchase of apps)?

    I have 2 itunes accounts, one is my US account that I'm using for quite some time and mostly to download free apps and the other account is a non US account i created to purchase an app from appstore with a local (outside US) VISA card details. Can i purchase apps through that account without messing my original US account (means will in any way affect my main account and my sync with itunes or any stuff like that)???
    An early reply will be highly appreciated.

    No, purchasing from another Apple ID will not "mess up" your US iTunes Account. The only nuisance is that when you update the apps on your iPhone you might be asked to provide the password for your non-US apple ID before the download begins for the apps purchased with your non-default non-US Apple ID.

  • SCCM 2012 r2 - deploy aplication with script/configuration file

    hello,
    I'm trying to install an application with a file that copies the basic configurations of the application.
    I've done this:
    step 1:
    create a aplication by msi
    step 2:
    create the script copy defs 
    "if not exist "C:\Users\Default\AppData\Roaming\OpenOffice\4\user\registrymodifications.xcu" goto startdefault
    goto verica_conf_user
    :startdefault
    xcopy /d /y /e "\\server\REMINST\Source\OSD\Aplications\LibreOffice\4.2.4\Confs\Users\*.*" "c:\Users\"
    :verica_conf_user
    if not exist "%appdata%\LibreOffice\4\user\registrymodifications.xcu" goto startuser
    exit
    :startuser
    xcopy /d /y "\\server\REMINST\Source\OSD\Aplications\LibreOffice\4.2.4\Confs\registrymodifications.xcu" "%appdata%\LibreOffice\4\user\"
    step 3:
    in aplication properties on the "deployment types" tab add the following:
    step 4:
    step 5
    after deploy the aplication i get the error  0x87D00324(-2016410844)
    can you please help'me?

    xcopy /d /y "\\server\REMINST\Source\OSD\Aplications\LibreOffice\4.2.4\Confs\registrymodifications.xcu" "%appdata%\LibreOffice\4\user\"
    Reminst is the default share of WDS and it's not the best idea to place other files in there (if that is the same REMINST though). Plus it bypasses the use of DPs (content might get downloaded to the cache, will sit there unused, but the script copies the
    same content from a UNC share).
    Only one deployment type will be executed in the application model.
    0x87D00324 = The application was not detected after installation completed. So double check the detection method.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 Update deployment best practices?

    I have recently upgraded our environment from SCCM 2007 to 2012. In switching over from WSUS to SCCM Updates, I am having to learn how the new deployments work.  I've got the majority of it working just fine.  Microsoft Updates, Adobe Updates (via
    SCUP)... etc.
    A few users have complained that the systems seem to be taking up more processing power during the update scans... I am wondering what the best practices are for this...
    I am deploying all Windows 7 updates (32 and 64 bit) to a collection with all Windows 7 computers (32 and 64 bit)
    I am deploying all Windows 8 updates (32 and 64 bit) to a collection with all Windows 8 computers (32 and 64 bit)
    I am deploying all office updates (2010, and 2013) to all computers
    I am deploying all Adobe updates to all computers... etc.
    I'm wondering if it is best to be more granular than that? For example: should I deploy Windows 7 32-bit patches to only Windows 7 32-bit machines? Should I deploy Office 2010 Updates only to computers with Office 2010?
    It's certainly easier to deploy most things to everyone and let the update scan take care of it... but I'm wondering if I'm being too general?

    I haven't considered cleaning it up yet because the server has only been active for a few months... and I've only connected the bulk of our domain computers to it a few weeks ago. (550 PCs)
    I checked several PCs, some that were complaining and some not. I'm not familiar with what the standard size of that file should be, but they seemed to range from 50M to 130M. My own is 130M but mine is 64-bit, the others are not. Not sure if that makes
    a difference.
    Briefly read over that website. I'm confused, It was my impression that WSUS was no longer used and only needed to be installed so SCCM can use some of the functions for its own purposes. I thought the PCs no longer even connected to it.
    I'm running the WSUS cleanup wizard now, but I'm not sure it'll clean anything because I've never approved a single update in it. I do everything in the Software Update Point in SCCM, and I've been removing expired and superseded updates fairly regularly.
    The wizard just finished, a few thousand updates deleted, disk space freed: 0 MB.
    I found a script here in technet that's supposed to clean out old updates..
    http://blogs.technet.com/b/configmgrteam/archive/2012/04/12/software-update-content-cleanup-in-system-center-2012-configuration-manager.aspx
    Haven't had the chance to run it yet.

Maybe you are looking for