Udostępnij za pośrednictwem


From MSI to WiX

Русская версия здесь.

 

This is a series of articles on building installation packages using WiX.

Comments

  • Anonymous
    May 20, 2008
    Excellent postings, very useful. It's always good to see real examples

  • Anonymous
    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.  Lyle

  • Anonymous
    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 removed

  • Anonymous
    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 K

  • Anonymous
    August 06, 2009
    Hello everyone, When tried to run Wix v3 scripts i've received the following errors

  1. 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.
  2. 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 removed

  • Anonymous
    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 removed

  • Anonymous
    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 removed

  • Anonymous
    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 removed

  • Anonymous
    July 26, 2010
    Rob Mensching's Blog robmensching.com/.../posts Wix Edit on Sourceforge http://wixedit.sourceforge

  • Anonymous
    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 Christopher

  • Anonymous
    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 you

  • Anonymous
    August 12, 2013
    The comment has been removed