I wanted to deploy my application which uses crystal reports and SQL Server express.
How can create an installer which can create the databases and configure the app.config files on installation?
ClickOnce will not allow you to easily run db scripts upon installation. You will have to use a VS Setup project or a tool like InstallShield that provides much more control over the install process..
Related
I would like to create my setup to install my application developed in VS 2012. The application needs to be installed in Program Files folder, so it needs to always run with administrator rights. I have created a new InstallShield project inside my solution, but I don't know if it is possible to set some settings to allow that exe always runs as administrator.
I'm using the InstallShield 2013 Limited Edition
You can only manifest an EXE to indicate to Windows that the EXE requires administrative privs. You can't simply bypass windows security.
I have created a custom tool within a Visual Studio 2012 "Package" project and am distributing it via a .vsix file. Everything works great but the custom tool is not registered unless I run "devenv.exe /setup". Is there any way around this? I was under the impression (and it seems to be confirmed by the EF team) that this only needed to be done when installing using an MSI.
We have a TFS 2008 server used for source control, and a build agent connected to it that handles our continuous integration.
I'd like to be able to set up builds for projects that were created in a later version of Visual Studio, like 2012, whilst still being able to build projects that use Visual Studio 2008 (For example, we've some Windows Mobile code that we need to support)
Should this "just work"; do I need to install a separate build agent, or do I have to upgrade everything (and if so, for do I keep the Windows Mobile code building)?
As was said you need to use the same version of the Build Agent as TFS (with the exception that TFS 2012 also supports 2010 build agents).
However, you can still install any version of Visual Studio supported by your build server OS. So even though you are using 2008 Build Agent, you should be able to install Visual Studio 2012 and build projects with it.
The build agent/controller needs to be of the same version as the TFS server itself - you can't just upgrade the build controller (wee tried this before upgrading from 2010 to 2012).
So, if I read the compatibility matrix right, you will have to upgrade your environment.
I have visual studio 2012 express for web, now I need to make a desktop app, need I to download visual studio 2012 express for desktop or is there any addon I can install on web edition?
thanks
You can create Class Library projects in the web edition of Visual Studio Express, change the Output Type in the project properties to Console Application or Windows Application, add any library references you'd need (particularly for the Windows application, as none of the forms stuff will be included by default), and go from there.
This works well for console applications, but I imagine you're going to run into issues with Windows applications. The project templates are nonexistent, so you're on your own for setting things up from scratch. The forms designer probably isn't there, or if it is probably won't work as expected. And this won't work at all for Windows Store applications.
It's a lot easier to just download both editions and run them both. I've been running Web, Desktop, Windows 8, and Database editions side-by-side for a while now without problems.
need I to download visual studio 2012 express for desktop
Yes, you do.
That's part of the limitation of express editions.
I have a c# application that publishes to a server using click-once, so our company clients can run it. I upgrade my visual studio from 2010 to 2012. every thing is great so far and clients can run the application normally after my publishes.
then I add a report viewer Item to my application and it runs on my pc well. but after publishing the clients face this error:
unable to install or run the application. the application requires that assembly microsoft.reportviewer.ProcessingObjectModel version 11.0.0.0 to be installed in your GAC.
what should I do now, I search a lot but cant find a solution.
thanks.
You will need to add the report viewer as a prerequisite. Here is a link to MSDN that describes what is needed.
http://msdn.microsoft.com/en-us/library/ms251723.aspx