From MSI to WiX
Русская версия здесь.
This is a series of articles on building installation packages using WiX.
- From MSI to WiX, Part 1 - Required properties
- From MSI to WiX, Part 2 - ARP support
- From MSI to WiX, Part 3 - Launch Conditions and Application Search
- From MSI to WiX, Part 4 - Features and Components
- From MSI to WiX, Part 5 - Custom actions: Introduction
- From MSI to WiX, Part 6 - Customizing installation using Custom Tables
- From MSI to WiX, Part 7 - Customizing installation using Transforms
- From MSI to WiX, Part 8 - Major Upgrade
- From MSI to WiX, Part 9 - Patching
- From MSI to WiX, Part 10 - Shortcuts
- From MSI to WiX, Part 11 - Windows Installer Automation Interface, Part 1
- From MSI to WiX, Part 12 - Customizing installation using Transitive components
- From MSI to WiX, Part 13 - Installable Items - Environment variable
- From MSI to WiX, Part 14 - Installable Items - Registry keys and values
- From MSI to WiX, Part 15 - Installable Items - Ini files
- From MSI to WiX, Part 16 - Installable Items - Handling Installation Media
- From MSI to WiX, Part 17 - Windows Installer Automation Interface, Part 2
- From MSI to WiX, Part 18 - Windows Installer Automation Interface, Part 3
- From MSI to WiX, Part 19 - The Art of Custom Action, Part 1
- From MSI to WiX, Part 20 - User Interface - Required Dialog Boxes
- From MSI to WiX, Part 21 - User Interface - Informational Dialogs
- From MSI to WiX, Part 22 - DLL Custom Actions - Introduction
- From MSI to WiX, Part 23 - DLL Custom Actions - Logging and setting properties
- From MSI to WiX, Part 24 - DLL Custom Actions - Get property value and obtaining/changing session information
- From MSI to WiX, Part 25 - Installable Items - Updating XML files using XmlFile
- From MSI to WiX, Part 26 - Shortcut: To pin or not to pin?
Comments
Anonymous
May 20, 2008
Excellent postings, very useful. It's always good to see real examplesAnonymous
May 23, 2008
Can you point me to some information on how to keep the package from registering itself so that every time the install package is started it will function like it was the first time installation? I realize this is not very normal but that is the way my company wants this particular package to work. I came across some property settings that might cause this type of functionality but I did not write them down. And I really would rather not have a CA that launches msizap.exe to remove the install information. Thanks. LyleAnonymous
June 24, 2008
Thank you so much for this blog. It helped me out tramendously in understanding Wix. One of the best one I found on the net that explains everything with real example... I am keeping this blog as my favorite..Anonymous
June 25, 2008
To Lyle Hollenbeck: Sorry for being so late. Sounds, like you need Major Upgrade. It will require some extra work on your part, but the good news is that there will be no need for msizap.Anonymous
July 07, 2008
The comment has been removedAnonymous
April 02, 2009
большое спасибо! I really appreciate your work here. We are moving from using the built-in Visual Studio deployment projects to using WiX. Your blog has been very helpful!Anonymous
April 16, 2009
Are you going to update this to reflect 3.0?Anonymous
May 20, 2009
Great stuff! Would be nice if a chapter would be dedicated to x64/64 bit installers.Anonymous
July 05, 2009
Alex this is a very good and large post, thanks for spending time on it!Anonymous
July 20, 2009
On adding the <Property Id="ALLUSERS">1</Property>, i can install the .msi to all users of the machine, but only thru Administrator account. But when i tried to install the same .msi with a non-admin user rights, i received an error saying "You do no have sufficient privileges, please logon as adminstrator and retry the installation". Can anyone help plz me to write a script, when i install the .msi from a non-admin user, i should not receive admin privileges error msg. Thanks in advance.. Regards, Vinod KAnonymous
August 06, 2009
Hello everyone, When tried to run Wix v3 scripts i've received the following errors
- error LGHT0204 : ICE43: Co mponent C_Rel has non-advertised shortcuts. It should use a registry key under HKCU as its KeyPath, not a file.
- error LGHT0204 : ICE57: Co mponent 'C_Rel' has both per-user and per-machine data with a per-machine KeyPath. Can any one please help me in resolving the above things. Thanks in advance. Regards, Vinod K
Anonymous
August 06, 2009
You need to read Part 10-Shortcuts (http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx) to understand the difference between advertised and non-advertised shortcuts.Anonymous
August 27, 2009
The comment has been removedAnonymous
August 27, 2009
Hi Abhishek, Sorry, I don't know why Visual Studio crashes when Restart Manager is trying to shut it down. You need to ask Visual Studio people why this is happening.Anonymous
August 28, 2009
The comment has been removedAnonymous
August 28, 2009
Read about FilesInUse (http://msdn.microsoft.com/en-us/library/aa368592(VS.85).aspx) and MsiRMFilesInUse (http://msdn.microsoft.com/en-us/library/aa370379(VS.85).aspx) dialogs. If you are using any flavor of Wix UI, you have them already. This topic (http://msdn.microsoft.com/en-us/library/aa372466(VS.85).aspx) has fairly good explanation on using RestartManager in Windows Installer.Anonymous
January 20, 2010
The comment has been removedAnonymous
February 05, 2010
Hi, could you provide such tutorial for installin COM objects? How to handle the restart PC, so that the setup continues afterward, from where it had stopped?Anonymous
February 10, 2010
Hi Alec, Do you have the solution to remove the services on uninstallation of the installer.Anonymous
April 09, 2010
I'm trying to create a package that leaves no trace in the registry (see http://msdn.microsoft.com/en-us/library/aa367519.aspx ) How can I do this with WIX?Anonymous
May 26, 2010
The comment has been removedAnonymous
July 26, 2010
Rob Mensching's Blog robmensching.com/.../posts Wix Edit on Sourceforge http://wixedit.sourceforgeAnonymous
September 03, 2010
Hi, I'm using Wix 3.0 toolset to compile your sample code given in your tutorial. I'm getting some errors. Also I'm not able find the download of Wix 2.0. Do I've to strictly use Wix 2.0. Thanks, Shreedhar.Anonymous
October 11, 2010
Here are some of the links that I tweeted during the past week: VSTO 4 ( 2010 ) Lessons Learned ChristopherAnonymous
February 01, 2011
Thanks man!. These are really good and easy to understand. Best tutorial I have seen on WiX.Anonymous
February 07, 2011
Thank you Jakob.Anonymous
May 24, 2012
Excellent, Thank youAnonymous
August 12, 2013
The comment has been removed