Menu

#2827 Installer: First MSI setup

Trunk
closed-fixed
Installer (111)
5
2010-01-16
2009-03-17
Tim Gerundt
No

I created with WixEdit <http://wixedit.sourceforge.net/> a first MSI setup for WinMerge. It is far away from complete, but it is a start!

Some things that are missing:
* COpy all files (currently only bin and docs files)
* Make a different between 32bit and 64bit
* Register shell extension
* Create start menu items
* mutli-language support
* GUI
* ...

To use:
Install WixEdit (with WiX included), copy the file to "Installer\WiX" and compile it with WixEdit.

Greetings,
Tim

Discussion

1 2 3 > >> (Page 1 of 3)
  • Tim Gerundt

    Tim Gerundt - 2009-03-17

    WIX XML file

     
  • Kimmo Varis

    Kimmo Varis - 2009-03-17

    So this already installs working WinMerge to 32-bit Windows? Great!

    I don't have much time to look at this in next couple of days but I think the best plan is to just add this to the SVN trunk.

    Installer/WiX is a good name (notice first and last chars are capitals, I checked this from the wix project page).

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-17

    v2 - Install languages

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-18

    Committed to SVN (In Revision 6573)

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-18
    • milestone: --> Trunk
    • status: open --> open-accepted
     
  • Kimmo Varis

    Kimmo Varis - 2009-03-19

    By the way, when I save the file in WixEdit, it re-wraps lines differently producing lots of diffs? Did you clean up XML saved by WixEdit by hand or?

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-20

    > Did you clean up XML saved by WixEdit by hand or?

    Oh, I wrote the XML file with a normal text editor and use WixEdit only for compiling. I never save it with WixEdit.

    > I think this first version won't work for Win64, there probably needs
    > to be a separate MSI file for Win64.

    I saw some WXS files, that use somehow variables to build different MSI files with one WiX script:

    33 <?ifdef var.PlatForm.Win32?>
    34 <?define ProgramFiles = "ProgramFilesFolder" ?>
    35 <?define Win64 = "no" ?>
    36 <?define Plattform = "Intel" ?>
    37 <?else?>
    38 <?define ProgramFiles = "ProgramFiles64Folder" ?>
    39 <?define Win64 = "yes" ?>
    40 <?define Plattform = "x64" ?>
    41 <?endif?>

    http://trac.nakednuns.org/nscp/browser/branches/stable/helpers/installer/Product.wxs

     
  • Kimmo Varis

    Kimmo Varis - 2009-03-20

    > Oh, I wrote the XML file with a normal text editor and
    > use WixEdit only for compiling.

    Ok.

    > I saw some WXS files, that use somehow variables to build
    > different MSI files with one WiX script
    Yep, something like that probably works. I have to check TortoiseSVN WiX script also how they do this. But lets get 32-bit working better first. :)

     
  • Kimmo Varis

    Kimmo Varis - 2009-03-20

    Perhaps this helps with the shell extension:
    http://www.dalun.com/wix/02.03.2005.htm
    as the shell extension is "just" a COM component (DLL) requiring to be registered...

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-21

    add filters to MSI file

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-21

    Ok, the patch "msi_add_filters.patch" adds the filters to the MSI setup...

     
  • Kimmo Varis

    Kimmo Varis - 2009-03-22

    Looks good.

     
  • Kimmo Varis

    Kimmo Varis - 2009-03-22
    • assigned_to: nobody --> gerundt
     
  • Tim Gerundt

    Tim Gerundt - 2009-03-22

    Committed to SVN (In Revision 6585)...

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-25

    add plugins to MSI file

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-25

    Ok, the patch "msi_add_plugins.patch" adds the plugins to the MSI setup...

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-26

    Committed to SVN (In Revision 6603)...

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-26

    add more options to feature table

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-26

    The patch " msi_add_more_feature_options.patch" adds more options to the feature table. We need this, if we later have a GUI.

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-26

    Committed to SVN (In Revision 6606)...

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-31

    add gui to MSI file

     
  • Tim Gerundt

    Tim Gerundt - 2009-03-31

    msi_add_gui.zip

    This patch adds a GUI to the Setup. I used "WixUI_FeatureTree.wxs" as base and drop the licence dialog.

     
  • Kimmo Varis

    Kimmo Varis - 2009-03-31

    Cool!

    > and drop the licence dialog
    Why? We should show the GPL license. As does the current installer... Installer is probably the only place most users get to know/see the license.

     
1 2 3 > >> (Page 1 of 3)

Log in to post a comment.