Questions tagged [setup-deployment]

Microsoft Setup and Deployment Wizard for Visual Studio or the .NET framework

API documentation

Related links

820 questions
3
votes
3 answers

Deployment kit suggestions

I wrote some application under .Net 4.0 and I am looking a way to deploy it. I am after some kit that will be able to: Put my files in some predefined folder, Create all needed short cuts Insert my application under the programs menu. Ideally…
Night Walker
  • 20,638
  • 52
  • 151
  • 228
3
votes
5 answers

How to set "Run as administrator" flag on shortcut created by MSI installer

I have a Setup and Deployment project in Visual Studio 2010. I would like the installer to create two shortcuts to the executable of another project in my solution. One normal shortcut that simply runs the application using current credentials and…
3
votes
0 answers

InstallShield MVC2 Application deployment on IIS

I want to be able to deploy a MVC2 application as a web application on IIS using the installshield. When I try to deploy the application it just simple copies the whole solution to IIS instead of converting it to a web application. I created an MSI…
3
votes
1 answer

Execute an script/application after installing (using VS Setup Project)

I need to execute a Console Application script after installing my application. Depending on the Windows version, it adds some data to the Registry. How can I do this using a Visual Studio Setup Project? Note: I'm saying after because I read in How…
Oscar Mederos
  • 29,016
  • 22
  • 84
  • 124
3
votes
1 answer

Window Installer custom actions fails, says the custom action failed even though it succeeded

I have a Visual Studio setup and deployment project that runs a couple executables after the commit custom action. The installer fails with this error: "There is a problem with this Windows Installer package. A program run as part of the setup did…
Drew
  • 12,578
  • 11
  • 58
  • 98
3
votes
2 answers

Deploy pre-compiled ASP.net Website Project

I have a precompiled website in the precompiled folder inside the Projects directory. I want to deploy this website onto IIS7.0 Can anyone guide me how to do that.
Piyush
  • 886
  • 3
  • 9
  • 28
3
votes
1 answer

Can i set dynamically the name of a shortcut while deploying with the VS Setup Deployment Project?

i would like to publish my application with a name (and desktop shortcut) based on a config file. So can i dynamically set the name of a shortcut while deploying with the VS Setup Deployment Project? PS. I mean, we have also the pre-build and the…
3
votes
3 answers

pre compile website in Setup & Deployment

Every time I use Setup & Deployment to create a new Web Setup, and run it (after edit all the nice things in the properties), the output is always a copy of the Web Site project... How can I output a PreCompile version of the WebSite project? What I…
balexandre
  • 73,608
  • 45
  • 233
  • 342
3
votes
1 answer

How to deploy an SQL Compact Edition database file (.sdf) in the AppData folder? Connection string?

I'm planning to deploy my DB file in the Users\CurrentUserName\AppData folder, because default User Account Control settings restrict write access to the Program Files directory where my program is installed. First question - is this correct? So…
3
votes
3 answers

Windows application setup - update and Database schema changes

I've one windows application which uses sqlite DB. I've created a setup for this application using setup and deployment project. I may have to make builds every other month with changes in the application and user has to update it. My application…
JPReddy
  • 63,233
  • 16
  • 64
  • 93
3
votes
1 answer

Deployment project uninstall - deleting files?

I have a project and deployment project that installs it. The software installed generates several files on the target PC (while used by the user). I was wondering if there was a way to instruct the Deployment Project to delete those files when…
David Božjak
  • 16,887
  • 18
  • 67
  • 98
3
votes
0 answers

Visual Studio Setup and Deployment Projects - Web Setup Project and IIS

I am creating a Web Setup Project using Visual Studio 2013 to create a MSI installer for an ASP.NET Web API project. I am using this extension from Microsoft that brings these projects into VS2013. I am trying to understand what the Web Setup…
3
votes
1 answer

Change destination file name in VS SETUP project

How can I change the file name on the destination folder in a VS setup project for primary output?? Thanks
Josh
  • 13,530
  • 29
  • 114
  • 159
3
votes
4 answers

Setup and Deployment of web application

I have an a web application I like to distribute and install, with Apache web server (xampp), SQL Server Express. I am really new in setup and deployment of application. And I just begin reading on windows installer, wix, innosetup which requires…
Jackie
  • 494
  • 7
  • 14
3
votes
1 answer

How to create a runnable setup out of bootstrapper packages?

I would like to install a .NET 4.0 application on the user's machine that does not meet certain prerequisites. I need to be able to define the installation order of these prerequisites in my installer, because they depend on each other (.NET 4.0,…