setup-deployment

Setup Project for Visual Studio

折月煮酒 提交于 2019-12-04 18:20:13
If I right click the setup project and go to "User Interface". We will see "Start". if I right click and choose "Add Dialog" At Add Dialog, Choose "Customer Information" If I go to the properties of "Customer Information", there is a tab called "Serial Number Template". It is to check whether the correct number is typed in when the program is installed. I m not sure how does it work. Anyone? I don't really know what your question is. Yes, the "Serial Number Template" allows you to add a form to your setup program that verifies whether the user has entered a valid serial number and if the

How to deploy classic asp website?

痞子三分冷 提交于 2019-12-04 17:58:02
I would like to know how to deploy or what are the steps that are involved to deploy a classic asp website in IIS 6/7 Can we create an installer for the existing project? Copy the files to the virtual folder. If you have any depending dll's or exe's make sure to install them too. As you said you may have to create an installer that will do this works to you. There is a lot of installers out there, like Inno Setup and Windows Installer. You should consider using Web Deploy http://www.iis.net/download/WebDeploy , it can deploy your ASP applications, setup the IIS application and other settings

Publishing C# console application

坚强是说给别人听的谎言 提交于 2019-12-04 17:16:33
问题 I have developed a C# console application using VS2010. Now i would like to make it into a setup.exe. Is it possible to have this setup.exe as a standalone file to run my program? Meaning how can i achieve in obtaining setup.exe that when i click on that file it will run my console without even opening VS and without the need of my project folder on the workstation. I have tried numerous time doing myself but failed up till now. Some advice please. Thanks, 10e5x 回答1: You can publish it. Go to

VS 2010 BootStrapper for WIC (Windows Imaging Component) before .Net 4 installation in XP

自作多情 提交于 2019-12-04 16:04:57
I have created a setup and deployment project for my .Net 4 app in VS 2010. In my prerequisites i have checked .Net4 prerequisite but i have learned that .Net4 has left out WIC (Windows Imaging Component) to make it light. When i run my setup in Vista/Win7 the Net4 installation does not give error for WIC but when i install it in XP it gives error for WIC. Then i have to install WIC manually first and then run my setup. I need a bootstrapper for WIC which runs before .Net4 installation in XP. Please suggest how it can be done or a link for it. Thanks in Advance. I've faced this annoying

How to deploy an SQL Compact Edition database file (.sdf) in the AppData folder? Connection string?

陌路散爱 提交于 2019-12-04 14:56:01
I'm planning to deploy my DB file in the Users\CurrentUserName\AppData folder, because default User Account Control settings restrict write access to the Program Files directory where my program is installed. First question - is this correct? So far, I've created a custom folder, set the DefaultLocation property to [LocalAppDataFolder][ProductName] , and put the .sdf file in that folder. This works in Windows 7, but it doesn't seem to work in Windows XP - I can't find any sign of it being deployed anywhere. So where and how should I deploy the DB file? I'm also unsure how to set the connection

How do you package a VSTO Word addin for deployment (to Office 32 bit) using WIX?

回眸只為那壹抹淺笑 提交于 2019-12-04 09:48:13
问题 I developed a VSTO Word add in in VS 2017 Pro. Works fine, ready to deploy. However, I cannot find a working procedure for packaging my VSTO Word add in for use on machines other than my development machine. For any particular machine , I need to deploy it once and have it available for any user who may login using their account. First came across this, but it involves using InstallShield Limited Edition which, apparently is no longer available for VS 2017. Tried this but it a few of its

Visual Studio Setup Project - Remove files created at runtime when uninstall

我的梦境 提交于 2019-12-04 05:33:56
问题 I am creating a C# .NET WinForms application and I am creating the installer as a Visual Studio setup project. On Windows 10, I can remove the installed files in the control panel. However, during runtime my application creates a folder containing log files, and this folder and the log files are not removed when the app is uninstalled. How can I make these files also be removed when the program is uninstalled? 回答1: You can use a custom installer action to perform custom actions during

How to set “Run as administrator” flag on shortcut created by MSI installer

三世轮回 提交于 2019-12-03 20:53:28
I have a Setup and Deployment project in Visual Studio 2010. I would like the installer to create two shortcuts to the executable of another project in my solution. One normal shortcut that simply runs the application using current credentials and another which has the Run as administrator flag set, thereby ensuring that the user is asked for credentials with administrative rights when clicking the shortcut. Running the application with administrative rights enables certain features that are otherwise not available. Setting this flag doesn't seem to be possible at first glance. Can this be

Publishing C# console application

谁说胖子不能爱 提交于 2019-12-03 11:12:29
I have developed a C# console application using VS2010. Now i would like to make it into a setup.exe. Is it possible to have this setup.exe as a standalone file to run my program? Meaning how can i achieve in obtaining setup.exe that when i click on that file it will run my console without even opening VS and without the need of my project folder on the workstation. I have tried numerous time doing myself but failed up till now. Some advice please. Thanks, 10e5x You can publish it. Go to your solution explorer. Right click on it. publish the application. After finishing the publishing wizard,

How to set the publisher name for a Windows Forms application

江枫思渺然 提交于 2019-12-02 15:55:06
I have created the setup of a Windows Forms application. After installing this setup in Windows 7, it displays something like this: Name: my application.exe Publisher: unknown publisher Type: application From: my application.exe I want to set the publisher name. How do I set the publisher name? Hand-E-Food You need to digitally sign the output code. I can start you off with the article Signing and Checking Code with Authenticode . The whole purpose of this is to guarantee your code has not been tampered with. If you purchase a code signing certificate from one of the certificate authorities,