Skip to main content
Microsoft
Visual Studio Setup
Visual Studio Setup
  • Home
  • DevBlogs
    • Azure DevOps
    • Notification Hubs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell Community
    • PowerShell Team
    • Python
    • Q#
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Azure SDKs
    • Bing Dev Center
    • Command Line
    • CSE Developer
    • Developer Support
    • DirectX Developer Blog
    • IoT Developer
    • Math In Office
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PAX Media
    • Perf and Diagnostics
    • PIX on Windows
    • Startup Developers
    • Surface Duo
    • Sustainable Software
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • Azure Synapse Analytics
    • OData
    • Revolutions R
    • SQL Server Data Tools

    Visual Studio Setup

    Installation and containerization of the Visual Studio family of products

    PowerShell Archives | Visual Studio Setup

    vswhere now searches older versions of Visual Studio
    vswhere now searches older versions of Visual Studio
    Avatar Heath Stewart March 11, 2017 Mar 11, 2017 03/11/17
    One of the top requests I kept hearing for vswhere was to also search older versions of Visual Studio. You can now do that starting with the latest release. Even if you don't have Visual Studio 2017 or newer installed - which means the query API is not even registered - you can use vswhere to find the installation root directory for Visual ...

    Comments are closed.0PowerShellVisual Studio
    Visual Studio Setup PowerShell Module Available
    Visual Studio Setup PowerShell Module Available
    Avatar Heath Stewart January 25, 2017 Jan 25, 2017 01/25/17
    To make the new setup configuration APIs more accessible to developers, we have published the "VSSetup" PowerShell module on powershellgallery.com, making it quick and easy to install. If you have Windows Management Framework (WMF) 5.0 or newer - installed with Windows 10 - or PowerShellGet for PowerShell 3.0 or 4.0, you can run the following...

    Comments are closed.0DevelopmentPowerShell
    Get the Windows Installer PowerShell Module easier with WMF 5.0
    Get the Windows Installer PowerShell Module easier with WMF 5.0
    Avatar Heath Stewart December 18, 2015 Dec 18, 2015 12/18/15
    Many years ago when PowerShell was first in beta, I saw an opportunity to write cmdlets that I could string together in different ways rather than writing and maintaining a bunch of one-off Windows scripts for various day-to-day tasks and customer diagnostics. I created the Windows Installer PowerShell Module to fill that role. These cmdlets ...

    Comments are closed.0InstallationPowerShell
    How to relocate the Package Cache
    How to relocate the Package Cache
    Avatar Heath Stewart February 11, 2014 Feb 11, 2014 02/11/14
    Visual Studio can require a lot of space on the system drive. Based on years of data collected from customers’ installations from the Customer Experience Improvement Program, we took advantage of this feature in Burn – the Windows Installer XML (WiX) chainer – to eliminate most errors during repair, servicing, and even uninstall. This ...

    Comments are closed.0InstallationPowerShell
    Windows Installer PowerShell Module 2.2.1 Released
    Windows Installer PowerShell Module 2.2.1 Released
    Avatar Heath Stewart July 3, 2013 Jul 3, 2013 07/3/13
    Yesterday I released servicing update 2.2.1, which updates 2.2.0 to fix a few bugs and add a few cool new features: Version-specific documentation has been added, but the most significant change to the documentation is the complete overhaul of the examples. Apart from removing some old examples using deprecated functionality, I ...

    Comments are closed.064-bitDevelopment
    Functional Testing of Cmdlets
    Functional Testing of Cmdlets
    Avatar Heath Stewart April 7, 2008 Apr 7, 2008 04/7/08
    While developing unit and functional tests for Windows Installer PowerShell Extensions, I needed a way to invoke cmdlets without requiring elevation on Vista. That is, of course, because running elevated has always been a bad idea unless it is required. In order to load a PowerShell snap-in, however, one must write to HKEY_LOCAL_MACHINE which ...

    Comments are closed.0.NETDevelopment
    Group by Different Properties for Format-Table
    Group by Different Properties for Format-Table
    Avatar Heath Stewart March 15, 2008 Mar 15, 2008 03/15/08
    For my Windows Installer PowerShell Extensions, I've been simplifying some of the use cases and adding additional formats. One thing I wanted to do was display source list information in a table and group either by the attached ProductCode or PatchCode properties. The format-table cmdlet doesn't support multiple properties and doesn't appear ...

    Comments are closed.0PowerShellTip
    Get Binder Variables for Assemblies without Installing into the GAC
    Get Binder Variables for Assemblies without Installing into the GAC
    Avatar Heath Stewart February 8, 2008 Feb 8, 2008 02/8/08
    Binder variables in WiX are variables that are resolved, coincidentally, at bind time. This is when the linker, light.exe, collects file information, assigns auto-GUIDs, and generates the output packages among other things. There are binder variables for all versioned binaries, and binder variables specific to both managed and native ...

    Comments are closed.0.NETInstallation
    WiX Extension for PowerShell Snap-ins
    WiX Extension for PowerShell Snap-ins
    Avatar Heath Stewart May 18, 2007 May 18, 2007 05/18/07
    To write an installer for your PowerShell snap-in, the PowerShell documentation instructs you to extend the PSSnapIn or CustomPSSnapIn class. When you add your snap-in assembly to the Custom Action view in a Windows Installer Project in Visual Studio, the InstallerClass property should be set to True and your installer class will be run when ...

    Comments are closed.0InstallationPowerShell
    Windows Installer PowerShell Extensions 1.0 Beta Released
    Windows Installer PowerShell Extensions 1.0 Beta Released
    Avatar Heath Stewart April 10, 2007 Apr 10, 2007 04/10/07
    I have released Windows Installer PowerShell Extensions 1.0 beta, complete with an installer package. I have also added a couple of cmdlets, and format and type configurations for a good out-of-the-box experience when using the cmdlets Get-MSIProductInfo, Get-MSIPatchInfo, and Get-MSIRelatedProductInfo. When I introduced PSMSI, you had to ...

    Comments are closed.0InstallationNews
    • Page 1
    • Page 2
    • Next page
    Relevant Links
    Visual Studio
    Visual Studio Installer documentation
    Topics
    .NET64-bitARPSYSTEMCOMPONENTCodeContainerizationContainersCustom ActionsCustomizationsDebuggingDetectionDevelopmentDiagnosingDockerEssentialsFAQHotfixInstallationKBLocalizationLoggingMailbagMSI4.5NewsPagesPersonalPowerShellpsmsiScriptSecurityServiceabilityShared ComponentsSilverlightTipTroubleshootingUACUninstallVirtualizationVistaVisual StudioVSVS 2010VS11VS15VS2005SP1VS2008SP1VS2010VS2010SP1VS2012VS2013VS2015VS2017VS2019VSCodeVSUpdatevswhereWin8Windows 7WiX
    Archive
  • April 2019
  • December 2018
  • November 2018
  • August 2018
  • June 2018
  • April 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • September 2016
  • January 2016
  • December 2015
  • July 2015
  • June 2015
  • April 2015
  • September 2014
  • August 2014
  • June 2014
  • May 2014
  • April 2014
  • February 2014
  • January 2014
  • October 2013
  • July 2013
  • June 2013
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • October 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • September 2010
  • August 2010
  • May 2010
  • April 2010
  • February 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
  • June 2005
  • May 2005
  • April 2005
  • March 2005
  • February 2005
  • January 2005
  • December 2004
  • October 2004
  • September 2004
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Duo
    • Surface Laptop Go
    • Surface Pro X
    • Surface Go 2
    • Surface Book 3
    • Microsoft 365
    • Windows 10 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Financing
    Education
    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education
    Enterprise
    • Azure
    • AppSource
    • Automotive
    • Government
    • Healthcare
    • Manufacturing
    • Financial services
    • Retail
    Developer
    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Center
    • Microsoft developer program
    • Channel 9
    • Microsoft 365 Dev Center
    • Microsoft 365 Developer Program
    • Microsoft Garage
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2021