Re: [WiX-users] External UI Samples?

2011-04-10 Thread Matt Siebert
Thanks Tomasz.  I didn't mean to imply that Sharp Setup was unstable and
when I look back at my previous comment I see that there are a few things I
should have added.  Specifically, I understand that some add-ins can cause
issues in other add-ins - in fact the product I'm working on is an add-in
for a VS-like product in another industry and I've suffered similar
situations with other misbehaving add-ins causing an apparent issue in mine.

When my VS was crashing / erroring (can't remember exactly which) I did
suspect it was something to do with AnkhSVN, but it was late at night and I
wasn't that desperate to figure out the issue.

Since then, my setup UI task has been put on hold.  Sharp Setup definitely
looks impressive and maybe I'll get a better look at it when I get back to
this task.

On Sat, Apr 9, 2011 at 7:50 AM, Tomasz Grobelny <
tom...@grobelny.oswiecenia.net> wrote:

> On Wednesday 06 April 2011 14:39:14 Matt Siebert wrote:
> > 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.
> >
> Please have a look at "'SharpSetup crashes my VS' myth":
>
> http://sharpsetup.eu/index.php?option=com_content&view=article&id=92:sharpsetup-
> crashes-my-vs-myth&catid=1:latest-news&Itemid=1
> --
> Regards,
> Tomasz Grobelny
>
>
> --
> 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


Re: [WiX-users] External UI Samples?

2011-04-08 Thread Tomasz Grobelny
On Wednesday 06 April 2011 14:39:14 Matt Siebert wrote:
> 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.
> 
Please have a look at "'SharpSetup crashes my VS' myth":
http://sharpsetup.eu/index.php?option=com_content&view=article&id=92:sharpsetup-
crashes-my-vs-myth&catid=1:latest-news&Itemid=1
-- 
Regards,
Tomasz Grobelny

--
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


Re: [WiX-users] External UI Samples?

2011-04-06 Thread Matt Siebert
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 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 **
> 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


Re: [WiX-users] External UI Samples?

2011-04-06 Thread Pally Sandher
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 **
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