Poweshell: deploy App-v package: deadline is wrong
Hi,
I have this powershell-line to deploy an App-v package. Only thing is that the deployment time appears wrong. I just wanted to set the deployment deadline date to 2015/04/21 10:00 but it appears as 12:00 when used this Powershell line:
Start-CMApplicationDeployment -CollectionName $DeviceCollectionNameAppV -Name $FullAppVName -DeployPurpose $DeployPurpose -DeployAction Install -UserNotification DisplayAll -DeadlineDate $DeadlineDate -DeadlineTime $DeadlineTime -AvaliableDate $AvailableDate
-AvaliableTime $AvailableTime
$Date = Get-Date -format "yyyy/MM/dd"
$Time = Get-Date -Format "h:mm"
$AvailableDate = "2015/04/20" #$Date
$AvailableTime = "21:00" #$Time
$DeadlineDate = "2015/04/21"
$DeadlineTime = "10:00"
Please advise.
J.
Jan Hoedt
Is a parameter of your
Start-CMApplicationDeployment cmdlet:
https://technet.microsoft.com/en-us/library/jj821911%28v=sc.20%29.aspx
Similar Messages
-
Updating app-v packages on clients already deployed to.
hi
I'm deploying a few app-v packages..
If I make some changes to the osd file for instance..
how do I get this update through to the clients that already have the app-v package deployed?
Kindest regards, MartinYou need to supersede the application. So create a new application and then set supersede rules in the properties of the new application. Browse to the app to replace and then in the New Deployment Type drop down select the new application.
Once that is done remove the deployment of the old application as this is no longer required.
Cheers
Paul | sccmentor.wordpress.com -
App for SharePoint online : Resource files can not with the app install package deployment
I come from China, my English is not very good, bring you the confusion, I apologize;In the development of the APP to the store, I met a problem, hope someone can help me to solve, thank you very much, specific as follows:
The development tools: vs2012
Platform: office 365 development version
Host:Auto
Problem presentation:
Press "F5" debugging running normally,Generate app install package, deploy to test environment, the app page error, tip can't find the resource file"
error:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An
unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 107: <div id="FoundareADUserIndex_PageHead">
Line 108: <span><img alt="" src="../images/head.png" height= "45px" width="45px" /> </span>
Line 109: <span style="color: #000000; font-size: 28px; font-weight: bold"><%=HttpContext.GetGlobalResourceObject("FoundareADUserResource", "foundare_index_head").ToString()%></span>
Line 110:
Line 111:
Source File: c:\DWASFiles\sites\fzym9dfaguchcdqnvjrwcr2pqasevj5hpvhmcaydkdg1.0.0.0\VirtualDirectory0\site\wwwroot\Pages\Default.aspx
Line: 109
Stack Trace:Hi,
According to your post, my understanding is that you want to use resource files in your SharePoint app project.
Here is an article for your reference:
http://msdn.microsoft.com/en-us/library/office/fp179919.aspx
Code sample: SharePoint 2013: Localize the app web, host web, and remote components of an app
http://code.msdn.microsoft.com/office/SharePoint-2013-Bookstore-328060fc/sourcecode?fileId=60464&pathId=1536365664
Best Regards
Dennis Guo
TechNet Community Support -
App-V package update best way to deploy?
Hello<o:p></o:p>
I have updated for an App-V 5 package that is currently targeted to users via
an application deployment with an WMI AD Group membership query.<o:p></o:p>
What is best way for current users to receive the updated APP-V package ? Do I simply
run update content wizard on the application deployment? Or do I need to
create a new application deployment that supersedes & uninstalls the
current application deployment?<o:p></o:p>
Thank you.
<o:p>Nick</o:p>Basically for a version number change add in a supersede rule to supersede the previous version and delete the deployment to the previous release (not an uninstall).
If just a change to the xml then just update the content to the DP.
Cheers
Paul | sccmentor.wordpress.com -
Deploy App + Package Together
I need to deploy an application (MSI) and then immediately after apply a patched executable (currently setup as a package). The application deploys fine, the package with the patch deploys fine, but is there a way to tell SCCM to run the package immediately
after the application deployment, automatically? basically resulting in the software MSI being installed and the patch also copied in, as part of a single activity instead of waiting for detection etc..You could use a task sequence that deploys them in the correct order (not possible if you want to target user collections) or use a script that installs the msi plus the patch.
Torsten Meringer | http://www.mssccmfaq.de -
TEXT_IO.FOPEN not working on web deployed app FORMS 6i
Hi all
I have coded parsing file by using TEXT_IO.GET_LINE but it seems that my file even can't be opened.
declare
file1 text_io.file_type;
filename1 varchar(256);
linebuf varchar2(100);
begin
file1 := TEXT_IO.FOPEN(:CSV.CSV_PATH, 'r');
Text_IO.Get_Line(file1, linebuf);
if linebuf!='blablablablabla' then msg('line is OK!');
else msg('Line is wrong!');
end if;
TEXT_IO.FCLOSE(file1);
end;
On local machine when i enter into :CSV.CSV_PATH "C:\details.txt" the file gets loaded because it gets processing, I can see messages.
When I upload form onto remote web-deployed app server, I enter into path "D:\details.txt" (I cannot write on C:, the files are the same) nothing happens. Does it mean text_io won't work on Fomrs6i web-deployed? How can I investigate this issue.
Thanks in advance
TomeWith Forms Server deployments. TEXT_IO writes the file on the Forms server not the local PC as it did in client-server mode.
Here are some workarounds
1) Download the WEBUTIL add-on from Oracle and use its TEXT_IO package to write to the local file.
WebUtil is an essential add-on loaded with goodies such as a file browse dialog for local files. Its easy to use and is designed to be compatible with other oracle routines like TEXT_IO.
Kudos to Duncan Mills at Oracle for this top add-on - dont leave home without it.
www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm2) Use the original TEXT_IO (as you are now) to write to a file on the Forms Sever , then display it in a browser window using WEB.SHOW_DOCUMENT
3) I remember seeing some some old Java scripts on OTN to write to local PC.
MY APOLOGIES for #3. Most forum posts can be solved with that little gem of an answer. "My sink is blocked" ... "yeah I saw some java code to fix that" -
Problems with Lync integration in App-V Package for Office 365 ProPlus
We have problems with setting Lync 2013 to automatic start after Windows start with Office 365 ProPlus App-V Package made by Office Deployment Tool. We use latest version for both (ODT and download package) at Windows 7 Enterprise 64 bit.
We have done this for Lync 2010 and also for Lync 2013 (MSI installations) and it works correctly.
User can choose to start Lync automatically, but this settings is ignored and in virtual registry is set wrong. We look for possible ways to set this by GPO (in ADMX is not this option available) by inserting in virtual registry with Package ID and user
SID in registry path.Usually setting apps to auto start sets a registry key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, but since this registry key is inside the virtual environment, Windows does not read it at logon.
The workaround is to either set this key in the native registry (perhaps by an App-V script), or easier still, just copy the shortcut to the Start Menu\Programs\Startup folder. Since you can't really modify Office 2013 packages with the sequencer, you'd
have to add this shortcut by modifying the deployment config file.
Dan Gough - UK App-V MVP
Blog: packageology.com
Twitter: @packageologist
LinkedIn -
In this article, http://blogs.windows.com/itpro/2013/12/02/announcing-mdop-2013-r2/ I see mention of an Office version called "Office 2013 ProPlus
App-V Package". Is this a download? I don't see it available as one when I login to my VLSC site.
We plan to install Office 2013 pro plus VLA LOCALLY (on C:) in our vdisk for virtual machines, but will want to stream Visio,Project,Access 2013 to our users' VMs, using App-V. (We used to use Citrix XenApp to stream them)
In the Citrix world, "streaming" is the opposite of Publishing or Hosting (running the app ON the server). Streaming means it copies over the files to the user's C: drive on their VM when they launch the appl.
Please advise.Hi,
As far as I know, Microsoft Office 2013 App-V packages are created by using the Office Deployment Tool (ODT). The created packages may have Subscription Licensing or Volume Licensing.
You need to download Office applications through the ODT first, then convert it into an Office 2013 App-V package with ODT tool.
For more details, please refer to this KB article:
http://support.microsoft.com/kb/2915745/en-us
More reference:
Supported scenarios for deploying Microsoft Office as an App-V package:
http://support.microsoft.com/kb/2772509/en-us
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Subscription and volume licensed Office 365 C2R App-V packages on the same computer
I'm interested if anyone has come across a similar scenario to what we have at the organisation I am currently working for. The organisation has signed up for an E3 subscription to Office 365, however would like to continue to using their volume licenses
of Visio and Project 2013 (at least until new versions are released at which point they'll likely move to the same subscription model).
Using the Office Deployment Tool, I've created App-V 5.0 SP2 packages for
a. "O365ProPlusRetail"
b. "ProjectProVolume" and "VisioProVolume"
Both App-V packages ignore any exclusion rules in the configuration.xml file I've defined. This is expected and I can control which applications are published using Config Mgr 2012 R2. Both packages deploy and run as I would expect.
The issue I specifically have is that if I publish both App-V packages (using different package ID's) to the same PC with modified DeploymentConfig.xml files:
a. "O365ProPlusRetail" package only enables Word, Outlook and Excel (subscription licensing)
b. "ProjectProVolume/VisioProVolume" package only enables Visio and Project (volume licensed)
it appears as though the Word, Excel and Outlook from (b) are utilised instead of from (a) even though they are specifically disabled. This means that Word, Excel and Outlook activate to our local KMS server, rather than using the user credentials as we would
prefer.
To confirm I can see that package (a) is already running when I run the following command: Get-AppvClientPackage | select Name, InUse, InUseByCurrentUser
Name
InUse InUseByCurrentUser
Microsoft Office 15 ProjectProRetail_O365ProPl...
True
True
Microsoft Office 15 VisioProVolume_ProPlusVolu...
False
False
If I then open Word (which should only be enabled in the first package), I see that the second package is now in use
Name
InUse InUseByCurrentUser
Microsoft Office 15 ProjectProRetail_O365ProPl...
True
True
Microsoft Office 15 VisioProVolume_ProPlusVolu...
True
True
I've also confirmed that all the applications (besides Visio and Project) are disabled in the second package:
Name
EnabledGlobally
Database Compare 2013
False
Spreadsheet Compare 2013
False
Excel 2013
False
OneDrive for Business 2013
False
InfoPath Filler 2013
False
Lync 2013
False
Access 2013
False
Telemetry Log for Office 2013
False
Telemetry Dashboard for Office 2013
False
Office 2013 Upload Center
False
Publisher 2013
False
Lync Recording Manager
False
Microsoft Outlook Mobile Service
False
OneNote 2013
False
Send to OneNote 2013
False
Organization Chart Add-in for Microsoft Office programs
False
Outlook 2013
False
PowerPoint 2013
False
Microsoft Office 2013
False
Office 2013 Language Preferences
False
SharePoint Designer 2013
False
Visio 2013
True
Project 2013
True
Word 2013
False
Office XML Handler
False
Internet Explorer
False
Notepad
False
Perhaps what I am trying to do is unsupported but I can't find anything explicity calling this out - and surely other organisations will have a similar scenario to us. Is there any best practice recommendations from Microsoft in this regard?
Cheers, Timhere is some reference, hope it's helpful.
http://support.microsoft.com/kb/2915745
http://technet.microsoft.com/en-us/library/jj219422(v=office.15).aspx
http://technet.microsoft.com/en-us/library/hh852466.aspx -
Office 2013 - App-v Package setting language to English United Kingdom
I have created an app-v package for Office 2013 using the instructions following in
http://support.microsoft.com/kb/2915745
Which works great and I have an app-v package created, trouble is that the language in Office i.e. Word is set to English United States. I need to default to English United Kingdom.
I have tried using Group Policy, and the language (Eng UK) appears in "Language" in word and if selected it uses this for session, but when Word is closed and re-opened to defaults back to English US.
I've also tried setting the language in the config.xml file to EN-GB during the build process, but the process fails straight away.
Anyone know how to permanently set the language to English UK?
Thanks
GarethHi,
The packager Process ends after a couple of seconds with this error in the log
03/10/2014 14:03:26.289 SETUP (0x103c)
0xfbc Click-To-Run
apx75 Monitorable
TryLaunchClient::HandleStateAction: C2R Client returned failing error code 17002
03/10/2014 14:03:26.289 SETUP (0x103c)
0xfbc Click-To-Run
aoh72 Medium
ExitBootStateMachine::HandleStateAction: Bootstrapper workflow exiting with result: 0x0
The only english language that seems to be supported is EN-US and backed up by this document
http://technet.microsoft.com/en-us/library/f5fee727-df49-4ef7-b073-dd6c08dfecfa(v=office.15)#BKMK_LanguageIdentifiers
I don't have a problem about creating the package in en-us, but need a way of changing it after it is deployed.
Thanks
Gareth -
Creating Lync and OneNote App-V Packages
I need to create an App-V package for Lync 2013 and another for OneNote 2013. From
this KB article it appears that the valid product ID's I can use in ODT are all retail versions. I want to do volume licensing from my KMS server. Is it okay to use the product ID's LyncRetail and OneNoteRetail?
Am I going about this all wrong?
John Marcum | Microsoft MVP - Enterprise Client Management
My blog: System Center Admin | Twitter:
@SCCM_Marcum | Linkedin:
John MarcumHi John,
Thanks for your post.
When creating the App-V package for Volume Licensing editions, it will require the Product ID in the configuration.xml file to be like “ProPlusVolume”, “StandardVolume”, “VisioProVolume” or “ProjectProVolume”.
So I am assuming you might want to try with "LyncVolume" and "OneNoteVolume" in your configuration.xml file.
For more information, please refer to these blog posts:
http://blogs.technet.com/b/office_resource_kit/archive/2013/12/02/announcing-app-v-5-0-sp2-support-for-office-2013-volume-licensing-editions.aspx
http://blogs.technet.com/b/pauljones/archive/2013/08/28/office-2013-click-to-run-with-configuration-manager-2012.aspx
Thanks,
Ethan Hua CHN
TechNet Community Support -
Hi,
I'm having an issue I first noticed with App-V 5 sequence packages deployed via ConfigMgr 2012 SP1 that are taking forever to mount.
To rule out ConfigMgr i've manually copied an app-v package (around 1GB) and ran the following powershell commands locally on a test client...
Add-AppvClientPackage -Path "path to package" | Publish-AppvClientPackage -Global | Mount-AppvClientPackage -Verbose
The mount command takes around 25-35+ minutes to complete, which is the behaviour i'm seeing when ConfigMgr deploys the package to a client.
If i was to just run the MSI from the same sequenced App-V Package on a client system this would complete a number of minutes.
Whats the difference between how and what the MSI installer does and why is the mount command taking so long?
App-V version is 5.0 SP1.
Thanks,
Doug+1
We similarly have 30 - 45 minute mount times particularly for the larger Autodesk products (using App-V Server infrastructure) compared to 2 - 3 minutes for exactly the same package sequenced in 4.6.
I raised a ticket with Microsoft and initially figuring it must be something in the way we were sequencing in 5.0. They played with one or two of our packages and gave a few tips to tidy up the packages, told us there were general performance issues at that
stage with 5.0 but essentially there was no answer. To us, a package taking 20 minutes to load against 30-45 does not real make a huge difference. It is not acceptable coming from what we had with 4.6.
I was told that a Hotfix was due to be released immediately after SP2 that would deal with some of the "performance issues" but no sign yet.
We have been rolling out Windows 8.1 across our regional offices and have taken to sticking a member of IT in all of the App-V Groups that are required for the local office and doing the Mount on the weekend as part of the install. We can't be rolling
out Windows 8.1 and then having the guys come in on a Monday and telling them they can't use any Apps for 2 hours. I'd be laughed out of the office. -
Problem with app-v packages - opens first time, then error
Hi
I've recently deployed some app-v packages via sccm.
the reason for this is that previously we had the few app-v packages we're actually using in our Citrix environment.
but.. some update has broken something.. and the packages don't work anymore..
and the people responsible for citrix aren't really that interested in fixing it since they want it out of citrix.. which is fine.
So.. I deployed some packages via sccm.
What's happening is:
I start the app-v package on a client and all is well..
I then close the app and start it again...
But now it fails..
one package is really just a pdf file.. it opens fine in the local adobe reader..
the second time I open the same package I am prompted to choose language in adobe.. and when I do the adobe window hangs for a few seconds and then the package (and adobe reader) closes..
In the sftlog I see:
(translated from Danish)
an error occurred while opening (accessing) the virtual registry database (section 9), rc: 07b01f0c-0000004a
The osd file content is:
<?xml version="1.0" standalone="no"?>
<SOFTPKG GUID="CD416D60-F6D3-472F-B7EE-EA18F57DE7CC" NAME="Stærkstrømsbekendtgørelsen afsnit 6A" VERSION="1">
<IMPLEMENTATION>
<CODEBASE HREF="HTTP://%APPVURL%:80/content/SB.1/SB.1_5.sft" GUID="5BFD30D4-4054-4E50-BD0A-054C3DB0AFA4" PARAMETERS="" FILENAME="SB.1\Stærkstrømsbekendtgørelsen afsnit 6A - Elektriske installationer\SB6A elektronisk udg..pdf" SYSGUARDFILE="SB.1\osguard.cp" SIZE="27721276"/>
<WORKINGDIR>%SFT_MNT%\SB.1\Stærkstrømsbekendtgørelsen afsnit 6A - Elektriske installationer</WORKINGDIR>
<VIRTUALENV TERMINATECHILDREN="FALSE">
<DEPENDENCIES/>
<ENVLIST/>
</VIRTUALENV>
<VM VALUE="Win32">
<SUBSYSTEM VALUE="console"/>
</VM>
</IMPLEMENTATION>
<DEPENDENCY>
<CLIENTVERSION VERSION="4.6.0.0"/>
</DEPENDENCY>
<PACKAGE NAME="SB.1"/>
<ABSTRACT>Stærkstrømsbekendtgørelsen 2009 udgivelse.</ABSTRACT>
<MGMT_SHORTCUTLIST>
<SHORTCUT LOCATION="%CSIDL_STARTMENU%\StærkstrømsBekendtgørelsen\" FILENAME="" OVERRIDDEN="TRUE" DISPLAY="Stærkstrømsbekendtgørelsen afsnit 6A" ICON="%SFT_MIME_SOURCE%/SB.1 Icons/Stærkstrømsbekendtgørelsen afsnit 6A.ico"/>
</MGMT_SHORTCUTLIST>
<MGMT_FILEASSOCIATIONS>
<PROGIDLIST/>
<FILEEXTENSIONLIST/>
</MGMT_FILEASSOCIATIONS>
</SOFTPKG>
As you can see, the :
<SUBSYSTEM VALUE="console"/>
is already set.. which is the solution I've seen on various forums.
Any ideas?
Kindest regards, MartinThe subsystem shouldn't be the issue.
It might be that AdobeReader writes back some data to the 'App-V User Delta' (.pkg file) that isn't consistent.
It might be worth having a look into a user's .pkg files (use Tim Mangan's PKGView and/or Gridmetric's Application Virtualization Explorer Classic) and perhaps delete Adobe related information using a pre-launch script.
I'd personally use the path to Adobe Reader as the FILENAME and the document path as the PARAMETER, but I'm not sure if that'd change anything.
Running AdobeReader from within an App-V environment may cause some trouble (depending on the reader version, protected mode on/off, plugins)
Falko
Twitter
@kirk_tn | Blog
kirxblog | Web
kirx.org | Fireside
appvbook.com -
App-V packages not streaming on VMWare View VDI
Hello All,
We are currently running SCCM 2012 R2 CU2 on VMware View VDI's.
We maintain our golden image using SCCM OSD.
NExt to applications installed in the image, we are also using app-v packages.
Before we can deploy the image, it needs to be stripped (or sysprepped) so as to garantuee that the clones will not report to the Management Point using the same SCCM Guids etc.
There for we perform the following:
net stop "CcmExec"
Remove-Item c:\windows\smscfg.ini
Get-ChildItem -Path cert:\LocalMachine\SMS | Remove-Item
Get-wmiObject -Namespace root\ccm\invagt -class inventoryActionStatus | where {$_.inventoryactionID -eq "{00000000-0000-0000-0000-000000000001}" } | remove-wmiobject
Clear-EventLog -logname Application
Clear-EventLog -logname System
Clear-EventLog -logname Security
Get-ChildItem c:\windows\ccm\logs | remove-item
When we deploy the new version of an image, we see that APP-V packages are not being streamed immediately to the clients.
While troubleshooting, I noticed that whenever I login and run a Machine Policy Evaluation & Retrieval cycle, that a ccmrepair and ccmrestart is being executed.
After the restart, the client immediately starts streaming the App-V packages.
Can anyone help me in pinpointing where the ccmrestart gets triggered from?
I've searched to already a lot of logs (ccmexec, execmgr, policyagent, policyevaluator,..) for the root cause but am unable to find it.
Many thanks in advance!
Filip TheyssensHi,
I just ran the action "Machine Policy Evaluation & Retrieval cycle" on my client, the Ccmrepair and Ccmrestart were not being executed from the logs.
You could trigger the CcmRestart by running "%windir%\CCM\CcmRestart.exe".
Best Regards,
Joyce
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. -
SharePoint 365 Deploy App -- "another App with the same version and product ID."
Hi all
When I want to deploy App I got this message:
2>Active Deployment Configuration: Deploy App for SharePoint
2> Skipping deployment step because a pre-deployment command is not specified.
2> Skipping the uninstall step because the app for SharePoint is not installed on the server.
2> Install app for SharePoint:
2> Uploading the app for SharePoint...
2>Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the same version and product ID.
If the App exist why it doesn't uninstall it. And also its not possible to Retract:
Skipping the uninstall step because the app for SharePoint is not installed on the server.
I solved my problem by changing ProductID manually but I don't want to make the server with dirty small apps.
Any idea?
ThanksHi,
Check the Site URL in project properties to which the app is installed.
You have to choose the right path first where the app is installed and then Build>Retract.
Then change the path to new one and try build. It looks like you are trying to retract from wrong Site URL.
Thanks
Jashandeep K
Maybe you are looking for
-
i am incharge of 50 iPads for ur schol district and have been creating profiles and enabling restrictions on the iPads. today i came across the 'passcode lock' feature, that i am sure all are fimiliar with. if i set that with a code, any student can
-
Connect to the database of auto Hosted App on Office 365
Hi All, I developed a custom Application for SharePoint on top Office 365 in Auto-hosted mode. The application has SQL database which will be deployed to SQL Azure. I would like to read some info from the database but using another tools not from ins
-
Opening T42 keyboard question?
I got my upgrading memory. The bottom one is a piece of cake. But I have a bit of trouble in opening the keyboard to change the one below. I got this instruction : http://www-307.ibm.com/pc/support/site.wss/MIGR-46515.html The picture is not clear
-
Intermittent exception - Load Report Failed
Hi, I am new to the forums, this does kinda involve .Net but not be a simple .Net issue so I posted here. I have been using Crystal Reports 10 for a while now, bolting it into web pages and never had issues but I have come across 2 lately that have m
-
I own a Macbook Pro I purchased in March 2008 and recently when I work in Adobe CS3 products (Photoshop,InDesign and Illustrator) it has been running slowly, also when I save things in photoshop with a high resolution it will not let me save saying n