Questions tagged [setup-project]

Programs used to create installers are generically called setup projects. In most cases you are probably using a tool (on Windows examples are Visual Studio, InnoSetup, WiX, Advanced Installer, Wise, InstallShield) to create the setup, so a more accurate and useful tag would be one for that specific tool.

Because the requisite process varies for each program and each computer, many programs (including operating systems) come with a general-purpose or dedicated installation program called an installer–a specialized program which automates most of the work required for their installation.

The program which create installer are setup project.

1630 questions
4
votes
2 answers

You are currently using tooling API version 2.2.1. You should upgrade your tooling API client to version 3.0 or later

I have created gradle project from here and while importing Gradle(STS) from eclipse I am getting error and image of error log is So, I am not able to import my project. any suggestion?
Lokesh Kumar Gaurav
  • 726
  • 1
  • 8
  • 24
4
votes
1 answer

Variables in Shortcut Arguments ignored for Visual Studio setup project

I was looking for an alternative for an uninstall in a setup project (while reading this) and tried the following, which sadly fails: I made a Setup Project for a dummy application in C#. I added the output from its build and an Uninstall.bat file…
MPelletier
  • 16,256
  • 15
  • 86
  • 137
4
votes
0 answers

hide warning on removing the directory

I need to hide the warning message that pops up when I try to delete the directory which contains files in a Visual Studio setup project. How do I do that?
Bogdan Verbenets
  • 25,686
  • 13
  • 66
  • 119
4
votes
0 answers

ERROR: File 'Microsoft.Management.Infrastructure.Native.dll' targeting 'x64' is not compatible with the project's target platform 'x86'

EDIT: I tried this question, but neither methods given in the answer worked. I cannot create two different MSIs since I get the error that is the title of this question, and I tried Advanced Installer, only for my 32-bit virtual test machine to tell…
DevOpsSauce
  • 1,319
  • 1
  • 20
  • 52
4
votes
1 answer

Visual Studio Setup project should not delete file during uninstall

I created Visual Studio 2005 Setup project for my application. Windows Installer during installation put one xml file into AppData/myCustomFolder. I used File System Editor and added special folder - user's app data folder, then included that xml…
Akim Khalilov
  • 1,019
  • 4
  • 16
  • 31
4
votes
1 answer

Fast deletion of files in a Setup project

I am maintaining a Setup project under VS2008. The project contains thousands of files arranged in a hierachy of folders. Every now and then, I want to renew part of this hierarchy, which means deleting a number of nodes and reinserting the new…
user1196549
4
votes
0 answers

This setup requires the .NET Framework version 4.6

I created a window service and a setup installer as described in the article How to create a setup project for a Windows Service application in Visual C# but I was using with Visual Studio 2015. And when I tried to install the service, I got…
4
votes
0 answers

Project Installer Not using App.config Transform from Project Output

I'm using the Visual Studio 2013 Project Installer extension. In my installer project, I am selecting to use the Primary Output from another project, called the Program Project. The PP is a console application that has an app.config with transform…
duyn9uyen
  • 9,585
  • 12
  • 43
  • 54
4
votes
3 answers

Android Studio default New Project Wizard Missing

I closed my android studio. Opened it the following day and the default simple new project wizard window was gone, instead its a lousy NewProject dialogbox/ wizard with java, gradle, groovy, griffon, static web, & empty project options on the left.…
v.bushe
  • 41
  • 4
4
votes
1 answer

How do I obtain the version information for my Windows Service programmatically

I need to obtain the version of my Windows service programmatically and store it in a string. Then, I'll append the version to my display name and service name in the ProjectInstaller class. Right now I'm getting an empty string and I'm having…
jmac
  • 245
  • 5
  • 21
4
votes
3 answers

How to add application folder to %PATH% after installation (VS Setup Project)

I'm looking for a easy way to include application installation folder to a %PATH% environment variable after installation is complete. Visual Studio 2005/2008/2010, Setup Project. Thank you
4
votes
2 answers

can't run migrations. Table doesn't exists

I am trying to set up a Rails app in new workstation. But when I try to run the migrations it throws error. **rake aborted! ActiveRecord::StatementInvalid: Mysql2::Error: Table 'test_rb.roles' doesn't exist: SHOW FULL FIELDS FROM…
Suganya
  • 701
  • 1
  • 9
  • 27
4
votes
1 answer

How to package .Net framework in Visual Studio project?

I have created a C#/.Net application using visual studio. I have also created an installer project that puts out two files: An MSI file Setup.exe file In my installer project properties I have setup .Net 3.5 as a prerequisite. What I would like…
Raj
  • 2,852
  • 4
  • 29
  • 48
4
votes
1 answer

Close Office applications (Word, Excel, Outlook) before install an Office 2007 Add-in

How can I close any Office 2007 running application like Word,Excel,Outlook before installing an Office 2007 Add-in in a Visual Studio 2008 Setup Project? Thanks! Martin
Martin
  • 253
  • 3
  • 8
4
votes
2 answers

Launch Condition to Detect Office 2010 Applications

I was trying to create a setup project using VS2008. Is there anyway to detect if a particular Office 2010 application is installed or not? (as a prerequisite) .eg: i want to detect if Powerpoint 2010 is installed on client machine. I was…
Amitd
  • 4,769
  • 8
  • 56
  • 82