setup-project

Add prerequisites/dependencies to VS2008's Setup Project options?

旧巷老猫 提交于 2019-12-11 11:49:16
问题 VS2008's Setup Projects have a handful of built-in prerequisites (e.g. .NETfx version, VSTO, PowerPacks) which you can simply check off to have the bootstrapper ensure they are installed. But what about other dependencies you might want to add, like the SQL Native Client (only available as an MSI, not as merge modules) or the ODBC Data Provider for .NET? Is there a way I can add these dependencies to a Windows Installer Setup Project? EDIT: M$ has provided a couple newer bootstrapper packages

Get user input during installation using setup project and use it in installer

感情迁移 提交于 2019-12-11 10:48:00
问题 I have created an installer to install a windows service. Installer should ask user to name the service. Hence, I have created a custom UI in the installer with TextBox . When user runs the setup.exe file, installation starts and the custom UI shows up. User adds the name for the windows service but how shall I take the ServiceName as user input during installation and set default service name into service name provided by user during installation in that custom UI. 回答1: You need to follow

How can I validate custom dialog input in a .NET Installer class?

做~自己de王妃 提交于 2019-12-11 10:18:07
问题 I have a VS 2010 Setup project. In the setup project I have a custom dialog, and a custom action. Both work, I can even debug my custom action and it receives correctly the input the user provides in the custom dialog. I would like to validate user input and only allow user go to next step if the input is valid. I can show a messagebox with MessageBox.Show, but how can I prevent to go to the next step until the user corrects the input? public override void Install(IDictionary stateSaver) {

Files in AppdataFolder not visible for all the users -Wix

老子叫甜甜 提交于 2019-12-11 09:43:30
问题 i have developed an addin where its setup was build using wix.When the setup being installed i need to have many files like helpdocument ,logs and Mainly Templates in that appdatatfolder .The files and folder will be automatically created when the setup got installed. My need is Initailly my problem is, this folder and files are created only for user who installed the setup.But i want these folder and files visible for all the user including admin. That file and folder contains templates,here

How do I remove tray icon on application uninstall in C#

只愿长相守 提交于 2019-12-11 08:25:33
问题 I have an application with tray icon. I am using notifyicon to do this job. I have created its setup in Visual Studio which installs and uninstall the application. Problem is when I uninstall the program, its tray icon is not removed and even after the program has been uninstalled, I can click on the icon and start the app even though its .exe file from back end has been deleted by the uninstaller. 回答1: The usual approach is to create in your tray application a background thread which will

Burn setup project to CD

筅森魡賤 提交于 2019-12-11 06:16:10
问题 I've never burnt a visual studio program to a CD before. I've made a setup project with all my program files, and it works fine. Do I simply need to burn the following installer files onto the CD and give it to someone? The installer is a folder containing: -DotNetFX35 (Folder): Contains .net requirements for my program. -WIndowsInstaller3_1 (Folder): WindowsInstaller-KB893803-v2-x86.exe -setup.exe -My Installer.msi Sorry for the seemingly easy question. I'm double checking as I have one CD

An exception occurred in the OnAfterInstall event handler

蓝咒 提交于 2019-12-11 05:14:29
问题 NOTE: I have researched this issue for the past 2 days, I have seen very similar questions and answers but none have resolved my situation, therefore I am posing this question here after thorough research. I created a windows service and setup project in VS2013. Everything was working fine and the installer was working fine. I had an issue with the service not starting on the deployment machine because it could not find the .dll file it needed. While working on that, another issue started

VS 2010 Setup Project - Installer when upgrading doesn't update the .exe or .config files

馋奶兔 提交于 2019-12-11 05:08:39
问题 I have a problem with an application installer compiled in VS2010. Version 1.1 installs fine, I get the .exe, .config and referenced assemblies. I uninstall, then install 1.2. Again everything works as expected. Uninstall, the install 1.1 again. Next I install 1.2, the installer updates the referenced assmeblies (I can see the modified date is different) but not the .exe or the .config. Is there something I'm missing config wise in the setup project? Thanks Sam 回答1: You'll want to read:

Error with Microsoft.Management.Infrastructure.Native.dll in setup project?

99封情书 提交于 2019-12-11 04:49:47
问题 I have a windows application in which I have used below dll - Microsoft.Management.Infrastructure.Native.dll Now when I create setup project and right click on Application Folder > Add > Project Output . It adds automatically some dlls that is being used in application. But it shows a red line below the Microsoft.Management.Infrastructure.Native.dll and because of that I am unable to create my setup project. What is the solution of this? Thanks 来源: https://stackoverflow.com/questions/45504401

Where and how, to find the installer file after creating and adding set up project to a solution having a windows application?

喜欢而已 提交于 2019-12-11 04:20:04
问题 HI, I have a windows application in C#. I created and added a set up project to this solution. Then, built the solution. I refered to this link http://www.codeproject.com/KB/install/SetupAndDeployment.aspx . I even added the shortcut of " Primary output of my application " to "User's Desktop" folder. But I am not able to find the installer file in Desktop, so that I can "double click" this installer file and install my Windows application. KINDLY HELP ME WITH THE PROCEDURE THAT NEEDS TO BE