I apologize in advance for asking a vague question.  I'm going to make
this as precise as I can, but it's still open-ended enough to give
Google fits.

I'm an almost-complete newb to WiX, but a long-time Python programmer.
I'd like to distribute an MSI containing a Python application written
using the PySide library.  So far I have a WiX-based MSI that works just
fine, *so long as* the end-user has already installed Python 2.7 and
PySide.  I'd like to make the experience a little friendlier on
end-users, while still keeping the total download size small -- given a
full install of Python 2.7 + PySide comes out to around 50Mb,
downloading as-needed seems to be the way to go.

Therefore, I'd like to try something like the following:


        1.  Check which architecture is in use (AMD64 or x86)
        2.  Check HKLM\PythonCore for the presence of Python 2.7
            a.  If present, go on to 3
            b.  If not, download the Python 2.7 MSI for the
                appropriate architecture and install it
        3.  Find the Python 2.7 install path from HKLM\Python
            Core\2.7\InstallPath: check in
            PYTHONINSTALLPATH\Lib\site-packages for the presence
            of a directory "PySide-1.0.6qt474-py2.7.egg-info"
            a.  If present, go on to 4
            b.  If not, download PySide for the appropriate
                architecture and install it
        4.  Ta-da, done.


Now, I'm pretty sure that mucking about on my own I can address some of
this, particularly checking what architecture is in use, reading
registry keys, and so on.  However, downloading additional MSI
installers (and plain .exe installers, in the case of PySide) and
launching them ... well, let's just say my Google searches have been in
vain.

If anyone has any words of advice (even if it's "oh God don't don't no
you have no idea what you're doing you foooooooool!"), I'd love to hear
them.  :)

Thanks much, y'all!

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to