APP-V 5: Powershell: "New-AppVSequencerPackage" fails when Reboot is needed from Software

Hi,
I am trying to automate the process of sequencing an application using a powershell-script.
Here's the Powershell-Script:
New-AppvSequencerPackage -FullLoad -Installer $Setup -Name
$Name -Path $SavePath -PrimaryVirtualApplicationDirectory $PVAD -TemplateFilePath
$Template  -Verbose
The Variables are set earlier in the Script.
This script works perfect to automatically sequence Applications, but as soon as there is an Application needing a Restart, the automated sequencing fails.
 The machine starts the shutdown-process and kills all running applications (including the Powershell-Script).
After the machine has rebooted the Sequencing-Process is supposed to resume from the point it stopped right before shutting down, but this is not the case. Instead nothing happens after restarting.
If the Sequencer-GUI (Startmenu) is being used, the machine starts the GUI and the sequencing process after rebooting without any user-interaction.
Since all App-V commands are powershell-driven, how come the Sequencing doesn't resume when using the script?

Hi,
http://blogs.technet.com/b/gladiatormsft/archive/2014/09/30/app-v-5-on-why-the-app-v-5-sequencer-really-reboots.aspx indicates
that the command line Sequencer does not support reboot operations during the Sequencing process. 
Falko
Twitter
@kirk_tn   |   Blog
kirxblog   |   Web
kirx.org   |   Fireside
appvbook.com

Similar Messages

  • Downloaded music apps o.k.  Says login failed when I put in user and password. No trouble when getting any other apps.

    Downloaded music apps o.k.  Says login failed when I put in user and password. No trouble when getting any other apps.

    Sounds like you may have deleted something you shouldn't have. Boot to an OS X DVD or a bootable backup, and using Disk Utility, do a repair disk, and while there repair permissions. Disconnect any peripherals, and reboot. If you get the same startup behavior, do a safe boot, by holding the shift key down when booting. If that works, try a normal boot. If neither step helps, you may need to relaod your operating system.

  • I upgraded to iOS 7 yesterday on my iphone and now none of my apps shows me any new message and when i open the apps it says "Connect to itunes for push notifications". Please help!!!

    I upgraded to iOS 7 yesterday on my iphone and now none of my apps shows me any new message and when i open the apps it says "Connect to itunes for push notifications". Please help!!!

    Same here.  I don't know how to solve the problem, but I figured out a way to close the app without re-starting or resetting the phone.  If you click ok and then press the home button twice really fast before the dialog box shows back up, you can put the phone in multi-tasking mode and close the app without having the shut the phone off or reset it.  Anxiously awaiting the fix for this since I have several apps I use that I can access at the moment.

  • Why is it on the photo app is that when you add your photos to new albums and when you are deleting from camera roll it will delete photos from everywhere so therefore once your photos are in the albums you have chosen you cannot delete f

    Why is it on the photo app is that when you add your photos to new albums and when you are deleting from camera roll it will delete photos from everywhere so therefore once your photos are in the albums you have chosen you cannot delete from camera roll

    Your photos are actually all in the Camera Roll.  The album you create only contain pointers to these pictures.  Albums are like music playlists; when you delete a song from the playlist it doesn't delete the song from your music library.  But when you delete a song from your music library it will also be deleted from any playlists that it may have been in as well.

  • HT1688 We bought the new iphone 5s when they came out from at&t and my dad has completely shut off and won't do anything? It has not been in ANY water or anything else that could have caused this

    We bought the new iphone 5s when they came out from at&t and my dad has completely shut off and won't do anything? It has not been in ANY water or anything else that could have caused this.

    Try to reset the device:
    Device Reset (won't affect settings/data/music/apps/etc)
    1. Press and hold (& continue to hold) BOTH the Sleep/Wake button & the Home button.
    2. Continue to hold BOTH (ignoring any other messages that may show) until you see the Apple logo on the screen.
    3. Release BOTH buttons when you see the Apple logo and allow the device to boot normally.

  • TS1702 Since I updated to ios6 my City of Warfare game shuts down when I try to go to battle. I removed my original game app and reinstalled a new game, which I had to start from the beginning and it still crashes. I'm sure that others are having similar

    Since I installed ios6 my City of Warfare game shuts down when I try to battle. I removed my original game and reinstalled a new game app which started a new game..and it still shuts down, help?

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • The iTune Remote App has stopped finding my iTunes library when connected to wifi from my main router, but works fine when connected via second wifi router on the same network (different SSID)

    I'm running iTunes Remote App from a couple of iPhone 5's and a first generation iPod Touch. iTunes is running on a PC - Windows 7. My home network runs two Wifi Routers, each with a different SSID. I've had no problems with the Remote app running this set up for the last 8 months but recently the App can only find my iTunes library when the iPhone/iPod is connected via one specific router, when connected to the network via the other router, no iTunes library is found. I'm also running an Apple TV and it's the same as the iTunes Library, only visible via the one SSID.
    Everything else seems to work fine when connected via either router, eg Internet on the iPhones (definitely via wifi)
    I've tried renewing the lease on the iPhone wifi connection, restarting everything.....several times.....
    It used to work fine, this only seems to have been a problem in recent weeks
    Any help or advice would be much appreciated
    Thanks
    Ian

    It turned out to be the firewall settings on our router. Her machine was sending traffic that our router interpreted as a DoS attack and blacklisted her Airport's MAC address. That's why it would work fine if she switched to Ethernet.

  • Problem importing photos after the new Photos update:  When I drag photos from my desktop, why don't they don't replace the previously imported photos in "Last Import".

    When I drag photos from my desktop to the new Photos icon, they don't replace the previously imported photos in "Last Import".

    After several attempts, I now find that this is working for me.  I wasn't able to open the IMPORT folder in Photos until I clicked on "Close" from File Menu. Once I was able to open the IMPORT folder and select the photos for import, the new photos appeared in "Last Import."

  • Powershell DSC - xSQLServerInstall - Fails When Using Domain Service Accounts

    I'm using the xSQLServerInstall  from
    http://www.powershellmagazine.com/2014/02/09/desired-state-configuration-dsc-resource-kit-wave-2/ which I've modified to accept parameters for the SQL Server service account and the SQL Agent service account.  The script runs to the point where it
    validates the service accounts, then fails with an error saying it can't find the account.  I'm running it in Powershell ISE as Administrator.  When I run ISE under my own credentials the script fails sooner saying I lack permissions even though
    I'm a local admin.  Any thoughts?
    Michael Brule Senior Database Specialist Microsoft SQL Server Voya Financial

    When I open ISE using the "Run as Administrator" option I get this error in ISE:
    PowerShell DSC resource MSFT_xSqlServerInstall  failed to execute Set-TargetResource functionality with error message: SQL
    Server installation did not succeed. For more details please refer to the logs under C:\Program Files\Microsoft SQL
    Server\110\Setup Bootstrap\Log folder.
        + CategoryInfo          : InvalidOperation: (:) [], CimException
        + FullyQualifiedErrorId : ProviderOperationExecutionFailure
        + PSComputerName        : localhost
    The SendConfigurationApply function did not succeed.
        + CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
        + FullyQualifiedErrorId : MI RESULT 1
        + PSComputerName        : localhost
    ....and this error in the bootstrap log:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068578304
      Exit facility code:            1204
      Exit error code:               0
      Exit message:                  Account 'ORANGE\SQLSERVICE' provided for service 'SQLAgent$APPLE' does not exist. Provide an existing account name for the service.
      Start time:                    2015-02-26 09:35:09
      End time:                      2015-02-26 09:35:48
      Requested action:              Install
    Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
        Message:
            Account 'ORANGE\SQLSERVICE' provided for service 'SQLAgent$APPLE' does not exist. Provide an existing account name for the service.
        HResult : 0x84b40000
            FacilityCode : 1204 (4b4)
            ErrorCode : 0 (0000)
        Data:
          SQL.Setup.FailureCategory = InputSettingValidationFailure
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
            at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
        Inner exception type: Microsoft.SqlServer.Configuration.Agent.InputValidationException
            Message:
                    Account 'ORANGE\SQLSERVICE' provided for service 'SQLAgent$APPLE' does not exist. Provide an existing account name for the service.
            HResult : 0x851c0001
                    FacilityCode : 1308 (51c)
                    ErrorCode : 1 (0001)
    Michael Brule Senior Database Specialist Microsoft SQL Server Voya Financial

  • RBDAPP01 fails when packetsize is changed from 1 to 35

    Hi,
    For posting J3amat Idocs parallely, RBDAPP01 is executed in background with packet size 35. It failes with an exception PARM_NOT_VALID while reading the function J_3A1_LESEN_MARC_SINGLE which is called by the program RBDAPP01. When changed back to single processing it ran sucessfully ofcourse with more exectuion time. Why it fails in parallel processing and how to run it parallely?
    Help on this highly appreciated.
    Thanks.
    Thripura.

    Changing the recovery model has no impact on replication.
    Please see:
    http://technet.microsoft.com/en-us/library/ms151740.aspx
    What recovery model is required on a replicated database?
    Replication functions properly using any of the recovery models: simple, bulk-logged, or full. Merge replication tracks change by storing information in metadata tables. Transactional replication tracks changes by marking the transaction log, but this marking
    process is not affected by the recovery model.

  • [SOLVED] makepkg fails when building libdivecomputer-git from AUR.

    I'm not sure where to start debugging this failure as I'm a newb when it comes to compiling packages.
    Can anyone point me in the right direction?
    [dan@arch libdivecomputer-git]$ makepkg -s PKGBUILD
    ==> Determining latest git revision...
    -> Version found: 20120714
    ==> Making package: libdivecomputer-git 20120714-1 (Sat Jul 14 13:43:22 EST 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Starting build()...
    ==> Connecting to GIT server....
    Cloning into 'libdivecomputer'...
    remote: Counting objects: 3995, done.
    remote: Compressing objects: 100% (1563/1563), done.
    remote: Total 3995 (delta 3240), reused 2983 (delta 2429)
    Receiving objects: 100% (3995/3995), 739.19 KiB | 59 KiB/s, done.
    Resolving deltas: 100% (3240/3240), done.
    ==> GIT checkout done or server timeout
    ==> Starting make...
    Cloning into '/home/dan/libdivecomputer-git/src/libdivecomputer-build'...
    done.
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    configure.ac:25: installing './config.guess'
    configure.ac:25: installing './config.sub'
    configure.ac:21: installing './install-sh'
    configure.ac:21: installing './missing'
    examples/Makefile.am: installing './depcomp'
    automake: warnings are treated as errors
    /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX
    /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
    src/Makefile.am:4: while processing Libtool library 'libdivecomputer.la'
    autoreconf: automake failed with exit status: 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by bergersau (2012-07-18 03:57:09)

    You may want to notify the maintainer by posting a comment on https://aur.archlinux.org/packages.php?ID=52648

  • Pinned app tab disappear, cookies has been delete when reboot computer.

    All the tabs that was pin as app tabs disappear,
    all cookies has been delete. Everything work fine when restart firefox4 but these happened when restart computers. All settings are default.
    problem occur yesterday while I have been use for a month and everything worked fine. Reinstall application didn't solve the problem. And my system is Windows 7
    Thank you.

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Use Custom Settings for History"''' -> REMOVE Checkmark from '''"Permanent Private Browsing mode"''' -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> Click OK on Options window
    Check and tell if its working.

  • CAS fails when subtracting negative numbers from stack

    The CAS fails to subtract negative numbers. Here is how to reproduce such errors:1) generate a negative number from any operation1 - 22) subtract any number from this previous result2.1) enter any value12.2) press the subtract key, select the previous value from the stack, and copy it- (touch the previous "-1" which results from "1 - 2") (touch "copy")2.3) press ENTER Other variation:cos(-π)*ENTER*, results in -11 --1*ENTER* The issue is negative numbers are being preceded by a subtraction sign instead of a negative sign, and both are treated differently by the software. The bug does not occur in home mode.

    Hello, Maké, Thank you! My report is that of a bug, not a device misuse. Particularly, a(nother) CAS bug. HP Prime's CAS is substituting binary subtraction signs for negative signs when printing results. Entering -1 in Home yedls -1, while in CAS one gets −1. See: the lengh of the dash symbol is different. Kind regards.

  • System Image Utility 10.6.3 - fails when creating NetBoot image from DVD

    System Image Utility 10.6.3, trying to create a NetBoot image from a bundled installer disc that came with a 27" Late 2009 iMac (iMac11,1). Image creation fails consistently, since the image that System Image Utility creates is only 901M.
    Anyone see this before?
    Don
    --------- System Image Utility log ----------
    Workflow Started (2010-06-16 14:03:02 -0700)
    Starting action: Define Image Source
    Finished running action: Define Image Source
    Starting action: Create Image
    Starting image creation process...
    Create NetBoot Image
    Initiating NetBoot from Install Media.
    Creating working path at /Library/NetBoot/NetBootSP0/NetBoot of Mac OS X Install DVD
    Creating disk image (Size: 901 MB)
    Finalizing disk image.
    created: /Library/NetBoot/NetBootSP0/NetBoot of Mac OS X Install DVD/NetBoot.dmg
    Attaching disk image
    Installing to destination volume
    2010-06-16 14:03:38.126 installer[2365:6f03] Looking for system packages
    2010-06-16 14:03:38.129 installer[2365:6f03] no system packages found
    2010-06-16 14:03:38.130 installer[2365:6f03] No or Invalid system receipts found on /private/tmp/mnt.LjFArn
    2010-06-16 14:03:38.130 installer[2365:6f03] Attempting fallback using: /System/Library/PrivateFrameworks/SystemMigration.framework/Resources/FallbackS ystemFiles.plist
    2010-06-16 14:03:38.175 installer[2365:6f03] Finding system files...
    2010-06-16 14:03:38.619 installer[2365:6f03] Writing system path cache.
    2010-06-16 14:03:38.623 installer[2365:6f03] Error writing cache to /private/tmp/mnt.LjFArn/Library/Caches/com.apple.FindSystemFiles.plist
    2010-06-16 14:03:38.625 installer[2365:6f03] Failed to enumerate /tmp/mnt.LjFArn/Library/Caches, cannot prune (
    "com.apple.userpictureCache"
    installer: Package name is Mac OS X
    installer: Installing at base path /private/tmp/mnt.LjFArn
    installer: The install failed (There is not enough space on this disk to install the selected items. Deselect at least 6.46 GB and try again.)
    Script is done.
    NetBoot creation failed.
    Image creation process finished...
    Stopping image creation.
    Image creation failed.

    Brian Nesse wrote:
    Hi Don, here's my guess...
    The 901 number is additional space added in the scripts. This indicates that the source image size was 0.
    Since you are making a NetBoot from Install media, under the covers the installer process is being run to create a NetBoot volume. The media shipped with the 27" iMac is most likely CPU specific and thus the installation fails because you are trying to create the image (i.e. install the system) on an unsupported CPU.
    In order to produce a NetBoot from the install media, you'll have to create it on the 27" iMac.
    Hi Brian,
    Thanks for the response. This makes perfect sense. I'll give this a try and shout back!
    Thanks,
    Don

  • File Type Association fails when opening multiple files from Bridge to Premiere

    I'm running Vista 32 bit CS3 Bridge and Premiere.
    According to the Video workshop
    http://www.adobe.com/designcenter-archive/video_workshop/
    under Premiere > all 19 topics > Managing Media in Adobe Premiere Pro > at 02:46 it shows group selecting a bunch of quicktime files using Edit > Select all, then File > Open With ...the drop down shows Premiere.
    Mine only show Premiere if a single file is selected. If I multiple select, it only shows Quicktime Player 7.6.
    I've checked the file type association in preferences of Bridge to open these files in Premiere but it still only sees Premiere if a single file is selected.
    I've upgraded Bridge to 2.1.1.9 and set to run as Administrator but to no avail.
    Any ideas?

    Import has always worked fine. this is not the issue.
    I have now changed the file association in Vista, re-started Premiere and Bridge and then after having started just Premiere chose File > Browse and the selected all the .mov files and selected Open With. Hurrah! Premiere is now listed!
    However, If I continue the focus changes to Premiere but a warning appears "This file path does not exist on disk at this location".
    Nothing is imported. Unlike the video workshop mentioned above.
    If however, I chose Open and not Open with then the files are imported.
    Seems to be a bug with Open with with more than one file chosen. If a single file is chosen and Open With is applied then the focus changes to Premiere but no file is imported.
    I have seen the exact same problem in another discusion "Re: Bridge CS3: Not importing clips into Premiere CS3" (see the More Like This panel on the rightside of this window)

Maybe you are looking for

  • DW 8 dropdown menu is not working in IE,safari

    Hi DW gurus, please help. I got my site running perfect in Firefox /www.maaki.nl/ (all ready huge achievement for me), but I have drop down  menu bar problem in Safari and IE. There are just boxes and little blue question marks in it. What is wrong,

  • Trigger Question

    All, i have the need for a trigger (Insert/Update) on a person table. if INSERT -create log record with new account id, datetimestamp, 'INSERT', batch control code (used for batch processing later in evening) -check child table to see if person on in

  • Branched scenario with passing score required will not report in LMS (Connect)

    I have a couple scenario modules as a part of a large curriculum assembled in Connect. The problem is that some of the Captivate files won't report correctly in Connect.  I've tried multiple things to troubleshoot.  All projects upload to the server

  • Can we develop CRM report by using Crystal report?

    Dear all expert, There is a report in CRM PRD which our ABAP programmer had did one which is complicated and invovlving FM and method. but since we had purchase BOBJ, we would like to develop this report by using crystal report. Is it possible? Thank

  • Script to Automatically change number to text with Adobe LifeCycle Designer ES 8.2

    Hi there! I am extremely new to FormCalc and scripting and I was wondering if someone can tell me if my query is possible, if so, please help me! I would like for each time a user enters a number in a cell for the number to change to a letter or vice