Indigo Rose Software
  #1  
Old 07-13-2007
smehaffie smehaffie is offline
Forum Member
 
Join Date: Jul 2007
Posts: 3
More Newbie Question

1) I want to get some information on a custom dialog box and then pass then use those values in a function I call in a dll written in C#. An example for this is getting SQL connection data from the user and then updating the app.setting file for the application. How can I do this?

2) Install SQL Express as an additional feature. The questions I have are: How to run an external application as a additional component and how to run multiple external files to do the same thing. Example: With SQL Express you need to uncompress the files and then run one of the files that were uncompresses to actually run the file. I know the commands to do this in a dependency file but not sure how to do this as a feature.

S. Shawn Mehaffie

P.S. I am evaluating whether this will work for a project I am working on so need some answer pretty quick.
Reply With Quote
  #2  
Old 07-16-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Quote:
Originally Posted by smehaffie View Post
1) I want to get some information on a custom dialog box and then pass then use those values in a function I call in a dll written in C#. An example for this is getting SQL connection data from the user and then updating the app.setting file for the application. How can I do this?
You can create an edit field on a dialog using the dialog editor (Project > Dialogs). You assign a property name to the edit field. The property will then store the value entered by the user at runtime. As far as calling a C# dll, that is a bit tricky. In general, custom action DLLs should only be written in native C/C++, not managed .NET code. There are a variety of reasons for it - both practical and technical. Your best bet would be to create a C DLL to do the work.

Quote:
Originally Posted by smehaffie View Post
2) Install SQL Express as an additional feature. The questions I have are: How to run an external application as a additional component and how to run multiple external files to do the same thing. Example: With SQL Express you need to uncompress the files and then run one of the files that were uncompresses to actually run the file. I know the commands to do this in a dependency file but not sure how to do this as a feature.
You should probably run the SQL Express installer from the bootstrapper.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shortcut/custom -- gotta be a newbie question jassing Setup Factory 7.0 Discussion 1 01-11-2007 07:47 PM
Newbie question C-zar AutoPlay Media Studio 5.0 4 11-01-2004 11:01 AM
Really newbie question Statix AutoPlay Media Studio 5.0 2 03-09-2004 10:54 PM
Newbie Question - Shortcuts To QuickLaunch Major_Moe AutoPlay Media Studio 4.0 10 09-06-2003 05:47 PM
Newbie question, this has got to be a simple just don't know why shogo AutoPlay Media Studio 4.0 3 05-24-2003 02:18 PM


All times are GMT -6. The time now is 02:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software