Any InnoSetup experts out there that have experience shipping a single
installer that supports win32 and x64 targets?  I'm currently at a
loss at how to deal with the MSVC redistributable DLLs.  On the x64
target we need the computer to have both the win32 and x64
redistributable packages for the version of MSVC I build with (which
as been VC8.0 for the last week).  The shell extension DLL needs the
x64 versions and python needs the win32 versions (if I build Mercurial
with MSVC for consistency).

I don't want to go back to including the redistributables in the
installer, it would add quite a bit of bloat especially since VCS
users usually have these libraries on their machines.  My current
thoughts on this subject are to make the installer look for the
appropriate DLLs and not allow the install unless they are found.  Do
you all feel this would be acceptable installer behavior?

The other approach I'm considering is packaging the shell extension in
it's own micro MSI installer and including both win32 and x64 versions
in the THG installer.  That would allow us to install THG as a win32
app even on x64, and allow us to manage the DLL requirements in a
somewhat sane fashion.  As a side-benefit it provides a mechanism for
people to use THG without the shell extension if they wish.   There is
some precedence for this, it's the exact mechanism we use for the
win32 and x64 TortoiseOverlay packages.

Looking for feedback, thanks.

--
Steve Borho

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to