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

Reply via email to