setup-deployment

Install other apps with our setup - vs2010 Desktop App Deployment

試著忘記壹切 提交于 2019-12-02 13:11:42
问题 I need to embed powerpoint viewer with my setup in vs 2010. When user run setup created by me, powerpoint viewer setup get automatically launch during installation. thanks 回答1: Add Installer Class to your development namespace CLT { [RunInstaller(true)] public partial class ClientInstall : Installer { public ClientInstall() { InitializeComponent(); } public override void Install(IDictionary stateSaver) { base.Install(stateSaver); System.Diagnostics.Process.Start(@"\Powerpoint.exe"); } } And

Exception : Collection was modified; enumeration operation may not execute on form Close in setup project

折月煮酒 提交于 2019-12-01 14:23:06
I created a setup project of window form application built in C# 4.0. I tested the setup in my test PC which have Vs 2010 Ultimate installed in it and its working fine in it. I later on to test the application I installed it another machine which does not have VS in it. Every time I try to close the form, it ends up with this exception. The exception is occurring in some forms not in all. I have checked the code and and there is no difference in it(this.close()). While building the setup I am using .Net Framework 4 Client Profile as Target Framework. Microsoft.VisualBasic.PowerPacks.Vs is

How to troubleshoot - ImportError: Could not import settings 'mysite.settings' when deploying django?

回眸只為那壹抹淺笑 提交于 2019-12-01 09:09:52
I've had my django app deployed and working perfectly with apache and mod_python, according to the apache deployment instructions. But since I changed the project structure somewhat, I haven't been able to get it working. No matter what I try, I keep getting the following page: MOD_PYTHON ERROR ProcessId: 27841 Interpreter: '127.0.0.1' ServerName: '127.0.0.1' DocumentRoot: '/var/www' URI: '/myapp/' Location: '/myapp/' Directory: None Filename: '/var/www/myapp' PathInfo: '/' Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/lib

Visual Studio Setup and Deployment build fails with no errors

时光怂恿深爱的人放手 提交于 2019-12-01 06:38:39
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 that there are no logs anywhere that say what the problem was - just the number in the summary. Even

Writing to AppData from a Setup & Deployment Project

喜夏-厌秋 提交于 2019-12-01 06:10:16
I am updating an existing application that is installed via a Setup and Deployment Project. The old application copied a config and a database file into the application's folder in Program Files during installation. This worked fine on Win 2000 and Win Xp (under a local admin account). In Windows 7, however, not only is this frowned upon, but it essentially doesn't work due to UAC. So I want to update the application to write its config/data in CommonApplicationData. In the existing Setup and Deployment project, you can easily select some locations as targets for copying files. i.e.

How to include dependencies in Setup and Deployment Project?

不羁的心 提交于 2019-12-01 06:07:05
I have a solution that consists of 3 projects. I've created a deployment project it is only including the dependencies from one of the projects in my solution. What I've done so far is in my Setup and Deployment project, I right-clicked "Application Folder" to Add --> Project Output. Next I selected my main project from a dropdown and selected "Primary Output". I clicked OK and that project's dependencies were successfully included in the deployment. I tried to repeat the same process for the other DLLs in my solution, but it didn't include their dependencies. How do I include all dependencies

How to troubleshoot - ImportError: Could not import settings 'mysite.settings' when deploying django?

删除回忆录丶 提交于 2019-12-01 05:37:27
问题 I've had my django app deployed and working perfectly with apache and mod_python, according to the apache deployment instructions. But since I changed the project structure somewhat, I haven't been able to get it working. No matter what I try, I keep getting the following page: MOD_PYTHON ERROR ProcessId: 27841 Interpreter: '127.0.0.1' ServerName: '127.0.0.1' DocumentRoot: '/var/www' URI: '/myapp/' Location: '/myapp/' Directory: None Filename: '/var/www/myapp' PathInfo: '/' Phase:

How to include dependencies in Setup and Deployment Project?

半城伤御伤魂 提交于 2019-12-01 03:41:55
问题 I have a solution that consists of 3 projects. I've created a deployment project it is only including the dependencies from one of the projects in my solution. What I've done so far is in my Setup and Deployment project, I right-clicked "Application Folder" to Add --> Project Output. Next I selected my main project from a dropdown and selected "Primary Output". I clicked OK and that project's dependencies were successfully included in the deployment. I tried to repeat the same process for the

Writing to AppData from a Setup & Deployment Project

时光怂恿深爱的人放手 提交于 2019-12-01 03:08:00
问题 I am updating an existing application that is installed via a Setup and Deployment Project. The old application copied a config and a database file into the application's folder in Program Files during installation. This worked fine on Win 2000 and Win Xp (under a local admin account). In Windows 7, however, not only is this frowned upon, but it essentially doesn't work due to UAC. So I want to update the application to write its config/data in CommonApplicationData. In the existing Setup and

Inno Setup Execute a batch file before [Files] section

烂漫一生 提交于 2019-11-30 19:42:32
Currently my batch file is in [Run] section. I need my batch file to execute before the [Files] section. Is there a way to do this in Inno Setup? Currently the [Run] section always execute after [Files] section. [Run] Filename: "C:\Users\Scripts\Install\Install.bat"; Parameters: {code:GetDatabaseName} [Files] Source: "C:\Users\MyApp\*"; DestDir: "\\MyServer\MyApp"; Flags: recursesubdirs createallsubdirs If it needs to be done at the beginning of the setup, use Exec() in the PrepareToInstall() or CurStepChanged(ssInstall) event functions. These are both after the user has said "go ahead,