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

Help! A question about BrowseDlg


3 replies to this topic

qinqin513

qinqin513
  • Members
  • 7 posts

Posted 10 July 2002 - 10:00

In my installation,I made a customize dialog.
On the customize dialog,I add a pushbutton "Browse",
I want that When the installation is running,user can see the BrowseDlg after pushing down the button "Browse".

But the result is returning the error "2812" .

Who can tell me why?

I need help! :(

Generous

Generous
  • Members
  • 53 posts

Posted 10 July 2002 - 10:24

"2812 The event [2] is not recognized"

Check your button events.
Evgeny Ushkaloff

Senior Software Developer / Setup Coordinator
Aelita Software Corporation
www.aelita.com

qinqin513

qinqin513
  • Members
  • 7 posts

Posted 17 July 2002 - 11:54

The event of my custom button "Browse" is as follows:
Event: SelectionBrowse
Argument:BrowseDlg
Condition:1

Note:my custom button is copy from the button "Browse" on CustomizeDlg

Generous

Generous
  • Members
  • 53 posts

Posted 19 July 2002 - 13:36

Quote

Platform SDK: Windows Installer
SelectionBrowse ControlEvent

The SelectionTree control uses the SelectionBrowse event to spawn a browse dialog making it possible to modify the path of the highlighted item.

Any controls that publish a SelectionBrowse event become disabled if a feature has been selected that is already installed, not configurable, or not selected for local installation.


You cannot use SelectionBrowse without SelectionTree.

To call BrowseDlg you should use SpawnDialog event with arg BrowseDlg.

Before calling dialog set _BrowsePropery to name of propery with your folder path or folder name from Directory table.

_BrowsePropery used BrowseDlg to get and set folder path value.

Sorry my english :)
Evgeny Ushkaloff

Senior Software Developer / Setup Coordinator
Aelita Software Corporation
www.aelita.com