Book Image

WiX Cookbook

By : Nicholas Matthew Ramirez
1 (1)
Book Image

WiX Cookbook

1 (1)
By: Nicholas Matthew Ramirez

Overview of this book

Table of Contents (20 chapters)
WiX Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Index

A

  • access control lists (ACL) / Introduction
  • advertised shortcut
    • creating / Creating an advertised shortcut that installs a feature on demand, How to do it..., How it works...
    • about / There's more...
  • application pool
    • spinning, in IIS / Spinning up a new application pool in IIS, How to do it..., How it works...
  • application pool settings
    • reference link / How it works...
  • application shortcut
    • adding, to Start menu / Adding an application shortcut to the Start menu, How to do it..., How it works...

B

  • 32-bit installer, SQL Server 2014 Express
    • URL, for downloading / How to do it...
  • 32-bit MSI
    • executing, depending on user's operating system / Executing either a 64-bit or 32-bit MSI depending on the user's operating system, How to do it..., How it works...
  • 64-bit executable file
    • installing, to Program Files / Installing a 64-bit executable file to Program Files, Getting ready, How to do it…, How it works…, There's more…
  • 64-bit installer, SQL Server 2014 Express
    • URL, for downloading / How to do it...
  • 64-bit MSI
    • executing, depending on user's operating system / Executing either a 64-bit or 32-bit MSI depending on the user's operating system, How to do it..., How it works...
  • bootstrapper
    • .NET Framework, redistributing with / Redistributing the .NET Framework with a bootstrapper, How to do it..., How it works...
    • SQL Server instance, installing with / Installing a SQL Server instance with a bootstrapper, How to do it..., How it works...
  • built-in Directory elements
    • reference link / How it works…

C

  • C# custom action
    • creating / Creating a C# custom action and referencing it in your project, How to do it..., How it works...
    • referencing, in project / Creating a C# custom action and referencing it in your project, How to do it..., How it works...
  • command-line arguments
    • adding, to application / There's more...
  • command line
    • WiX installer, building from / Building a WiX installer from the command line, Getting ready, How to do it…, How it works…
  • common name (CN)
    • about / Getting ready
  • Community MSI Extensions
    • URL, for downloading / How to do it...
  • component
    • including, depending on condition / Including one component or another depending on the condition, How to do it…, There's more…
  • ComponentGroup
    • about / How it works…
  • components
    • generating, heat.exe tool used / Using the heat.exe tool to generate components, How to do it…, How it works…
  • custom action
    • invoking / There's more...
    • executable, running as / Running an executable as a custom action without showing a console window by using CAQuietExec, How to do it..., How it works...
  • custom action data
    • preventing, from being displayed / Preventing custom action data from being displayed in the install log, Getting ready, How to do it...

D

  • data
    • inserting, into database table / Inserting data into a database table, How to do it..., How it works...
  • database
    • adding, to SQL Server instance / Adding a database to a SQL Server instance, How to do it..., How it works...
  • database table
    • data, inserting into / Inserting data into a database table, How to do it..., How it works...
  • data types, performance counter
    • reference link / How it works...
  • default license agreement text
    • modifying, of wizard / Changing the logo images and default license agreement text of the wizard, How to do it..., How it works...
  • default program
    • setting, for file type / Setting the default program for a file type, Getting ready, How to do it..., How it works..., There's more...
  • deferred custom action
    • information, passing to / Passing information entered by a user to a deferred custom action, Getting ready, How it works...
  • deferred phase, execute sequence / Introduction
  • Deployment Tools Foundation (DTF) / Creating a C# custom action and referencing it in your project
  • desktop
    • shortcut, placing on / Placing a shortcut on the desktop, How to do it..., How it works...
  • dialog
    • displaying, depending on user's choices / Deciding which dialog to show next depending on the user's choices, Getting ready, How to do it..., How it works...
  • directories
    • installing, onto target computer / Installing directories onto the target computer, How to do it…, How it works…
  • directory
    • file, adding to / Adding a file to a directory, How to do it…, How it works…
  • DNS Server
    • URL / There's more...

E

  • element
    • adding, to XML file / Adding a new element to an XML file during installation, How to do it..., How it works..., There's more...
  • environment variable
    • about / Setting an environment variable
    • setting / How to do it...
    • example / There's more...
  • event source
    • defining, for Windows event viewer / Defining a new event source for the Windows event viewer, How to do it..., How it works...
  • exception
    • adding, to Windows Firewall / Getting ready, How it works...
  • executable
    • running, as custom action / Running an executable as a custom action without showing a console window by using CAQuietExec, How to do it..., How it works...
  • existing group
    • new user, adding to / Adding a new user to an existing group, How to do it..., How it works...
  • existing user
    • adding, to new group / Adding an existing user to a new group, How to do it..., How it works...

F

  • feature advertising
    • caveat / There's more...
  • file
    • adding, to directory / Adding a file to a directory, How to do it…, How it works…
    • making, as read only / Marking a file as read only, How to do it…
  • file share
    • creating / Getting ready, How to do it…, How it works…
  • file type
    • default program, setting for / Setting the default program for a file type, Getting ready, How to do it..., How it works..., There's more...
  • folder
    • shortcut, creating to / Creating a shortcut to a folder, How to do it..., How it works...
  • Forward Lookup Zone
    • URL / There's more...

G

  • GUID
    • about / How it works…

H

  • heat.exe tool
    • used, for generating components / Using the heat.exe tool to generate components, How to do it…, How it works…
  • HeatDirectory task
    • using / There's more…
    • URL / There's more…
  • Host (A) record
    • URL / There's more...
  • hyperlink control
    • adding, to wizard dialog / Adding a hyperlink control to a wizard dialog, Getting ready, How to do it..., How it works...

I

  • ICO format plugin
    • URL, for downloading / Getting ready
  • icon
    • adding, to shortcut / Adding an icon to a shortcut, How to do it..., How it works..., There's more...
  • IIS
    • application pool, spinning in / Spinning up a new application pool in IIS, How to do it..., How it works...
    • website, adding to / Adding a website to IIS that runs under your app pool, How to do it..., How it works..., There's more...
    • web application, adding to / Adding a web application to IIS, Getting ready, How to do it..., How it works...
  • immediate phase, execute sequence / Introduction
  • information
    • passing, to deferred custom action / Passing information entered by a user to a deferred custom action, Getting ready, How it works...
  • inner text
    • inserting, into XML element / Inserting inner text into an XML element, How to do it..., How it works...
  • install
    • wizard, adding for guiding users / Adding a wizard to guide users through the installation, How it works...
  • installation
    • stopping, with launch condition / Stopping the installation with a launch condition, How to do it..., How it works...
  • installation, 64-bit executable file
    • to Program Files / Installing a 64-bit executable file to Program Files, Getting ready, How to do it…, How it works…, There's more…
  • installation, directories
    • onto target computer / Installing directories onto the target computer, How to do it…, How it works…
  • installation, SQL Server instance
    • with bootstrapper / Installing a SQL Server instance with a bootstrapper, How to do it..., How it works...
  • installation, WiX / Installing WiX and creating a new project in Visual Studio 2013, How to do it…
  • installed HTML file
    • opening, after successful installation / Opening an installed HTML file after a successful installation, How to do it..., How it works..., There's more...
  • installer
    • used, for downloading resources from Web / Downloading resources from the Web with a web installer, How to do it..., How it works...
  • Internet Assigned Numbers Authority (IANA)
    • about / How it works...
    • URL / How it works...

L

  • launch condition
    • installation, stopping with / Stopping the installation with a launch condition, How to do it..., How it works...
    • adding, for installation verification / There's more...
  • LocalGroup element
    • reference link / How it works...
  • LocalGroupMember element
    • reference link / How it works...
  • localization file
    • reference link / How it works...
  • local user
    • creating / Creating a local user, Getting ready, How it works...
  • LocalUser element
    • reference link / How it works...
  • logo images
    • modifying, of wizard / Changing the logo images and default license agreement text of the wizard, How to do it..., How it works...
  • log on as service security setting
    • new user, adding with / Adding a new user with the log on as a service security setting, How it works...

M

  • message files, formatting
    • reference link / How it works...
  • Microsoft Build Tools
    • URL / Getting ready
  • Microsoft Open Database Connectivity (ODBC) / Creating an ODBC data source for a SQL Server instance
  • MSBuild
    • used, for compiling WiX installer on build machine / Compiling a WiX installer on a build machine using MSBuild, Getting ready, How to do it…, How it works…
  • MsiLaunchApp event / There's more...

N

  • .NET Framework
    • redistributing, with bootstrapper / Redistributing the .NET Framework with a bootstrapper, How to do it..., How it works...
  • Netcat, for Windows
    • URL / How it works...
  • new group
    • new user, adding to / Adding a new user to a new group, How to do it..., How it works...
    • existing user, adding to / Adding an existing user to a new group, How to do it..., How it works...
  • new user
    • adding, to new group / Adding a new user to a new group, How to do it..., How it works...
    • adding, to existing group / Adding a new user to an existing group, How to do it..., How it works...
    • adding, with log on as service security setting / Adding a new user with the log on as a service security setting, How it works...
  • Node.js MSI
    • URL, for downloading / Getting ready

O

  • ODBC data source
    • creating, for SQL Server instance / Creating an ODBC data source for a SQL Server instance, How to do it..., How it works...

P

  • parameters, schtasks utility
    • URL / How it works...
  • performance counter
    • registering / Registering a performance counter, Getting ready, How it works...
  • PermissionEx element
    • reference link / How it works…
    • about / There's more…
  • permissions, MSDN
    • reference link / How it works…
  • permissions, on file
    • modifying, for user / Changing the permissions on a file for a user, How to do it…
  • permissions, on folder
    • modifying, for user / Changing the permissions on a folder for a user, Getting ready, How to do it…, How it works…
  • portion, of WIX markup
    • separating, into library / Separating a portion of WIX markup into its own library, How to do it…, How it works…
  • pre-processor variable
    • used, for referencing output of .NET console / Referencing the output of a .NET console application in a WiX project by using a preprocessor variable, How to do it…, How it works…
  • Program Files
    • 64-bit executable file, installing to / Installing a 64-bit executable file to Program Files, Getting ready, How to do it…, How it works…, There's more…
  • Programs and Features screen
    • web page links, adding on / Updating programs and features to show a link to our company's website, How to do it...
  • project
    • creating, in Visual Studio 2013 / Installing WiX and creating a new project in Visual Studio 2013, How to do it…, How it works…
    • C# custom action, referencing in / Creating a C# custom action and referencing it in your project, How to do it..., How it works...
  • property
    • setting, based on user input / Setting a property based on user input, How to do it...

R

  • read only
    • file, making as / Marking a file as read only, How to do it…
  • resources
    • downloading, from Web with installer / Downloading resources from the Web with a web installer, How to do it..., How it works...
  • rich text format (RTF) / How to do it...
  • roaming profile
    • reference link, for requisites / How it works...
  • rollback custom actions
    • testing, with WixFailWhenDeferred / Testing rollback custom actions with WixFailWhenDeferred, Getting ready, How it works...

S

  • scheduled task
    • creating / Creating a scheduled task, How to do it..., How it works...
  • schtasks utility
    • about / How it works...
  • Security Descriptor Definition Language (SDDL) / There's more…
  • shortcut
    • icon, adding to / Adding an icon to a shortcut, How to do it..., How it works..., There's more...
    • placing, on desktop / Placing a shortcut on the desktop, How to do it..., How it works...
    • creating, to folder / Creating a shortcut to a folder, How to do it..., How it works...
    • installing, for opening web page / Installing a shortcut that opens a web page, How to do it..., How it works...
  • source code, WiX toolset
    • URL, for downloading / How to do it...
    • URL / Getting ready
  • SQL Server database
    • table, creating within / Creating a table within a SQL Server database, How to do it..., How it works...
  • SQL Server instance
    • installing, with bootstrapper / Installing a SQL Server instance with a bootstrapper, How to do it..., How it works...
    • database, adding to / Adding a database to a SQL Server instance, How to do it..., How it works...
    • ODBC data source, creating for / Creating an ODBC data source for a SQL Server instance, How to do it..., How it works...
  • SQL Server Management Studio (SSMS) / How it works...
  • SSL
    • about / Setting up a website to use SSL
  • SSL usage
    • website, setting up for / Setting up a website to use SSL, Getting ready, How to do it..., How it works...
  • Start menu
    • application shortcut, adding to / Adding an application shortcut to the Start menu, How to do it..., How it works...
  • supported versions, of Windows
    • installing to / Getting ready, How it works...

T

  • table
    • creating, within SQL Server database / Creating a table within a SQL Server database, How to do it..., How it works...
  • target computer
    • directories, installing onto / Installing directories onto the target computer, How to do it…, How it works…
  • Technet article
    • URL / Installing a 64-bit executable file to Program Files

U

  • UIExtension namespace
    • about / Adding a wizard to guide users through the installation
  • UI sequence
    • about / Introduction
  • uninstallation
    • web page, launching after / Launching a web page when a user uninstalls our software, How to do it..., How it works...
  • user
    • permissions on folder, modifying for / Changing the permissions on a folder for a user, Getting ready, How to do it…, How it works…
    • permissions on file, modifying for / Changing the permissions on a file for a user, How to do it…
  • UtilExtension namespace
    • reference link / How it works…
    • about / How it works...

V

  • value
    • setting, of attribute on XML element / Setting the value of an attribute on an XML element, How to do it..., How it works...
  • VersionNT, MSDN Web site
    • URL / How it works…
  • VirtualBox
    • URL / How it works...
  • virtual directory
    • creating / Creating a virtual directory, Getting ready, How to do it..., How it works...
  • Visual Studio 2013
    • project, creating in / Installing WiX and creating a new project in Visual Studio 2013, How to do it…, How it works…

W

  • Web
    • resources, downloading from / Downloading resources from the Web with a web installer, How to do it..., How it works...
  • web application
    • adding, to IIS / Adding a web application to IIS, Getting ready, How to do it..., How it works...
  • web page
    • launching, after uninstallation / Launching a web page when a user uninstalls our software, How to do it..., How it works...
  • web page links
    • adding, on Programs and Features screen / Updating programs and features to show a link to our company's website, How to do it...
  • website
    • adding, to IIS / Adding a website to IIS that runs under your app pool, How to do it..., How it works..., There's more...
    • setting up, for SSL usage / Setting up a website to use SSL, Getting ready, How to do it..., How it works...
  • Windows 8 SDK
    • reference link / Getting ready
  • Windows event viewer
    • about / Defining a new event source for the Windows event viewer
    • event source, defining for / Defining a new event source for the Windows event viewer, How to do it..., How it works...
  • Windows Firewall
    • about / Adding an exception to Windows Firewall
    • exception, adding to / Getting ready, How it works...
  • WiX
    • installing / Installing WiX and creating a new project in Visual Studio 2013, How to do it…
  • WixFailWhenDeferred
    • rollback custom actions, testing with / Testing rollback custom actions with WixFailWhenDeferred, Getting ready, How it works...
  • WiX file / There's more…
  • WiX installer
    • compiling, on build machine / Compiling a WiX installer on a build machine using MSBuild, Getting ready, How to do it…, How it works…
    • building, from command line / Building a WiX installer from the command line, Getting ready, How to do it…, How it works…
  • WixPdb
    • URL, for blog post / How it works…
  • WiX project
    • pre-processor variable, used for referencing output of .NET console application / Referencing the output of a .NET console application in a WiX project by using a preprocessor variable, How to do it…, How it works…
  • WiX toolset
    • URL / How to do it…, How to do it…
    • URL, for variable list / How it works…
    • URL, for GUID / How it works…
    • URL, for attributes / How it works…
    • URL, for information on NetFxExtension / How it works...
    • URL, for information on RegistrySearch element / How it works...
  • WixUI_InstallDir wizard / There's more…
  • WixUI_Minimal wizard
    • about / Customizing the wizard by adding a new dialog window to it
  • wizard
    • adding, for guiding users through install / Adding a wizard to guide users through the installation, How it works...
    • default license agreement text, modifying of / Changing the logo images and default license agreement text of the wizard, How to do it..., How it works...
    • logo images, modifying of / Changing the logo images and default license agreement text of the wizard, How to do it..., How it works...
    • customizing / Getting ready, How to do it..., How it works...
  • wizard dialog
    • hyperlink control, adding to / Adding a hyperlink control to a wizard dialog, Getting ready, How to do it..., How it works...

X

  • XML
    • about / Introduction
  • XML element
    • value, setting of attribute on / Setting the value of an attribute on an XML element, How to do it..., How it works...
    • inner text, inserting into / Inserting inner text into an XML element, How to do it..., How it works...
    • adding / Adding an XML element only if it does not already exist, How to do it..., How it works...
    • removing / Removing an XML element, How to do it..., How it works...
  • XML file
    • element, adding to / Adding a new element to an XML file during installation, How to do it..., How it works..., There's more...
  • XPath syntax
    • reference link / How it works...