Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-27 Thread Igor Maslov
-users@lists.sourceforge.net Subject: Re: [WiX-users] Dialog to let user select Program Menu folder That's what I did, but there are some restrictions on where user can place shortcuts. I used custom action to validate path, but it is still not ideal solution. It looks like a such common

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-26 Thread Bob Arnson
Igor Maslov wrote: Maybe I'm still very inexperienced with installer controls, but it seems very hard to do something different, or change behavior of controls. I'm thinking of using approach 1, but maybe I'm missing something and it won't work? If you need UI behavior other than what MSI

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-26 Thread Rob Mensching
. smile/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Maslov Sent: Wednesday, April 25, 2007 12:24 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Dialog to let user select Program Menu folder That's what I did, but there are some

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-25 Thread Gareth at Serif
Quite. I wrote one a while back, something like this... Dialog Id=ShortcutsDlg Width=376 Height=266 Title=$(loc.DIALOG_GENERIC_Title) NoMinimize=yes Control Id=BannerBitmap Type=Bitmap X=0 Y=0 Width=376 Height=45 TabSkip=no Text=DlgBanner / Control Id=Title Type=Text X=15 Y=6

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-25 Thread Gareth at Serif
While the dialog works, I'd much prefer some kind of list box of the ProgramMenu rather than a browse control that enables users to dump their shortcuts in some inappropriate locations... actually, anyone want to suggest how to go about such an improvement to the above code? Thanks, Gareth --

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-25 Thread Igor Maslov
I ended up doing appriximately the same. I modified slightly BrowseDlg with custom action written in C, to validate selected shortcuts localtion. But still, it does not look good enough for production software. I saw Windows Installer setups where it was done quite nicely. I just wonder how?

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-25 Thread Bob Arnson
Igor Maslov wrote: It looks like a such common task, I wonder why WiX does not provide specialized dialog for that. Because you're the first to ask. So it's not that common at all. -- sig://boB http://bobs.org -

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-25 Thread Igor Maslov
Is there a discussion or an article on what approach to take to develop installer GUI. If I'm not mistaken, I can see three ways of doing this: 1. Write Win32 application that will display all dialogs and collect all the configuration data , and then call MSI passing this configuration. 2. It

[WiX-users] Dialog to let user select Program Menu folder

2007-04-24 Thread Maslov, Igor
Hello, I'm using WiX 3. My installation creates shortcuts in the Program Menu folder. Now I need to add a dialog that will let user to change default location of the shortcuts in the Program Menu folder. It seems there is no WiX dialog to do this. I'd appreciate if you could point to such

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-24 Thread Maslov, Igor
Hello, Is it possible to retrieve required free disk space without displaying Feature Selection dialog? When using Feature Selection dialog I can subscribe to SelectionSize property to display required disk space. But, what if I have only one feature, not selections, but I need to display

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-24 Thread Bob Arnson
Maslov, Igor wrote: Is it possible to retrieve required free disk space without displaying Feature Selection dialog? When using Feature Selection dialog I can subscribe to SelectionSize property to display required disk space. There's no other control that publishes a feature size event

Re: [WiX-users] Dialog to let user select Program Menu folder

2007-04-24 Thread Bob Arnson
Maslov, Igor wrote: I'd appreciate if you could point to such WiX dialog. There is none, but you don't need C++ for this -- just another dialog like InstallDirDlg that spawns BrowseDlg. -- sig://boB http://bobs.org -