setup-deployment

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

…衆ロ難τιáo~ 提交于 2019-12-21 20:26:11
问题 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

How to set the publisher name for a Windows Forms application

旧街凉风 提交于 2019-12-20 08:29:21
问题 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? 回答1: 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

Visual Studio Setup and Deployment build fails with no errors

夙愿已清 提交于 2019-12-19 08:14:28
问题 I have a setup and deployment project that, on our build server, reports the following in the summary: ========== Rebuild All: 25 succeeded, 2 failed, 0 skipped ========== I don't know what the two are that failed, though I believe one of them is the vdproj project because if I run the build without the installer there are no errors reported at all. The "packaging file" messages match the output on my PC, where the build completes successfully. I'm convinced it's an environment thing, just

Visual Studio Setup and Deployment build fails with no errors

[亡魂溺海] 提交于 2019-12-19 08:14:13
问题 I have a setup and deployment project that, on our build server, reports the following in the summary: ========== Rebuild All: 25 succeeded, 2 failed, 0 skipped ========== I don't know what the two are that failed, though I believe one of them is the vdproj project because if I run the build without the installer there are no errors reported at all. The "packaging file" messages match the output on my PC, where the build completes successfully. I'm convinced it's an environment thing, just

Visual Studio Setup & Deployment: Adding Pre Requisits

有些话、适合烂在心里 提交于 2019-12-19 03:40:42
问题 How can I add into Setup & Deployment project that I want to the client has more components, like: Microsoft Chart Controls Microsoft SQL 2008 Express Edition (not 2005) etc... alt text http://img55.imageshack.us/img55/2586/200902021225eu9.png This options are not in VS 2008, and in the window (image above) it only has a link to "Check Microsoft Update for more Redistributable components" but it goes to a page with 2 "bootstrapper packages" (I don't even know what's this) any ideas on how to

Cannot run the Setup file which created by VS2013 in windows xp

亡梦爱人 提交于 2019-12-18 19:11:36
问题 Created a Setup file developed in c# in VS-2013, Dotnet4 framework and for 32bit Architecture. It is getting installed in windows 7 and windows 8 but not in Windows XP (SP3) with administrator previllege. Error : "The installer was interrupted before application could be installed. You need to restart installer to try again." Help need in this regard. Output of msiexec /i Setup.msi /l*v MyLogFile.txt === Verbose logging started: 2/12/2015 20:19:11 Build type: SHIP UNICODE 3.01.4001.5512

Cannot run the Setup file which created by VS2013 in windows xp

瘦欲@ 提交于 2019-12-18 19:11:14
问题 Created a Setup file developed in c# in VS-2013, Dotnet4 framework and for 32bit Architecture. It is getting installed in windows 7 and windows 8 but not in Windows XP (SP3) with administrator previllege. Error : "The installer was interrupted before application could be installed. You need to restart installer to try again." Help need in this regard. Output of msiexec /i Setup.msi /l*v MyLogFile.txt === Verbose logging started: 2/12/2015 20:19:11 Build type: SHIP UNICODE 3.01.4001.5512

Vista Schedule Task From Setup

纵饮孤独 提交于 2019-12-18 13:31:36
问题 I'm deploying a C# application using the Setup Wizard project in Visual Studio 2008. What is the simplest way for me to have Windows schedule my application to run at regular intervals (e.g. every 8 hours)? I prefer if this scheduling would happen during the application's installation to simplify setup for the end-user. Thanks! 回答1: Scheduled task is your way to go. Take a look at this page for how to setup the task with a script. 回答2: This took some putting together for me, so here's

What VSDCA_Launch mean in Custom Action script

穿精又带淫゛_ 提交于 2019-12-18 09:27:57
问题 I want to launch an application after installation with Visual Studio setup&deployment output. I follow the article 'How do I launch an application after install in a Visual Studio Setup Project'. It has a solution that using Custom Action to add a checkbox and launch the application after installation. But I still have a problem, the application has launched with the working directory was difference from the target directory. Therefore it can't read XML configuration file. I've read more

How to add additional custom window to VS setup projects UI flow

戏子无情 提交于 2019-12-18 09:25:44
问题 I'm using a VS 2008 setup project to deploy my application to client computer. Now I need to add custom UI Window to get some information form user for set up process. As example, there should be a form to enter user information after click next button of the destination folder search window. How can I do this? 回答1: If you want to get user input using custom UI during the MSI deployment best approach is to create the .wid extension files. this is the type of UI files that you see during the