Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / June 2007

Tip: Looking for answers? Try searching our database.

Can UI dialogs be displayed conditionally?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bogdan - 10 Jun 2007 15:38 GMT
Hi,

Files and custom actions can have conditions set in their properties.  This
does not seem to be true for UI dialog boxes.  I'm surprised that such an
important feature has been missed in deployment projects.  How can you ask a
user to enter info that has nothing to do with options that he/she chose?
Am I missing something?  Are there any workarounds?

Thanks,
Bogdan
Phil Wilson - 12 Jun 2007 15:34 GMT
You can delete the dialogs you don't want to use in the User Interface view
in the IDE, right-click on the dialog and Delete.
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]

> Hi,
>
[quoted text clipped - 7 lines]
> Thanks,
> Bogdan
Bogdan - 13 Jun 2007 03:53 GMT
I'd like to do that during the installation.  That is, I'd like to show
selected dialogs only if a given condition is set.  For example, if a user
selects an option (e.g. by checking off a checkbox) that requires more info
I'd like to show an additional dialog to gather the info.  I'm afraid this
is not possible since dialogs don't have the "Condition" property in the UI
editor.

> You can delete the dialogs you don't want to use in the User Interface
> view in the IDE, right-click on the dialog and Delete.
[quoted text clipped - 9 lines]
>> Thanks,
>> Bogdan
Phil Wilson - 17 Jun 2007 19:21 GMT
Visual Studio's dialogs are preconfigured - you'd have to use a more
fully-featured tool if you want to alter dialog orders (or learn how to edit
the ControlEvent table directly with Orca to alter the next dialog to be
shown).
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]

> I'd like to do that during the installation.  That is, I'd like to show
> selected dialogs only if a given condition is set.  For example, if a user
[quoted text clipped - 16 lines]
>>> Thanks,
>>> Bogdan

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.