Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
WiX: A Developer's Guide to Windows Installer XML

You're reading from  WiX: A Developer's Guide to Windows Installer XML

Product type Book
Published in Oct 2010
Publisher Packt
ISBN-13 9781849513722
Pages 348 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

WiX: A Developer's Guide to Windows Installer XML
Credits
About the Author
About the Reviewer
Preface
1. Getting Started 2. Creating Files and Directories 3. Putting Properties and AppSearch to Work 4. Improving Control with Launch Conditions and Installed States 5. Understanding the Installation Sequence 6. Adding a User Interface 7. Using UI Controls 8. Tapping into Control Events 9. Working from the Command Line 10. Accessing the Windows Registry 11. Controlling Windows Services 12. Localizing Your Installer 13. Upgrading and Patching

InstallExecuteSequence


During the InstallExecuteSequence, changes are made to the computer such as laying down files. This part of the installation is called the "server side" and the UI portion is called the "client side", which is a way of conceptualizing that the two are run in different sessions and with different privileges. The client side runs as the user who launched the MSI while the server side is run as the LocalSystem user.

If you install with logging turned on you can see the split between client and server. Actions that occur during the first half start with "MSI (c)", as in the following example:

MSI (c) (64:80) [13:41:32:203]: Switching to server:

That's the last entry from the client before switching to the server. Then you'll see log entries begin with "MSI (s)".

MSI (s) (D0:4C) [13:41:32:218]: Grabbed execution mutex.

By taking ownership of the execution mutex, the server side is saying that no other MSI package can be run while the execution phase is in progress. The following...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}