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
7
votes
3 answers

How to move wpf application into minimize tray at Window Start-up C#?

I have created setup of my application using Windows Installer. Now I want to Start application at Windows Start-Up and move it system minimize tray as i don't want to display GUI(View) at Windows Start-Up. I have searched in Google and i found to…
user1584245
7
votes
2 answers

Visual Studio setup project: run CustomActions/process as current user not system account

I'm using a setup project in visual studio 2010 for a c# outlook add-in (Office 2010/2013) and an other standalone tool. During the installation I kill all instances of outlook, afterwards I want to restart an instance of outlook. In my addin…
Frederic Klein
  • 2,846
  • 3
  • 21
  • 37
7
votes
2 answers

VBScript will not execute correctly from MSI file

I have a VBScript I wrote that needs to be executed from an MSI file. The script correctly executes when I run it within Windows on its own, however, when I run it from the installer I get the following error as shown in the log file: Microsoft…
codewario
  • 19,553
  • 20
  • 90
  • 159
6
votes
1 answer

Register and unregister a DLL in a Windows Setup Project

I have couple of dll files that need to be registered/unregistered when a Windows installer is installed/uninstalled respectively. I tried the following - Created a .bat file to register the dll. The issue is I am not able to add a .bat file using…
user591410
  • 3,051
  • 5
  • 21
  • 30
6
votes
2 answers

How to add an Entire folder to Setup Project in Visual Studio 2008

The scenario is, I want to add a folder which contains several Document files containing instructions. How can I select an entire folder and it's contents to be included when Setup is run.
Shamim Hafiz - MSFT
  • 21,454
  • 43
  • 116
  • 176
6
votes
2 answers

Include c++ as pre-req, but says "A new version already exists"

I'm using the Visual Studio Setup project. If I go to the properties of the Setup project, it lets me choose which pre-reqs are required, at which point I choose the C++ Redistributable. On some systems, this works fine - but recently my users are…
bugfixr
  • 7,997
  • 18
  • 91
  • 144
6
votes
2 answers

Windows Service Setup Project

I’m trying to create a set-up project for a windows service. I’ve followed this tutorial and many others like it but, after installing my service, I still can’t see the service. I’ve added the primary output of the service to the application…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
6
votes
4 answers

How can I set application settings at install time (via installer class)

I have a Visual Studio setup project that has an Installer class. In the installer class I set a setting as follows: MessageBox.Show(Properties.Settings.Default.MySetting); Properties.Settings.Default.MySetting =…
Calanus
  • 25,619
  • 25
  • 85
  • 120
6
votes
1 answer

How can I create an MSI from a CAB file?

I need to push out a Crystal Reports Active X Print Control to my users, as they do not have access to their own machines to install it themselves. Ideally I'd like to do this via an MSI that I can push out via group policy. Below is the .inf file…
6
votes
1 answer

Setting Up ReactJS on .NET Core 2.0, InvalidOperationException

I'm in the process of creating a basic .NET Core 2.0 App [New]-[Project]-[.NET Core]->[ASP.NET Core Web Application (.NET Core)]-[Web Application (No Auth)] and trying to add ReactJS by following the tutorial here:…
6
votes
3 answers

Set write permissions for all users for my program folder

I have build a program in Visual Studio. The program creates a logfile and writes into it while the program is running. Therefore I constructed an installer (setup-project), that should set write permissions for my program-folder regardless which…
Rotaney
  • 247
  • 1
  • 3
  • 17
6
votes
2 answers

Setup Project is adding built in .NET Framework .System assemblies to output

I'm using VS Community 2015, with Setup Project extension. I've never seen this problem working with 2010. The problem is that when I add a project to the output, the Detected Dependencies list all dll's I've used in the project, including the…
Eternal21
  • 4,190
  • 2
  • 48
  • 63
6
votes
2 answers

Copying a file to a specific directory during installation using Visual Studio Setup Project

I have a file - say readme.txt that I want to copy or insert to a directory say C:\Documents and Settings\fooUsername\Application Data\BarSoftware during the installation of my program using Visual Studio's setup project - I know it is something…
Vidar
  • 6,548
  • 22
  • 66
  • 96
6
votes
3 answers

InstallShield LE 1001 Error / Installing Windows Service on Windows XP

I got a 1001 error and had fight a lot against it using InstallShield LE (Visual Studio 2013) to deploy a simple Windows Service on Windows XP. Sometimes the error happened, sometimes not.
6
votes
2 answers

How to remove Settings when uninstalling

My program is installed with a Visual Studio Setup project. The program, when run, creates a user.config file in its default location since I'm using Settings. When uninsalling, how do I get the uninstaller to remove that user.config file? Also, how…
configurator
  • 40,828
  • 14
  • 81
  • 115