deployment-project

how to deploy a project on client's computer?

戏子无情 提交于 2019-12-24 07:22:33
问题 I have a built a . net application using visual studio . This application is coded in C# and uses SQLSERVER for database purposes(storage,retrieval and manipulation of data). Please tell me how to give this application to client ? Do I have to install .net framework on client's computer..? Do I need to install complete sqlserver on client's computer to access database? or giving the .exe file to client would be okay to solve the purpose..? help please... 回答1: client needs .Net, SQl-Server and

Create shared folder accessible from domain with C#

久未见 提交于 2019-12-11 14:08:57
问题 I'm doing a Deployment Project in VS2008, and at the end of the installation flow I need to create a shared folder with Full Control permissions to Everyone on the local machine accessible from a company domain. I succeeded to create the shared folder, but Everyone has read access. Any help on how to do this would be appreciated. Thank you, Valeriu 回答1: I assume you're using the ManagementClass to create a shared folder. Setting the Access field of your ManagementBaseObject should give full

Install directory from deployment projects

元气小坏坏 提交于 2019-12-01 20:33:19
问题 I'm developing an application and I'm going to deploy it with the help of a deployment project (which is gonna create an installer). At one step in the installer, it will allow the user to change the installation folder for the application. I need to know what this folder is because there will be some files saved there that I need to use from another DLL file. How can I programmatically get this installation folder? Thank you! 回答1: Take a look at the Installer class. Add a new class derived

Install directory from deployment projects

删除回忆录丶 提交于 2019-12-01 20:14:30
I'm developing an application and I'm going to deploy it with the help of a deployment project (which is gonna create an installer). At one step in the installer, it will allow the user to change the installation folder for the application. I need to know what this folder is because there will be some files saved there that I need to use from another DLL file. How can I programmatically get this installation folder? Thank you! Take a look at the Installer class. Add a new class derived from this class to your application's project. Don't forget to apply the RunInstaller attribute. In your

How to show application version in VS.NET Deployment Project?

蓝咒 提交于 2019-11-30 21:09:23
I have set up a Deployment Project for my application. The problem is that I want to show application version (eg. MyApplication 1.2.3.1) during installation so the user can see the version before installing. The only way I can think of is to modify the WelcomeText in Welcome dialog. Is there an easier or more elegant way to achieve this? You should be able to use the Windows Installer ProductVersion property for this. If you change the Welcome dialog's WelcomeText property to: The installer will guide you through the steps required to install [ProductName] [ProductVersion] on your computer.

how to manually remove MSI installation?

限于喜欢 提交于 2019-11-30 11:37:29
问题 I am learning VS 2008 setup project to create install for our C# application. I made a mistake trying to delete the exe itself during the uninstall. Now I manually deleted the exe file but the entry still in Add Remove Program list. I try to install a fixed newer version but msi doesn't allow me to do so. How can I remove the old version manually (i can use regedit, no problem)? I am using XP machine. thanks EDIT: After I removed its subkey in that uninstall registry entry, I still cannot

How to show application version in VS.NET Deployment Project?

时光毁灭记忆、已成空白 提交于 2019-11-30 05:30:16
问题 I have set up a Deployment Project for my application. The problem is that I want to show application version (eg. MyApplication 1.2.3.1) during installation so the user can see the version before installing. The only way I can think of is to modify the WelcomeText in Welcome dialog. Is there an easier or more elegant way to achieve this? 回答1: You should be able to use the Windows Installer ProductVersion property for this. If you change the Welcome dialog's WelcomeText property to: The

how to manually remove MSI installation?

╄→尐↘猪︶ㄣ 提交于 2019-11-30 00:39:41
I am learning VS 2008 setup project to create install for our C# application. I made a mistake trying to delete the exe itself during the uninstall. Now I manually deleted the exe file but the entry still in Add Remove Program list. I try to install a fixed newer version but msi doesn't allow me to do so. How can I remove the old version manually (i can use regedit, no problem)? I am using XP machine. thanks EDIT: After I removed its subkey in that uninstall registry entry, I still cannot install my newer version. Use msiexec /x {guid product code} . If your MSI database got screwed up and

Installing a new version of a deployment project over old version

无人久伴 提交于 2019-11-28 07:23:30
I have a deployment project which will not let me install over an older version. The msi file says to uninstall the program first from Add/Remove programs. This is not a good user experience. How can I do it so that the installer will simply remove the software first and then install the new version? Akash Kava This is tricky, you have to do following steps, Set Remove Previous Installation as True Set Detect new version as True Your C# program's version must increase with every deployment You should change version of your installer to one higher version and it will ask you to change product

Installing a new version of a deployment project over old version

允我心安 提交于 2019-11-27 01:37:58
问题 I have a deployment project which will not let me install over an older version. The msi file says to uninstall the program first from Add/Remove programs. This is not a good user experience. How can I do it so that the installer will simply remove the software first and then install the new version? 回答1: This is tricky, you have to do following steps, Set Remove Previous Installation as True Set Detect new version as True Your C# program's version must increase with every deployment You