This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn More

Skip to main content
Microsoft
Setup
Setup
  • Home
    • App Center
    • Azure DevOps
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Xamarin
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • Diagnostics
    • Setup
    • C++
    • Java
    • JavaScript
    • Powershell
    • Python
    • Q#
    • Scripting
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • ASP.NET by Scott Hanselman
    • Apps for Windows
    • Bing Dev Center
    • IoT Developer
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • OData
    • Revolutions R
    • SQL Server Data Tools

    Custom Actions Archives | Visual Studio Setup

    Restart Manager functionality in WiX 3.5
    Heath StewartSeptember 16, 2010Sep 16, 201009/16/10

    WiX 3.5 provides features to integrate with Visual Studio 2005, 2008, and 2010. But like many add-ins, since new files are being added they certainly can’t be in use by devenv.exe. So when we call devenv.exe /setup as part of our install,

    WoW64 is optional in Windows Server 2008 R2 Server Core
    Heath StewartNovember 6, 2009Nov 6, 200911/6/09

    Installation bootstrap applications are increasingly common as products chain dependencies like the Microsoft .NET Framework. Because 64-bit Windows supports both 32- and 64-bit execution, but 64-bit executables on 32-bit Windows give what some users might consider cryptic error messages,

    Windows Installer XML (WiX) v3 Beta Released
    Heath StewartDecember 9, 2008Dec 9, 200812/9/08

    Since plans were made to ship WiX v3 in the box for Visual Studio 2010, the WiX working group has been working on fixing all outstanding bugs in the WiX v3 code base. Bob Arnson uploaded packages last week as a test on SourceForge and this week the following installation packages were uploaded on the v3 Beta release page.

    Why Windows Installer May Require so much Disk Space
    Heath StewartJuly 25, 2008Jul 25, 200807/25/08

    Windows Installer is an engine for performing transactional installations. When installing a product for the fist time, most often few or no files to be installed are already present on the machine. But when upgrading or patching a product, most often those files are replaced so copies must be kept if an error occurs and the installation needs to roll back.

    Windows Installer 4.5 Beta 2 Available
    Heath StewartApril 1, 2008Apr 1, 200804/1/08

    The Windows Installer team released Windows Installer 4.5 Beta 2 recently. While not a lot has visibly changed since the first beta for which I provided an overview, it’s important to note that a new column was added to the CustomAction table since changes to column types are not supported in a transform or patch but adding a new column is supported.

    Debugging Custom Actions: Leaked Handles
    Heath StewartFebruary 12, 2008Feb 12, 200802/12/08

    Debugging custom actions isn’t exactly the easiest action to do; Windows Installer spawns separate processes – remoting servers – to run in-process custom actions. Any opportunity to diagnose issues without debugging can be helpful.

    For example,

    Different Packages are Required for Different Processor Architectures
    Heath StewartJanuary 15, 2008Jan 15, 200801/15/08

    A common question is how to create a Windows Installer package that installs 32-bit binaries on 32-bit platforms, and both 32- and 64-bit binaries on 64-bit platforms. If you’re actually trying to install 64-bit binaries to appropriate directories and write to the 64-bit view of the registry,

    ResolveSource Requires Source
    Heath StewartOctober 25, 2007Oct 25, 200710/25/07

    It might be tempting to schedule the ResolveSource action, but ResolveSource actually requires that the original installation source is available whenever it is called. If your installer package is authored correctly, source must only be resolve in cases where the original RTM files are missing or during some patch uninstall scenarios.

    EXE Custom Actions are Bad
    Heath StewartOctober 24, 2007Oct 24, 200710/24/07

    Windows Installer custom actions that launch executables (base custom action type msidbCustomActionTypeExe, 0x2) are typically bad and should be avoided. How are they bad? Let the Windows Installer team count the ways.

    During internal audits we question any EXE custom actions (CAs) but inevitably some make it into the product.

    What's New in Windows Installer 4.5: Overview
    Heath StewartAugust 27, 2007Aug 27, 200708/27/07

    The What’s New section of the Windows Installer 4.5 CHM available in the downloads section of the Windows Installer 4.5 Beta Connect site has technical details of new functionality and changes as usual, but now that we can talk about Windows Installer 4.5 I wanted to provide an overview of the new functionality.

    • 1
    • of
    • 2
    • 
    Relevant Links
    Visual Studio
    Visual Studio Installer documentation
    Top bloggers

    Heath Stewart
    Senior Software Engineer

    Twitter Feed
    Tweets by VisualStudio

    Stay informed

    What's new

    • NEW Surface Pro 6
    • NEW Surface Laptop 2
    • NEW Surface Go
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Store & Support

    • Account profile
    • Download Center
    • Sales & support
    • Returns
    • Order tracking
    • Store locations
    • Support
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Microsoft Industry
    • Data platform
    • Find a solution provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Health
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft developer program
    • Channel 9
    • Office Dev Center
    • Microsoft Garage

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2019