solution is developed for x86 platform and framework 3.5...
i need to include pre-request setups in my offline project ...dot net frame work 3.5 , sql server compact server sp 2,windows installer 3.1 are the pre-request that the setup should check for and install if not installed in target machine...how to create setup with pre-request setups ?
Builded successfully...when i select pre-request without framework 3.5...... error occours only when i select framework 3.5
You can make use of the Launch conditions editor for specifying prerequisites on client machine. And you can package the rest and deploy it using one of two approaches: ClickOnce or Windows Installer. More on this here:
http://msdn.microsoft.com/en-us/library/e2444w33.aspx
Related
i created an Windows Service application on .Net Framework 4.6 and an installation setup of this project. When i compile my project in release mode, it creates setup.exe and my .msi file. Normally, in Windows 10, my setup.exe and windows service works perfectly. But when i try to run the setup.exe in Windows Server 2016, this image is emerging:
When i click "Accept" button, ofcourse, it cannot download the .net framework 4.7.2 on windows server 2016.
My project doesn't have any dependecies with .net framework 4.7.2 as far as i know. And i have installed first versions of nugets that i used. Can you help me?
Finally I fix the problem! Setup Project prerequisites was the problem. In my prerequisites
net framework 4.7.2 version is selected and somehow i couldn't see this! All my solution work perfectly when I changed target .net framework in there.
For more information:
https://www.gonnalearn.com/target-version-net-framework-launch-condition-version/
The last thing "Check the prerequisites" in this website was my solution :)
I need to check these things before i procedure with an installation:
Does target machine(tm) has installed .NET 3.5?
Does tm has installed IIS 6 (win xp) or IIS7 (win 7)?
To check which OP is installed the tm... If it is XP, i need to check does it have service pack 3 and is in both cases (xp or win7), is it 32bit or 64bit op?
Thanks in advance.
Use ClickOnce to Deploy your application
Goto Project Properties
Click on the Publish Tab
Add the PreRequisites like .Net 3.5,Sql Server etc
Publish Now
Else if you are using Setup Deployment Project, you need to write some script to know all these information.
If you are using ClickOnce you can develop small class to know the Service Pack etc
I have a windows mobile 6 application.For Application installation,Device require sql server ce and .net framework to run Application on the device...If a device has these Prerequisited Softwares already...the application will work.
If a device has no these Prerequisited Softwares [Sql server ce or dotnet framework to run the App] it wont work. So i need to install this also at the time of Application installation along with the cab.
How to Pack these Preqrequist Softwares with the cab file????
Or Any Other Solution to this...please help me on this...
I have added an image as i have in my application as of now....
The best way to try to include SqlServer CE and your .NET Framework files in your project is to mark your Application Project so that it includes all dependencies and include those files in your Setup Project.
That said, sometimes the installs work and sometimes they require a lot of debugging to make them work.
I am writing an SCVMM like VMM management agent to install it as a service on Windows server 2008 R2 only.
The agent is already been developed on Windows server 2008 R2 platform using .Net 4.0 framework, C#, VMM api, Visual studio. It just runs as service. System Center tools as also been installed to work with SCVMM.
I have used NANT and NantContrib to automate the build on development machine. But I want to automate build process of the agent on actual build machine where environment is Windows7 and some Java related JRE installed.
My question is, to automate the agent, Do I need to install on build server? .Net 4.0 is enough or Do I have install Windows System Center tools as well?
Regards,
Bala
Only if System Center Tools is required to build the solution. By the sounds of it from your question, System Center Tools is only required to install it. So I guess it depends if you're doing a pure build server or striving for continuous delivery..
If the build server will just generate an installer package and dump it to a file share somewhere, you shouldn't need to install any management tools on the build server. However if you also want to build server to automate deployment, these extra management tools might need to be available to it.
I have an WPF and SQL-Server Express based app which I want to deploy using VS-2008 setup and deployment project template. I have added Launch condition for Windows Installer 3.1, Sql Express 2005 and .Net FrameWork 3.5 with SP1 but they are not running in order. I mean:
Windows Installer checking
.Net Framework 3.5 sp1 checking
SQL-Server Express 2005 checking
When i built my project and ran on test machine (with Fresh XP installation only) it tried to install SQL-Server Express 2005 first and then failed for windows installer 3.1.
One more thing i want to know how i can run my DB script after installation of SQL-Server Express 2005.
How I can solve these 2 issues.
I don't think your question actually deals with LaunchConditions as the purpose of LaunchConditions is to prevent the installation of a Windows Installer package if certain conditions aren't met. What you are describing sounds morel ike prereq chaining although I'm not certain what tool you are using to author your install and thus which setup.exe to do the chaining.
I'd also look at putting MSI 4.5 in your chainer, MSI 3.1 is very old in the tooth and only applies to Windows XP these days as all newer OS's come with atleast 4.0.