[EMAIL PROTECTED] schrieb:
> Send WiX-users mailing list submissions to
>       wix-users@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/wix-users
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of WiX-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Using BrowseDlg Twice (Douglas Watts)
>    2. Re: Quick question on upgrade checking (Mike Dimmick)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Sep 2006 09:51:34 -0400
> From: "Douglas Watts" <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Using BrowseDlg Twice
> To: "Mike Dimmick" <[EMAIL PROTECTED]>,
>       <wix-users@lists.sourceforge.net>
> Message-ID:
>       <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> Thanks Mike.  I'm still struggling.  I am installing a Win Service (no
> UI) so I was thinking that I need to offer the user the opportunity to
> specify the data directory during installation.  The nature of the
> application is that the data path cannot easily be changed once
> installed.
>
>  
>
> I looked at the UI library source.  I noticed that the WixU
> InstallDirDlg and the CustomizeDlg both use the PathEdit control and a
> browse button to display the BrowseDlg.  I figured I could create a
> DataDirDlg that did the same thing.  Unfortunately, I just don't know
> enough about Wix nor Windows Installer to make this work.  Any ideas?
>
> __________________________________
>
> Doug Watts
>
>  
>
> ________________________________
>
> From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 19, 2006 7:43 PM
> To: Douglas Watts; wix-users@lists.sourceforge.net
> Subject: RE: [WiX-users] Using BrowseDlg Twice
>
>  
>
> Error 2812's text is given in
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/set
> up/windows_installer_error_messages.asp as 'The event [2] is not
> recognized.' Looking up the SelectionBrowse ControlEvent
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/se
> tup/selectionbrowse_controlevent.asp) suggests that you should have a
> SelectionTree control on the same dialog: it is the SelectionTree which
> actually creates the dialog. I'm guessing that since you don't have one
> there is no subscriber to the event so when you try to fire it, the
> error occurs.
>
>  
>
> I'm trying to get my head around this model of publishing and
> subscribing to events.
>
>  
>
> Perhaps you need to have a hidden SelectionTree? I'm not sure how to -
> or whether to - remove the actual feature selections from it.
>
>  
>
> I assume that you're installing data files to this directory, rather
> than specifying where files will be created by the application once
> installed. If the latter I'd suggest making it part of your
> application's UI, or command-line configuration interface, rather than
> the installer's UI, so that the user can change it after installation
> without having to rerun the installer. Your fragment suggests that they
> can't change it without reinstalling anyway - I note you hide the Browse
> button if the product is already Installed.
>
>  
>
> It may be beneficial to load your generated MSI into Orca (from the
> Windows Installer SDK) and use Tools/Validate. This will run the
> Internal Consistency Evaluators (ICEs). light.exe in WiX v3 runs the
> ICEs for you and will refuse to link if any ICEs produce errors. I don't
> think there is one that will pick up this problem but it's worth seeing
> what other problems show up.
>
>  
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to