setup-project

Visual Studio Setup Project - Use exe Icon for installed Shortcuts

岁酱吖の 提交于 2020-01-04 09:12:35
问题 I have a Application that is deployed to client machines with a Visual Studio 2010 Setup Project. My App creates a Desktop Shortcut to the main exe file. If I open the shortcut's properties and choose "change icon" I see that the icon used for the shortcut is something like: %SystemRoot%\Installer\{5B821236-4F7A-4AC9-8BA6-441F456F12F0}\_83771230001D45618121E3.exe Hoever, I want it to be %Program Files%\MyCompany\MyApp\MyApp.exe or %Program Files%\MyCompany\MyApp\MyIcon.ico Is there a way to

Deploying a desktop application with SQL Server Express

我只是一个虾纸丫 提交于 2020-01-02 05:23:16
问题 I have developed a C# 4.0 desktop application that uses a SQL Server Express 2005 database. I have built a Setup and Deployment (msi) package that installs the application and all it's depenedencies, including the mdb database file, into a working folder under the Program Files directory. The connection string is like this: Server=.\SQLExpress;AttachDbFilename=|DataDirectory|MyDB.mdf;Database=MyDB;integrated security=true;user instance=true; The first time a database call is made, the

How to create a .NET setup project with crystal report prerequisite?

旧城冷巷雨未停 提交于 2019-12-30 14:41:53
问题 I have worked on a desktop application in .net and it uses crystal report for generating report in pdf/ms word. However, I am now trying to deploying this app with visual studio setup project. Now, finding a way to bundle the crystal report assemblies in some way so that they can also install automatically on a pc where crystal report isn't installed. How can I achieve this please? Regards 回答1: There is a folder called Microsoft Visual Studio 9.0\Crystal Reports\CRRedist\IA64 in your Programs

Special Folder “Common Application Data Folder” not available in my setup project. Why?

假装没事ソ 提交于 2019-12-30 08:33:18
问题 I want to create a Visual Studio 2010 setup project that deploys some files to a folder where my application can use it from. I want it so, that all users have the same files, and that they also could manipulate them without admin rights. Thus, "Common Application Data Folder"* as described in this MSDN article, seems fine. However, in my Visual Studio 2010 setup project I did not find the "Common Application Data Folder" available in the "Add special Folder..." drop down menu. I have a .NET

Visual Studio Installer > How To Launch App at End of Installer

一个人想着一个人 提交于 2019-12-28 02:25:26
问题 This is probably a stupid question and my Googling just is not functioning today. I have an application I added a Visual Studio Installer > Setup Wizard project to. I am wondering how to add a button or check box that would launch the application after successful install. This would be located on the last page of the MSI Installer Package. I am using Visual Studio 2010 Ultimate. I am needing this so that when the application does an automatic update, it auto launches the installer. I just

Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

六月ゝ 毕业季﹏ 提交于 2019-12-28 01:55:39
问题 I've created a .NET assembly for COM interop and it is working well on my development machine. I'm currently trying to figure out how to deploy the DLL to a target machine using Visual Studio's "Setup Project." How can I use the VIsual Studio setup project to do the following things: Register the assembly (currently using regasm ). The assembly needs to be registered successfully and the type library (.tlb) needs to be registered successfully . This answer suggests scrapping regasm in favor

Setting Up Zend in Wamp server [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 08:24:05
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Zend - How to install on WAMP I have a website created in Zend Framework. But when iam trying to load in wamp server it is not working correctly. If there is any set up steps in wamp for zend? How can setup zend frame work website in wamp server? In this site there have a login page , when i login correctly it will displays a white page only nothing will be loaded. What is the reason?the login page is displayed

Create automated installer of VB.Net program + SQL Server & script to create the DB & user

可紊 提交于 2019-12-25 03:32:43
问题 I'm in the final stages of building a Vb.Net WinForms app in a client/server scenario (forms over data stored in SQL Server) In this particular project we won't be the ones deploying the software so we're looking for a way to automated the Database part of the setup as much as possible. The client application is being deployed with ClickOnce, so that's sorted. As for the Database setup, can you advise on the best way to automate this? Typically the deployment would go like (this is what we'd

How to use DWR(Direct web remoting) in Spring MVC 4

风流意气都作罢 提交于 2019-12-25 02:58:26
问题 I am using dwr for first time should I use dwr ? If yes the How to use DWR(Direct web remoting) in Spring MVC 4. If not then what to use? 回答1: Yes, you can use DWR on spring project for Ajax kindof purpose. It can be easily implemented with one controller file and with xml file. All we have to do is call the method which is in controller from your script file. 回答2: create Bean on dispatch servlet <bean id="dwrBean" class="dwrController"> <property name="myDAO" ref="MyDAOImpl" /> </bean> Then

Setup.exe calling msi based on Regional setting

会有一股神秘感。 提交于 2019-12-24 15:09:38
问题 Environment: Windows 7 SP1 Visual Studio 2010 Ultimate SP1 .NET 4.0 I have a Visual Studio Setup project with some prerequisites(Windows Installer 4.5, SQL Server Express 2008...) My deployment package has an setup.exe, app.msi and folders with prerequisites. Now we want to localize the msis. So we will have app.en.msi and app.de.msi Do I need two deployment packages? Or can I have an intelligent setup.exe which can choose between the app.en.msi and app.de.msi based on the regional setting?