Page 1 of 1

What's the best way to do this

Posted: Thu Mar 16, 2006 9:25 am
by rkaine
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..

Posted: Thu Mar 16, 2006 3:37 pm
by CandiceJones
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.

Posted: Thu Mar 16, 2006 5:34 pm
by rkaine
I'll try...I'm not familiar with any of what you said, but I'll see what I can do...

Posted: Thu Mar 16, 2006 5:59 pm
by jimo
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.