WiX Cookbook
eBook - ePub

WiX Cookbook

Nick Ramirez

Share book
  1. 260 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

WiX Cookbook

Nick Ramirez

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is WiX Cookbook an online PDF/ePUB?
Yes, you can access WiX Cookbook by Nick Ramirez in PDF and/or ePUB format, as well as other popular books in Informatica & Linguaggi di programmazione. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781784393212

WiX Cookbook


Table of Contents

WiX Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Organizing and Building WiX Projects
Introduction
Installing WiX and creating a new project in Visual Studio 2013
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Referencing the output of a .NET console application in a WiX project by using a preprocessor variable
Getting ready
How to do itā€¦
How it worksā€¦
Separating a portion of WIX markup into its own library
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Compiling a WiX installer on a build machine using MSBuild
Getting ready
How to do itā€¦
How it worksā€¦
Building a WiX installer from the command line
Getting ready
How to do itā€¦
How it worksā€¦
2. Installing Files and Directories
Introduction
Installing directories onto the target computer
Getting ready
How to do itā€¦
How it worksā€¦
Adding a file to a directory
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Installing a 64-bit executable file to Program Files
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Including one component or another depending on the condition
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using the heat.exe tool to generate components
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
3. File and Folder Permissions
Introduction
Changing the permissions on a folder for a user
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Changing the permissions on a file for a user
Getting ready
How to do itā€¦
How it worksā€¦
Marking a file as read only
Getting ready
How to do itā€¦
How it worksā€¦
Creating a file share
Getting ready
How to do itā€¦
How it worksā€¦
Setting the default program for a file type
Getting ready
How to do it...
How it works...
There's more...
4. Shortcuts
Introduction
Adding an application shortcut to the Start menu
Getting ready
How to do it...
How it works...
There's more...
Adding an icon to a shortcut
Getting ready
How to do it...
How it works...
There's more...
Placing a shortcut on the desktop
Getting ready
How to do it...
How it works...
Creating a shortcut to a folder
Getting ready
How to do it...
How it works...
Creating an advertised shortcut that installs a feature on demand
Getting ready
How to do it...
How it works...
There's more...
5. Editing XML Files during Installation
Introduction
Adding a new element to an XML file during installation
Getting ready
How to do it...
How it works...
There's more...
Setting the value of an attribute on an XML element
Getting ready
How to do it...
How it works...
Inserting inner text into an XML element
Getting ready
How to do it...
How it works...
There's more...
Adding an XML element only if it does not already exist
Getting ready
How to do it...
How it works...
Removing an XML element
Getting ready
How to do it...
How it works...
6. Custom Actions
Introduction
Creating a C# custom action and referencing it in your project
Getting ready
How to do it...
How it works...
There's more...
Passing information entered by a user to a deferred custom action
Getting ready
How to do it...
How it works...
Preventing custom action data from being displayed in the install log
Getting ready
How to do it...
How it works...
Running an executable as a custom action without showing a console window by using CAQuietExec
Getting ready
How to do it...
How it works...
There's more...
Testing rollback custom actions with WixFailWhenDeferred
Getting ready
How to do it...
How it works...
7. Installing Wizards
Introduction
Adding a wizard to guide users through the installation
Getting ready
How to do it...
How it works...
There's moreā€¦
Changing the logo images and default license agreement text of the wizard
Getting ready
How to do it...
How it works...
Customizing the wizard by adding a new dialog window to it
Getting ready
How to do it...
How it works...
Deciding which dialog to show next depending on the user's choices
Getting ready
How to do it...
How it works...
Setting a property based on user input
Getting ready
How to do it...
How it works...
8. Users and Groups
Introduction
Creating a local user
Getting ready
How to do it...
How it works...
Adding a new user to a new group
Getting ready
How to do it...
How it works...
Adding a new user to an existing group
Getting ready
How to do it...
How it works...
Adding an existing user to a new group
Getting ready
How to do it...
How it works...
Adding a new user with the log on as a service security setting
Getting ready
How to do it...
How it works...
9. Handling Prerequisites
Introduction
Stopping the installation with a launch condition
Getting ready
How to do it...
How it works...
There's more...
Installing only to supported versions of Windows
Getting ready
How to do it...
How it works...
There's more...
Redistributing the .NET Framework with a bootstrapper
Getting ready
How to do it...
How it works...
Execu...

Table of contents