What's the best way to do this

Got a problem you cannot solve? Try here.
rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

What's the best way to do this

Postby rkaine » Thu Mar 16, 2006 9:25 am

I want to create a setup with two options...

StandAlone - which includes:
Installation of SQL Express 2005
Creation of Database, Tables, Users, DefaultDB, Roles
Application Files

or

Client Only - which includes:

Application Files

I've got other software that needs to be installed before any of the above will work so I handle that under the prerequisites section.

I don't need to have any dialogs for the operator to enter the 'sa' password or the default instance or anything like that.

Right now I am using the SetupType without the ComponentsTree but needless to say although it is "working" the results are less than optimal.

When I click on 'Next' on the SetupType dialog, everything happens but while the setupsql2005 script is running I have no feedback whatsoever...

This is already lengthy so if you need more info ask..

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Thu Mar 16, 2006 3:37 pm

Just make a custom dialog with your setup options, and then based on the setup choice in that custom dialog (you could use radio buttons, for example) select-deselect features in your script using Set Component State, on behalf of the user.

Also, be sure you are showing a progress dialog, so script progress etc. will be visible.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

rkaine
Posts: 14
Joined: Thu Mar 09, 2006 11:17 am
Location: NC
Contact:

Postby rkaine » Thu Mar 16, 2006 5:34 pm

I'll try...I'm not familiar with any of what you said, but I'll see what I can do...

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Thu Mar 16, 2006 5:59 pm

Here is what I do in the exact same scenario;

Create 2 Installers -- One for the data and one for the application
Create a CD Autorun using the eample provided by IA and have two options on it first option to install the "Server Data COmponents" and one to install "Your Great Application".

This breaks the installer down in size and makes it easier to maintain moving forward. The big problem is that just like using Setup Types you have to get the user to read the screen and only install the options they should.

Hope this helps.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 158 guests