Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > install "DotNetFrameWork 2 " before custom package
 

install "DotNetFrameWork 2 " before custom package

Hi All

I have setup project use "sql server 2005",
Sql Server 2005 need the DotNetFrameWork 2,

I use the "Bootstrapper Manifest Generator" program to create custome package from "Sql Serevr 2005",
when I install my program the "custom Sql Server 2005" try installing befor "DotNetFrameWork 2 " and display th message to need DotNetFrameWork 2

I need : how make to install "DotNetFrameWork 2 " befor "custom Sql Server 2005"

please help me

Ora-dbaabode  Tuesday, August 18, 2009 3:11 PM
I don't believe SQL Server 2005 is intended to be installed in that way (and if you are re-distributing SQL Server 2005 in your setup that's unusual, and maybe not allowed. SQL Server 2005 is a separately licensed product).

SQL Server 2005 is actually a collection of separate setups, not one single MSI product, and it has a lot of infrastructure surrounding the setup that tests for prerequisites.

Or do you mean SQL 2005 Express?
Phil Wilson
PhilWilson  Tuesday, August 18, 2009 5:49 PM
SQL 2005 Express
Ora-dbaabode  Tuesday, August 18, 2009 7:38 PM
Use the Prerequisites button in the project properties to create a setup.exe that will install frameworks and SQL Express before it installs your MSI file. SQL Express is one of the standard ones in the list.
Phil Wilson
PhilWilson  Wednesday, August 19, 2009 6:29 PM
Note :the standard SQL Server is not has fuul options

I find the Answer by useing "Bootstrapper Manifest Generator" program option


Ora-dbaabode  Wednesday, August 19, 2009 10:46 PM
I thought you said you were deploying SQLServer Express. You can NOT deploy the full-blown SQLServer as a prerequisite. SQLServer Express should show up in the prerequisite list already. As Phil noted, go to the properties for your main project, click on the Publish tab and then click on Prerequisites.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, August 20, 2009 5:22 AM
when select SQLServer Express from Prerequisites the SQLServer Expresshas not full Option
Ora-dbaabode  Thursday, August 20, 2009 10:26 AM
What does that mean, it doesn't have the full option?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Friday, August 21, 2009 1:20 AM
Yes , it doesn't have the full options ,the attach opration not complated when use 'SMO' with vb 2008
Ora-dbaabode  Saturday, August 22, 2009 8:26 PM
What kind of SMO commands are you trying to run, and are you sure they are supported with SQLServer Express?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 3:37 AM

        Dim TestServer As New Microsoft.SqlServer.Management.Smo.Server

                TestServer.AttachDatabase("Almfed", General_Module.Get_DataBase_Collection_Files)

Ora-dbaabode  Friday, September 04, 2009 8:19 PM
Does that work when you run it in Visual Studio? Are you deploying your application as a Full Trust application?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Saturday, September 05, 2009 4:37 PM
Sorry Robin

what is Full Trust application ?
Ora-dbaabode  Saturday, September 05, 2009 6:22 PM
Sorry, thought you were using ClickOnce, but you're using a setup & deployment package. So back to the first question. Does the SMO command work when you run your application in Visual Studio?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Sunday, September 06, 2009 2:54 AM

Yes ,I didmake small Vb 2008Application to attach my database during setup with custom actions

Ora-dbaabode  Monday, September 07, 2009 12:43 AM

You can use google to search for other answers

Custom Search

More Threads

• Problem with not replacing content files that have been modified in reinstallation
• how to refer external entities in main cofiguration file
• Redirecting from win forms to web forms
• Registering Components At Installation Time
• unable to uninstall files installed by VS
• Keeping settings between Clickonce updates
• editing the *.exe.config.deploy file
• Installation Question
• License agreement in setup
• ComboBox control in dialog (WiX)