Cover image for WiX A Developer's Guide to Windows Installer XML : A Developer's Guide to Windows Installer XML.
WiX A Developer's Guide to Windows Installer XML : A Developer's Guide to Windows Installer XML.
Title:
WiX A Developer's Guide to Windows Installer XML : A Developer's Guide to Windows Installer XML.
Author:
Ramirez, Nick.
ISBN:
9781849513739
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (368 pages)
Contents:
WiX: A Developer's Guide to Windows Installer XML -- WiX: A Developer's Guide to Windows Installer XML -- Credits -- About the Author -- About the Reviewer -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Getting Started -- Introducing Windows Installer XML -- What is WiX? -- Is WiX for you? -- Where can I get it? -- Votive -- A word about GUIDs -- Your first WiX project -- XML declaration and Wix element -- Product element -- Package element -- Media element -- Directories -- Components -- Files -- Features -- Start Menu shortcuts -- Putting it all together -- Adding a User Interface -- Viewing the MSI database -- Orca.exe -- Turning logging on during installation -- Other resources -- Summary -- 2. Creating Files and Directories -- File element -- DirectoryRef element -- ComponentGroup element -- Fragment element -- Harvesting files with heat.exe -- Copying and moving files -- Copying files you install -- Copying existing files -- Moving existing files -- Installing special-case files -- Adding assembly files to the GAC -- Installing a TrueType font -- Creating an empty folder -- Setting file permissions -- Speeding up file installations -- Summary -- 3. Putting Properties and AppSearch to Work -- Custom properties -- Declaring and setting properties -- Referencing properties -- Property visibility and scope -- Secure properties -- Property datatypes -- Predefined Windows Installer properties -- Implied properties -- Cited properties -- AppSearch -- DirectorySearch -- FileSearch -- ComponentSearch -- RegistrySearch -- IniFileSearch -- Summary -- 4. Improving Control with Launch Conditions and Installed States -- Conditions -- Condition syntax -- Launch conditions -- Feature conditions -- Component conditions.

Action state -- Installed state -- Summary -- 5. Understanding the Installation Sequence -- InstallUISequence -- UI standard actions -- AppSearch -- LaunchConditions -- ValidateProductID -- CostInitialize -- FileCost -- CostFinalize -- ExecuteAction -- InstallExecuteSequence -- Execute standard actions -- InstallValidate -- InstallInitialize -- ProcessComponents -- UnpublishFeatures -- RemoveRegistryValues -- RemoveShortcuts -- RemoveFiles -- InstallFiles -- CreateShortcuts -- WriteRegistryValues -- RegisterUser -- RegisterProduct -- PublishFeatures -- PublishProduct -- InstallFinalize -- Immediate vs. deferred -- Custom actions -- Set a Windows Installer Property -- Set the location of an Installed Directory -- Run embedded VBScript or JScript -- Call an external VBScript or JScript file -- Call a function from a dynamic-link library -- Trigger an executable -- Send an error that stops the installation -- Rollback custom actions -- Accessing properties in a deferred action -- Adding conditions to custom actions -- Deployment Tools Foundation -- Session object -- Getting and setting properties -- Logging -- Showing a MessageBox -- Accessing feature and component states -- Querying the MSI database -- Inserting rows into the MSI database -- Summary -- 6. Adding a User Interface -- WiX standard dialog sets -- WixUI_Advanced -- WixUI_FeatureTree -- WixUI_InstallDir -- WixUI_Mondo -- Customizing a standard dialog set -- Creating your own dialogs -- ICE20 errors -- Adding dialog files -- Scheduling dialogs -- Dialog element -- Adding TextStyle elements -- Adding a tabbable control -- Adding a progress dialog -- Modal windows -- ICE20 revisited -- FilesInUse -- Error -- FatalError -- UserExit -- Exit -- Summary -- 7. Using UI Controls -- Controls -- PushButton -- Text -- ScrollableText -- Line -- GroupBox -- Bitmap -- Icon -- Edit -- MaskedEdit -- PathEdit.

CheckBox -- RadioButtonGroup -- ComboBox -- ListBox -- ListView -- DirectoryList -- DirectoryCombo -- SelectionTree -- VolumeCostList -- VolumeSelectCombo -- Billboard -- ProgressBar -- Summary -- 8. Tapping into Control Events -- Publish element -- Subscribe element -- Publish events -- AddLocal -- DoAction -- EndDialog -- NewDialog -- Publishing a property -- Subscribe events -- ScriptInProgress -- SelectionAction -- TimeRemaining -- Summary -- 9. Working from the Command Line -- Candle.exe -- Command-line arguments (compiling) -- -arch -- -d -- -ext -- -fips -- -I -- -nologo -- -o -- -p -- -pedantic -- -sfdvital -- -ss -- -sw -- -trace -- -v -- -wx -- Response files -- .wixobj files -- Compile-time variables -- Environment variables -- System variables -- Custom variables -- Preprocessor extensions -- Conditional statements and iterations -- if...elseif...else -- ifdef -- ifndef -- Iterations -- Errors and warnings -- Light.exe -- Command-line arguments (linking) -- -ai -- -b -- -bf -- -binder -- -cultures -- -d -- -dut -- -ext -- -loc -- -nologo -- -notidy -- -o[ut] -- -pedantic -- -sadmin -- -sadv -- -sloc -- -sma -- -ss -- -sts -- -sui -- -sv -- -sw[N] -- -usf -- -v -- -wx[N] -- -xo -- Command-line arguments (binding) -- -bcgg -- -cc -- -ct -- -cub -- -dcl:level -- -eav -- -fv -- -ice -- -pdbout -- -reusecab -- -sa -- -sacl -- -sf -- -sh -- -sice: -- -sl -- -spdb -- -sval -- Link-time variables -- Localization variables -- Binder variables -- Custom variables -- Building an installer without Visual Studio -- Summary -- 10. Accessing the Windows Registry -- Reading from the Registry -- Writing to the Registry -- RegistryValue -- RegistryKey -- Setting NeverOverwrite -- Removing Registry values -- RemoveRegistryKey -- RemoveRegistryValue -- Copying Registry values.

Registry permissions -- Summary -- 11. Controlling Windows Services -- Creating a simple Windows service -- Using sc.exe -- Using WiX to install a service -- Starting, stopping, and uninstalling a service -- Setting the service's user account -- Adding service dependencies -- Service recovery with Util:ServiceConfig -- Summary -- 12. Localizing Your Installer -- Setting language and code page attributes -- Package element -- Product element -- WiX localization files -- The role of Light.exe -- Localizing error messages -- Localizing the EULA -- Creating a multi-language MSI -- Summary -- 13. Upgrading and Patching -- Planning for updates -- Choosing an update type -- Per-user or per-machine -- Major upgrade -- Minor upgrade -- Authoring a patch file -- Building the patch on the command line -- Small update -- Summary.
Abstract:
Create a hassle-free installer for your Windows software using WiX.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: