Browse by Tags

Tagged Content List
  • Blog Post: Repairing Products after Patches Advertised Features

    Windows Installer supports advertising features to enable users to later install those features on demand. But Windows Installer may advertise features in when a component is removed from a feature through obsolescence or supersedence . This will leave the product in a broken state while reporting that...
  • Blog Post: Unadvertise Features

    The attached Windows Script file allows you to unadvertise features in a Windows Installer product by specifying either a ProductCode or the path to an MSP. If any features are advertised - whether incidental or intentional - the product will be reinstalled and those features added locally to your computer...
  • Blog Post: Windows Installer Properties and Conditions

    In many languages, some variables can take a value of different types but with the same meaning. Variants in script, for example, can take 0 or false; or they can take any non-zero value and true. The following JScript example prints "Same". if (0 == false) WScript.Echo("Same"); The same is not true...
  • Blog Post: Windows Installer Errors 2738 and 2739 with Script Custom Actions

    Windows Script custom actions should be avoided . They are difficult to debug, get blocked by virus scanners, and are far more susceptible to machine state than native custom actions. That is indicated by Windows Installer error messages 2738 and 2739, which read: 2738, Could not access VBScript run...
  • Blog Post: Blog Script

    Attached is the JavaScript I used to customize this http://blogs.msdn.com/heaths .
  • Blog Post: Blog Customizations, Part 3: OO JavaScript

    Not satisfied by the search feature provided by Community Server I've again created some helpful JavaScript classes this time using object-oriented JavaScript to define a basic search provider and to subclass that for specialized providers like MSN Search . I defined several private properties and...
  • Blog Post: Catching Exceptions in JScript.NET

    JScript.NET was created to be compatible with JScript while benefiting from and providing access to more robust features of the .NET Framework. If you're accustomed to more oft-used managed languages like C# and VB.NET, catching different types of exception classes should be no stranger. Considering...
  • Blog Post: Blog Customizations, Part 2

    As mentioned earlier , I wanted to persist your preferences for whether certain collapsible panels were in the collapsed or expanded state. With a simple ECMA-compliant wrapper class around document.cookie and a few minor changes to the CollapsiblePanel class, state for unique panels can be remembered...
  • Blog Post: Blog Customizations

    In my seemingly never-ending quest to provide a simple, compact, yet stylish design for this blog I have recently made a customization based on what Josh Ledgard did sometime back to make collapsible panels, though I wanted something more easily reusable. I whipped together an ECMAScript — that...
  • Blog Post: Script Repository

    If you're using Windows Script to perform a lot of everyday functions or even need a one-use script to automate a batch process there's a great resource available on the web on our TechNet site: The Script Center Script Repository . There are hundreds of example scripts available from managing Active...
  • Blog Post: Avoid Deadlocks in your Script Host when Tearing down JScript

    A couple teams recently reported an issue where their script host hung due to deadlocks. Since jscript.dll was in the call stack for the hung thread it didn't take long for the bug to wind up in our lap, since CPX also sustains Windows Script . The problem was that as one thread was exiting and DLL_THREAD_DETACH...
Page 1 of 1 (11 items)