Thanks Pally, I did look at Sharp Setup earlier today.  From memory it
didn't use DTF (but maybe I'm wrong).  I'm at home now and have just
installed Sharp Setup here but it keeps crashing VS when it generates the
solution.

My current plan is to use Burn from WiX 3.6 to chain .NET and then my
external UI can take over, and I think this will be simpler if I can just
get my head around how I should be using the Installer singleton in my code.

Sharp Setup also seemed fairly complicated when I looked at it earlier.
 Maybe I just didn't take enough time to look at it properly.  I didn't see
any reference to Microsoft.Deployment.WindowsInstaller so I figured it was
using P/Invoke, which isn't too disturbing, but it just seems that using DTF
/ Burn is going to be simpler to maintain.

On Wed, Apr 6, 2011 at 7:24 PM, Pally Sandher <pally.sand...@iesve.com>wrote:

> Take a look at SharpSetup -> http://sharpsetup.eu/ . It may help point you
> in the right direction.
>
> Palbinder Sandher
> Software Deployment Engineer
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the <Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
> G20 0SP
> Email Disclaimer
>
> -----Original Message-----
> From: Matt Siebert [mailto:mlsieb...@gmail.com]
> Sent: 06 April 2011 08:27
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] External UI Samples?
>
> Hi all,
>
> Can anyone point me towards a good example of an external UI using DTF?
>  I've been googling for a while and still can't piece it together.
>
> Do I just create a standard WinForms / WPF app and then reference
> Microsoft.Deployment.WindowsInstaller?  Are there any other references /
> attributes to set?
>
> What's the general workflow for an external UI?  Is it...
>
>    1. Call Installer.SetExternalUI() to register my external UI handler
>   2. Call Installer.OpenPackage() to get a Session
>   3. Use the Session to set properties using input gathered from the user
>   4. Call Installer.InstallProduct()
>
> How would I do an uninstall or a repair?
>
> As a side note I was considering using a DTF based embedded UI but after
> experimenting with the sample in the WiX source I decided against this.
>  It's great to be able to fall back to the internal UI when the embedded UI
> doesn't support something, but there is no way to handle the absence of
> .NET
> on the target machine - the embedded UI just fails and the install execute
> sequence starts.  It would be really cool if the entry point in the self
> extracting UI DLL package created by MakeSfxCA was able to detect the
> absence of the target framework and fall back to the internal UI.  Maybe in
> a future release...
>
> Thanks,
> Matt.
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to