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

Reinstall Office nightly

$
0
0

Hello, I hope someone has a clever idea that will help me. Probably a quick fix that I'm just not seeing.

I need to uninstall office 2007 and then re-install every night on a collection of PC's. I am doing this for CM on medical device testing PC's. 

I currently can do this via this bat file:

@Echo off
TASKKILL /F /IM "outlook.exe" 
TASKKILL /F /IM "msaccess.exe"
TASKKILL /F /IM "winword.exe"
TASKKILL /F /IM "excel.exe"
TASKKILL /F /IM "powerpnt.exe"

ECHO.
ECHO.
ECHO.
ECHO.
ECHO Your version of Office is incorrect so we are uninstalling it. 
ECHO Please be patient- this will take a couple of minutes.

Start /wait \\path-to-installer\setup.exe /uninstall ProPlus /config \\path-to-installer\UninstallConfig.xml


Start \\path-to-installer\setup.exe

I have tried creating cmd line commands in a TS, but this isn't working. I am using sccm 2012r2

Thanks in advance



Query App-V package on pc

$
0
0

Hi,

I'm looking for the query to search for App-V packges deployed to computers (not users).
Query for users is here: http://blogs.technet.com/b/configmgrdogs/archive/2014/11/03/managing-app-v-deployments-in-configmgr-2012.aspx

SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain
from SMS_R_User inner join SMS_G_System_AppClientState on SMS_R_USER.UniqueUserName = SMS_G_System_AppClientState.UserName
where SMS_G_System_AppClientState.AppName = "APPLICATIONNAME"
and G_System_AppClientState.ComplianceState = 1

Please advise.
J.


Jan Hoedt

Run installation and uninstallation program as 32 bit process on 64 bit clients

$
0
0

A silly question but need some more explanation...Can anybody elaborate what this option means and in what conditions this can be used? Does this has to checked all the time?


Run installation and uninstall program as 32-bit process on 64-bit clients

: Use the 32-bit file and registry locations on Windows-based computers to run the installation program for the deployment type.

Multiple Applications deployment to a PC..... Use 'Application Deployment' or 'Task Sequence'?

$
0
0

I have 5 applications needed to be deployed to bunch of computers using sccm 2012. What will be the best way.

1) Deploy them 1 by 1 using 'Application Deployment' ?  OR

2) Use Custom Task sequence and add all 5 applications to target machines?

These applications will be installed silent with no user interaction.

Thanks.

Find Additional Applications from the application catalog link

$
0
0

Software Catalog

Find Additional Applications from the application catalog link brings up the default IIS page

Install web roles and specified SMSWEB as web site name, removed roles and re-added, same thing.

Any help would be Greatly appreciated

Query App-V package user

$
0
0

Hi,

Please see https://social.technet.microsoft.com/Forums/en-US/a09a3c3f-221b-420a-9e2b-e4931fca9ce4/query-appv-package-on-pc?forum=configmanagerapps, the exact query I have is:

select SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain from SMS_R_User inner join SMS_G_System_AppClientState on SMS_R_USER.UniqueUserName = SMS_G_System_AppClientState.UserName  where SMS_G_System_AppClientState.AppName = "ourappvpackage"  and G_System_AppClientState.ComplianceState = 1

Querying App-v on machines does work for me but for user I do not get any result, then also when I try to edit the query then go to query design in order to see the values, it says:

Pls advise.
J.


Jan Hoedt

Note: my deploy is targetted to an AD group which has again an AD-group instead of directly users. Could that be any issue?

Script Detection Method

$
0
0

I'm having some difficulty using custom scripts as the detection method for an application deployment type. I'm hoping someone can confirm what I'm running into.

Signed powershell scripts do not execute and powershell claims they are signed. After digging into this, I've discovered that any scripts uploaded in the detection method Script Editor window are converted so the newline character is no longer CRLF, but just LF. Powershell doesn't realize there is a signature block when the file is saved with just LF as the newline character.

The scripts don't live on the client for longer than it takes to execute them. To get around that, I've denied SYSTEM's ability to delete files from c:\windows\ccm\systemtemp. This way I can actually see the file that is being downloaded. It doesn't matter how I upload the file or paste the values into the Script Editor window, CRLF is converted to just LF when the file is downloaded.

I can always do VBScript or change powershell's execution policy, but is there a solution so I can use signed powershell code? My site is running on Server 2012, SQL 2012 SP1 and ConfigMgr 2012 SP1.

Deploy/Uninstall App-V to computer as well as user collections: install wins(?)

$
0
0

Hi,

I'm trying to setup a design for App-V on SCCM 2012 R2.
For computers it works fine, for users, I still got some issues on the query (although I could just deploy/uninstall to the same AD group, since install wins, this setup 't look clean enough for me).
https://social.technet.microsoft.com/Forums/en-US/1f1a27fa-1935-4b78-abbc-0d5a9b3f5148/query-appv-package-user?forum=configmanagerapps

My question: my current setup would include deploys/uninstalls to usercollections as well as computercollections.
F.e. user1 works on machine1.

Machine1 has appvpackage1 deployed but uninstall of appvpackage1 to user1 => package stays (install wins)
Machine1 has appvpackage1 uninstall deployed but user1 has install deployed of appvpackage1 => package will be deployed (install wins), how long, when the user is considered "gone" and appvpackage1 will be uninstalled?

J.


Jan Hoedt


Collection Query users in AD-group which has groups as members

$
0
0

Hi,

I'd like to create a usercollection which queries the members of an AD group. This ad group has group(s) itself. What would be the best way?

Current query is a query based upon groups and that works: the usercollection shows the group (not the users).
This is the current query:

select SMS_R_USERGROUP.ResourceID,SMS_R_USERGROUP.ResourceType,SMS_R_USERGROUP.Name,SMS_R_USERGROUP.UniqueUsergroupName,SMS_R_USERGROUP.WindowsNTDomain from SMS_R_UserGroup where SMS_R_UserGroup.UsergroupName = "ADGROUP"

J.


Jan Hoedt


Content for one package won't distribute when attempting to "Update distribution points"

$
0
0

We have had a hard time since day one with AutoCAD.  We have mostly been able to distribute everything without issue, except for AutoCAD.

The first thing I will say that I don't understand is that I have never, ever assigned any permissions to the software share, but it has never had problems distributing or deploying.  I thought that's what the network access account was for, but evidently not.  I run the effective permissions on multiple folders containing software we distribute and deploy, but am yet to find anything that gives even read rights to my network access account, or my site server(s), or distribution points, or anything.  So that is a mystery to me.

Today, however, my problem has increased substantially.  I had to distribute the AutoCAD package via prestaged content files in order to get it to distribute properly.  Now that it has been sitting happily on my distribution points for a couple of months, a desktop admin made an update to the package and attempted to update the distribution points.  We both assumed that the only thing that updates are the changes.  They all went immediately to failed, except for the local site server that the data actually exists on (it is a distribution point and the primary site).  

I look at the PkgXferMgr.log and I see a ton of messages that say "Abandoning send request because address is not available at this time".  It is also full of errors that say "Send request XXXXXX is skipped for site DISTPOINT1.mydomain.com" for every distribution point I have.  Now, we do have a rule in effect that distributions will not occur during business hours, but when I try to deploy a different package it is at least sitting in "In progress" rather than failed.  I should also add that once the package's status went to failed, this is what the error read;

"Distriubtion Manager failed to access the source directory \\blah\blah\blah" for content "AutoCAD 32bit"
Possible cause: Distribution Manager does not have sufficient rights to the source directory.
Solution: Verify that the site server computer account has at least Read access to the directory you specify as the source directory.
Possible cause: There is not enough disk space available on the site server.
Solution: Verify that there is enough free disk space available on the site server."

In the past, even when it seemed to have transferred properly, it has always filled with errors like this;
"Not copying: AdminImag\x86\acadmap\Program Files\Common Files\Autodesk Shared\GIS\ImportExport\9.1\tcl_library\grammar_peg\peg_interp.tcl"

If anyone can help I would appreciate it very much.

Application Goes To Already Compliant Instantly

$
0
0

Hello,

I am working with the Office Scrub script for Office 2010 and attempting to get it to remove Office from ~4500 desktops.  I built the app and set it to run the .cmd.  For the Detection Method I have it checking in C:\Program Files (x86)\Microsoft Office to see if the Office14 folder exists.  I've verified on several test systems that this path and folder name are correct.  As soon as I deploy to my test collection, all 12 systems show up as "Already Compliant" - this happens almost instantly.  When I look at the SCCM logs on the desktops, they haven't even seen the application yet so I don't know how they can be compliant.  I'm not sure what I'm overlooking.  Any thoughts?

TIA

Promp trestart now working on IE 10 and 11 deployments

$
0
0
My team has been packaging IE for our new 2012 deployment, and the IE packages are forcing a restart.  In IEAK we set it to prompt for a restart and under the deploymnet type properties, specifcally the Programs tab, we used msiexec /i "IE10-Setup-Full.msi" /q /promptrestart.  We also tried msiexec /i "IE10-Setup-Full.msi" /promptrestart.  Any way about it it reboots the machine without prompting.  Are we missing something obvious here? 

Any offical/recommended method for minor upgrades MSI (vomus), SCCM 2012 and Applications ?

$
0
0

Looking for tips on how to best handle Windows Installer MSI minor/small upgrades/updates (vomus) for Application objects in SCCM 2012 ? Really hoping Microsoft has started to support their own Windows Installer MSI techniques better.

Some background about scenario we are trying to solve. If we leave SCCM out of the picture and do this manually it would look like this. Get the MSI install media files (MyApp v1.0.0), run 1st time install:
» msiexec.exe /i MyApp.ini /qb-! ALLUSERS=2
A new minor upgrade appears for MyApp, upping ProductVersion to v1.0.1 (ProductCode GUID same, PackageCode changed). But not a major upgrade with changed ProductCode GUID. To save processing/time (not full uninstall /x and then /i), we install it by doing a command-line reinstall/repair. Two variants possible with identical result:
» msiexec.exe /i MyApp.ini /qb-! ALLUSERS=2 REINSTALL=ALL REINSTALLMODE=vomus
» msiexec.exe /fvomus MyApp.ini /qb-! ALLUSERS=2 REINSTALL=ALL
Works fine. As long as the MSI is authored correctly. The biggest hitch has always been that you cannot, as far as previous history goes, have identical command-line for 1st time install of MSI and possible succeeding reinstall/repairs. Meaning, you have to detect if MSI/ProductCode is installed already, then decide what command-line to use. This behavior is 100% part of Windows Installer MSI logic (Applying Small Updates (or Minor Upgrades)).

In the past in SCCM (Package Model) we have either had wrapper/passthrough utilities before msiexec.exe that performs a check. Or had different advertisements/collections depending on MSI already installed or not on machine. In those cases, we just updated the source path contents for package, updated DP's, re-run advertisement. Then it got executed with correct command-line.

Now we have SCCM 2012 and Application Model. How do we handle this scenario most correctly/efficiently ?

We have tried to research in a test environment. But only way we seem to get it to work is to create a separate new Application object for v1.0.1, then supersede the v1.0.0 Application object. But it feels like total overkill and a waste of time. It should be possible in some way to update existing MSI deployment type in Application object. Then force some action that results in a "re-run" of command-line on clients, with correct reinstall/repair (vomus) depending on MSI installed or not.

Early days for us and SCCM 2012, so really hope we have overlooked something :-)Any pointers in correct direction would be appreciated. Even if it is a confirmation of SCCM 2012 still not supporting this core Windows Installer MSI technique.

Application removal successful, but fails according to Software Center

$
0
0

Hi,

I have tried to make both Firefox and Notepad++ available to my test users. Both applications install fine and are detected as being installed. The issue I am facing is that when the user tries to uninstall the application, Software Center informs that the removal failed with error code 0x87D00325. Both applications have actually been uninstalled and as soon as I manually run the "Application Deployment Evaluation Cycle", the application is shown as being available.

So basically it would seem that the application is being detected after it has been uninstalled.

For example in my Detection Rule for Notepad++, I am checking the registry for HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++\DisplayVersion = 6.1.8. The issue seems however to remain, no matter if I check the registry or the filesystem.

Does anyone know how to fix this?

Regards, Carl

Unable to get software deployed to user group

$
0
0
I am using pkzip msi.  Very basic.  i created an application,  deployed to a user collection and a device collection.  I can install the app if it is deployed to a device but i don't see if it it is installed to a usrer.  I went down the list of client logs and don't see anything really jumping out at me.  The user is in sccm, the boundaries are right.  it can get both software updateds and, applications deployed to the device.  Any suggestions on what to look for would be appreciated.

Cyndy




Deploy Office 2013 App-V with proofing tools: connection groups?

$
0
0

Hi,


Is it advised to make a connection group when you would deploy Office 2013 App-V and its proofing tools?
Please advise on this.

J.


Jan Hoedt

Flash Player deployment issue

$
0
0
Many of our end users are with variety versions of old flash player Plugin and ActiveX. Some of them are with 11.0.0x, 15.0.0x, 160.0x. We have SCCM and SCUP. What is the best recommended way to deploy the latest 17.0.0.169 (ActiveX and NPAPI)? I think PPAPI get installed automatically by chrome. Do I need to do the cleanup separately or just push the v17.0.0.169 from sccm software update? Will that take care of all at once? I did not find the effective solution elsewhere so I hope it from here in SCCM forum. Please advise. Thanks!

Update application content on distribution point

$
0
0

I created application (not package) which is installed using install.bat script. Then I changed install.bat script and removed content from distribution point (as on below screen)

And then I distribute application content once again



But application is still installed using the old version of script install.bat So what is the proper way of updating distribution point when do any changes in application?

Uninstall App-v package create 2 collections but also 2 applications?

$
0
0

Hi,

When designing an install/uninstall App-v strategy on SCCM, we used this: http://blogs.technet.com/b/configmgrdogs/archive/2014/11/03/managing-app-v-deployments-in-configmgr-2012.aspx what works fine = 2 collections uninstall/install.

However, the question now is if adding an extra application (1 for install, 1 for uninstall) would give extra flexibility/is needed or just overhead (f.e. install 7-Zip with App-v client dependency, when you deploy this to uninstall collection, it would INSTALL Z-Zip since it is a prereq, right)?

Please advise.
J.


Jan Hoedt

Applications with Missing Content

$
0
0

I have deployed a task sequence to a device. One or more applications cannot be downloaded.

The Data Transfer log shows that 

Successfully sent location services HTTP failure message.
Error sending DAV request. HTTP code 404, status 'Not Found'
GetDirectoryList_HTTP('http://[dp fqdn]:80/SMS_DP_SMSPKG$/Content_12afd803-a4bc-4968-aa3f-1618962219df.1') failed with code 0x87d0027e.
Error retrieving manifest (0x87d0027e).  Will attempt retry 1 in 30 seconds.

How can I determine from that error, what application it refers to.

Back in the good old days, the package ID matched the cache folder matched the IIS content matched etc. etc.

Not any more, it doesn't seem easy to go through this process, we have an issue with the server where we need to go through the process at least daily for one or more apps/packages.

Thanks in advance.

Viewing all 4762 articles
Browse latest View live