Hi Richard,

Thanks for response. Actually I want to select one config file at run time and 
user will give their own settings in config file. Can you give me any custom 
actions for file browse dialog.

Regards
-Sandeep

-----Original Message-----
From: Richard [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2008 8:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] File Browse Dialog Box


In article <[EMAIL PROTECTED]>,
    "Sandeep Gautam (HCL Technologies Ltd)" <[EMAIL PROTECTED]>  writes:

> Can we create a file browse dialog box. On button click , Dialog will invoke
and will select a particular file from any directory.

What particular file are you looking for?
Is it an operating system file?
Is it a file from another installed application?
Is it a file whose location is stored in the registry?
Is it a file whose name is known, but you just need to search the hard
drive for it?

Windows Installer provides mechanisms to search for files and locate
them automatically, setting a property to the full path of the file if
it is found.  It is better to locate the file automatically (and
Windows Installer provides several built-in mechanisms to do this, so
you usually don't need a custom action) than to prompt the user for
it.

If, for some reason we haven't yet determined, that you do need to
prompt the user to browse for a file, you'll probably need a custom
action to do that.  Custom actions are error prone, even with WiX.  So
its really preferable to see if you can exploit the existing
mechanisms in Windows Installer to locate the file.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to