Sequencing Microsoft Visual Studio Professional 2015 Update 1 with App-V 5.0 SP2 HF4

    General discussion

  • Followed the Visual Studio 2012 sequencing process as outlined in

    Preparation Process:

    • Copy the most recent Visual Studio 2015 Update to the sequencing VM

    • Install all the pre-requisite apps below natively before sequencing.

    Microsoft Visual C++ Redistributable 2015

    Microsoft Silverlight 5

    Microsoft .NET 4.6.1

    • Restart Windows

    • Open an Administrator Command Prompt and run:

    C:\Windows\\framework\v4.0.30319\ngen.exe executeQueuedItems

    For x64 Machines

    C:\Windows\\framework64\v4.0.30319\ngen.exe executeQueuedItems

    This is to optimize the mscorsvw.exe

    • On Windows 7, disable the services:

    “Microsoft .NET Framework NGEN v4.0.30319_32”

    “Microsoft .NET Framework NGEN v4.0.30319_64”

    • Open Regedit.exe, change the Permissions of the two following registry keys, granting Full Access to the Administrators group



    • Restart Windows
    • Create a Snapshot

    Sequencing Process:

    • Create a batch file %~dp0vs_professional.exe /ProductKey XXXXXXXXXXXXXXXXXXXXXXXXX
    • Create a .reg file to suppress the updates

    Windows Registry Editor Version 5.00





    • Use C:\Program Files (x86)\Microsoft Visual Studio 14.0 as PVAD.
    • Select the batch file as the installer for the application
    • Start sequencing following the screenshots from requirements
    • Restart Windows. Sequencer will resume.
    • Open an Administrator Command Prompt and run:


    Delete the value of SetupCommandLine in HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0

    Create a DWORD value ‘DisableFirstRunHelpSelection’ and Data ‘1’ under HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\Help. This will disable prompt to download/install local help files on first run

    • Run the .reg file to disable the autoupdates feature

    • Select the check box I am finished Installing and Click Next
    • Do not Launch anything in configure Software screen. Just Click Next
    • Select Stop Now on Create New Package step and Click Next
    • Select Continue to modify package without saving using the package editor.
    • Locate and delete the below in VFS. This is to prevent errors during the create package phase. See the KB Article below for more details


    • C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller\14.0\installers\MicroUpdate1.3\en\0\-prd=12514&pver=Dev14&sbp=d14vsuldr&plcid=0x409&clcid=0x409&ar=24730.02&sar=S80_RCPrep&o1=enu_MicroUpdate1.3_iOOB&o2=enu&o3=patch%5Ckb3110221&o4=VS14-KB3110221.exe
    • Delete NTUser.dat from the profile C:\Users\User
    • There are multiple random folders in under [{AppVPackageRoot}]\Common7\IDE\Extensions. Delete all the _rels folders.



    • Save the package now.
    • Do not close the sequencer just yet. Go to VFS and Delete [{AppVPackageRoot}]\VFS\Windows\Installer Folder. Then save as a new package. Refer below thread from Aaron Parker

    First package with Windows\Installer Folder intact can be used for upgrade later on.

    Second package without Windows\Installer Folder can be used to deploy to the users.

    • Add the package in SCCM and set the Pre-requisites to automatically install in the dependencies tab.
    Friday, March 18, 2016 5:11 PM

All replies

  • Hey. Thanks for the great guide.

    I have a request. Do you have the complete installation script for this package?

    I could of course make it my self, but if you allready have it available it would save me and others som valuble time?

    Monday, April 11, 2016 11:57 AM
  • No.. I do not.
    Friday, May 6, 2016 3:46 PM