Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Installer Actions
Message
From
16/10/2006 14:08:54
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
ASP.NET
Category:
Installation, Setup and Configuration
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01162018
Message ID:
01162284
Views:
13
>I am trying to add some custom stuff to my installer. Here is what I would like to do: After the installer is done installing I would like to display a form with a checkbox (open readme file after setup is complete) and then when the user clicks the close button (or finish button) the readme file is launched (unless the checkbox was unchecked in the previous step).
>So I added the "Checkboxes (C)" dialog to the End-branch and configured it. Then I created an installer class and added the class to the Custom Actions interface of my installer project. Then I override the OnCommitted like this:
>
>protected override void OnCommitted(System.Collections.IDictionary savedState)
>{
>	base.OnCommitted(savedState);
>	System.Diagnostics.Process.Start(@"c:\it\OnCommitted.txt");
>}
>
>
>The problem is that notepad opens the file before the checkbox dialog is opened.
>Once that problem is solved I need to know how to find out if the checkbox is checked or not.
>
>Any help is appreciated.
>
>Thanks,
>Einar

Einar,

I've never gotten into the installer, but is it possible that the form is not modal and therefore it loads and immediately returns control to the installer?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform