setup-project

create setup for the project solution in visual studio 2008

早过忘川 提交于 2019-12-22 18:14:20
问题 So my final query for my payroll application is - How can I create a setup for payroll application? All I need to know- How will I add setup project to my existing solution How to add files from solution to setup project and what files to be added and in what folder (i.e. there are three folder by default application folder,user desktop,user start menu) what will be the resultant file that will serves an exe file for payroll application I have read below tutorial but I am not getting the real

How to remove Settings when uninstalling

被刻印的时光 ゝ 提交于 2019-12-21 12:27:26
问题 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 do I cause the uninstaller to remove a folder in %AppData% ? 回答1: You will need to write a custom task for that - by default (and design) the installer will only remove what it installed, anything that added afterwards is not part of the install

Specify Windows Service Name on install with Setup Project

假如想象 提交于 2019-12-21 03:37:18
问题 Objective: In support of a Windows Service that may have multiple instances on a single machine, use a Setup Project to create an MSI capable of: Receiving user input for Service Name Installing service Serializing Service Name from 1 (so that the proper name can be used in logging and uninstall) My initial hope was to set Service Name in App.config (and then retrieve it during uninstall upon instantiation of the ServiceInstaller. This seems to have been naive, because it is not accessible

How do I fix 'Setup project with custom action file not found' exception?

﹥>﹥吖頭↗ 提交于 2019-12-20 11:14:04
问题 I am trying to create a setup project for a Windows Service. I've followed the directions at http://support.microsoft.com/kb/816169 to create the setup project with no trouble. I want to be able to get a value during the installation in order to update the app.config with the user's desired settings. I added a Textboxes (A) dialog to retrieve the values. I set the Edit1Property property to "TIMETORUN", and in my Primary Output action's CustomActionData property I put in the following:

Best tool to create MSI [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-20 10:39:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am new to setup project creation. Now I am using Visual studio 2008 to create setup file (msi) for my project. I am quit uncomfortable in creating my own custom forms in the installation wizard as well as upgrading an existing version of my project to a new version. Is there any other alternatives to create

How to merge Setup.exe, Setup.msi and .NetFramework prerequisite in a single installer?

ⅰ亾dé卋堺 提交于 2019-12-20 03:33:14
问题 How can the setup files and prerequisite files from a vs2010 setup project be merged together? ..in my release directory there are 3 files: setup.exe Setup1.msi DotNetFX40Client/dotNetFx40_Client_x86_x64.exe and I need these files to be in one simple setup file. I tried using IExpress tool from windows but it doesn't work because "dotNetFx40_Client_x86_x64.exe" is inside a directory, and the tool does not support it. Is there any way to make setup.exe look for the .net framework prerequisite

Include folder in setup project

余生长醉 提交于 2019-12-18 15:53:32
问题 I want to include a folder in a setup project so that when I deploy that setup the complete folder is also deployed to the install location. 回答1: Right click the setup project, and select "View" > "File System", and from there you can access a lot of special folders like install folder, appdata, desktop etc, and add files to there, that will be created when you install the application. Make sure to set the "alwayscreate" property to true. 回答2: The answer is good because it gave me clue on how

How to add additional custom window to VS setup projects UI flow

戏子无情 提交于 2019-12-18 09:25:44
问题 I'm using a VS 2008 setup project to deploy my application to client computer. Now I need to add custom UI Window to get some information form user for set up process. As example, there should be a form to enter user information after click next button of the destination folder search window. How can I do this? 回答1: If you want to get user input using custom UI during the MSI deployment best approach is to create the .wid extension files. this is the type of UI files that you see during the

How to handle checkbox controls in windows installer?

独自空忆成欢 提交于 2019-12-17 21:32:31
问题 I am using Visual Studio 2008 to create a setup project. I want to create a file which will contain values of the checkboxes which are selected by user during installation. How and where to write the code for the same? I am new to windows installer. Please provide me pointers for the same. Thank you in advance. 回答1: You can easily do it with installer class. First of add installer class to your setup project. Go to Add > Add New Item > Select Installer class Create a Window Form with radio

Advertised shortcuts vs. non-advertised shortcuts in windows setup project

六月ゝ 毕业季﹏ 提交于 2019-12-17 15:53:53
问题 I cannot understand what is exact consequences of using attribute Advertise in Shortcut attribute. What is the diffirence? 回答1: Advertised shortcuts are used by advertised features: when a feature is installed as advertised, it is only registered with Windows Installer; it's content is not actually copied on the machine when launching an advertised shortcut which targets something in this advertised feature, the feature content is finally copied on the machine So advertised features and