Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Using Browse for File in InstallScript


2 replies to this topic

thachthao

thachthao
  • Full Members
  • 7 posts

Posted 04 May 2005 - 09:15

Hi every body,

- I want to browse a file by using File Browse Dialog when choose an button, and the result will be stored in textbox of custom dialog. Please help me how to do it.

- I found the solution for this problem in Basic MSI project Browse For File
How can I use that DLL in InstallScript?

Thanks.

Thach Thao.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 May 2005 - 14:09

Take a look at sample "File Browse Dialog" at http://www.installsi...s/en/isp_ui.htm

thachthao

thachthao
  • Full Members
  • 7 posts

Posted 05 May 2005 - 03:32

Thank you Mr. Stefan,

I used this function. But it's not good.

I used a custom dialog which includes one text box and one button "Browse". When user click on button, "File Browse" dialog will be shown. User can choose the needed file and close dialog. But during "File Browse" dialog is shown, user can focus on the custom dialog and do something (put into textbox, click next button,etc ...). Custom dialog will store all user's action and implement them when "file browse" dialog is closed.

Please help me how to disfocus custom dialog when "file browse" is shown so that I can prevent user do any action on it.

Thanks,

ThachThao.