setup-deployment

dotnetInstaller should terminate on failure of registry check

爱⌒轻易说出口 提交于 2019-12-11 17:38:43
问题 I have very basic requirement of terminating the installation process on failure of finding registry key, during execution of dotNetInstaller bootStrapper. I am installing WebApplication and want to fail the installation on absence of IIS. But it is not working. Here is my Configuration File. 回答1: An install check doesn't terminate anything, it informs the bootstrapper on whether the component should or should not be installed. Terminating the installation based on some condition isn't

Can't install the project after added Prerequisites NET 4.6

吃可爱长大的小学妹 提交于 2019-12-11 12:12:42
问题 I used Visual Installer project to deploy. After I added .NET 4.6 components to my project and built it, I didn't got click to install option, to check this in Visual studio. But after deleting this everything worked again. 回答1: Download Prerequisites : I would set the prerequisite to download from the vendor's web site - that is the first option of those 3 in your screen shot - at least in my English Visual Studio Setup Project. I don't read Russian / Cyrillic I am afraid. Those letters

send update using setup project VS2010

痞子三分冷 提交于 2019-12-11 10:46:09
问题 An windows application is build in c# and installer for first version is build using visual studio installer-setup project . following setup project properties are set: DetectNewerInstalledVersion : True InstallAllUsers : True ProductCode : //product code RemovePreviousVersions : True UpgradeCode : //upgrade code Version : 1.0.1 Key point is setup size of first version is approx. 650MB and alredy installed on client machines. Application shortcut is created for each users. Now I want to send

Setup project, SQL compact 4 prerequisites

一个人想着一个人 提交于 2019-12-11 06:43:30
问题 I have created a setup project in my application in order to include SQL compact 4 in the installation, as a prerequisite downloadable at the vendor's site (microsoft). I did everything thourg Visual Studio 2010 console (with SP1). Now, when I try to install the package, the setup doesn't realize that SQL compact is installed. Why? I don't want to use any other form of private deployment like copying the dlls and including them into my project. Thanks! 回答1: Most likely the prerequisite is not

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

Auto Start Windows Services through Installer in VS.Net 2008

孤街浪徒 提交于 2019-12-11 03:54:32
问题 I have installed Windows Services using Setup and Deployment Wizard. I have successfully installed Services with the help of link http://msdn.microsoft.com/en-us/library/zt39148a%28v=VS.90%29.aspx .But when I go to services(Services.msc) I see that services status is not available(blank).It needs to be Started.Rather it should autmoatically start as above. 来源: https://stackoverflow.com/questions/7495225/auto-start-windows-services-through-installer-in-vs-net-2008

How to change Setup.exe icon when publishing through clickonce

試著忘記壹切 提交于 2019-12-10 18:18:46
问题 Is there any way to set custom icon for setup.exe file when publishing through VS for click once publish. Always after publishing, I am getting setup.exe file and with the icon (kind of black disc image) but after installing the application, I can see my custom logo on the startmenu,ctrlpanel. 回答1: I'm not aware of any way to change the icon BEFORE building the project so that once the ClickOnce is deployed it already has the icon, however you can edit the setup.exe icon AFTER deployment

Stop the installation from a custom action

拈花ヽ惹草 提交于 2019-12-10 11:45:21
问题 Is it possible to exit msi installar from a custom action without errors? I am using visual studio setup project to create the msi and I have added a custom action exe to install. If I return a value other than 0 from exe it terminate the installation. But it shows an error. I need to exit installation without showing errors. Thanks. 回答1: Finally I found a way to do it using a vbscript custom action from http://chensuping.blogspot.com/2013/05/windows-setup-project-vbs-custom-action.html. 回答2:

C# - windows service installer not registering service

一曲冷凌霜 提交于 2019-12-10 02:08:17
问题 I'm trying to use an installer for a Windows service, and would like to avoid using InstallUtil.exe. The installer appears to work correctly (the executable and dlls are in the correct directory), but the service doesn't appear under Computer Management. Here's what I've done so far: The service class name is the default - Service1. In the Project installer, the ServiceName of the service installer matches the class name - Service1. Under the Custom Actions, the primary output of the service

version of .net framework launch not match .net framework bootstrapper project

微笑、不失礼 提交于 2019-12-10 01:59:20
问题 When I build the release project of the vb.net 2010 I just started using, I get two warnings: the version of the .net framedwork launch condition does not match the selected .net framework bootstrapper package. Update the .net framewk launch condition to match the version of the .netfrk selected in the prerequisites dialog box. The target version of the .net framework in the project does not match the .net framework launch condition version .net framework 4 client profile. Update the version