deployment

How can I tell what modules were originally provided with the specific Perl installation on a machine?

有些话、适合烂在心里 提交于 2019-12-23 09:08:17
问题 How can I tell what modules were originally provided with the specific Perl installation on a machine? (This is not a duplicate of: How can I tell if a Perl module is core or part of the standard install? ( "How can I tell if a Perl module is core or part of the standard install?" ) - it is in fact a spin-off question from it ) I am looking for what came with the installation originally , what modules were provided as part of that installation, what was built-in. NOT what has been installed

How to get the installation directory?

淺唱寂寞╮ 提交于 2019-12-23 08:56:34
问题 The MSI stores the installation directory for the future uninstall tasks. Using the INSTALLPROPERTY_INSTALLLOCATION property (that is "InstallLocation" ) works only the installer has set the ARPINSTALLLOCATION property during the installation. But this property is optional and almost nobody uses it. How could I retrieve the installation directory? 回答1: Use a registry key to keep track of your install directory, that way you can reference it when upgrading and removing the product. Using WIX I

ClickOnce error after deploying — has a different computed hash than specified in manifest

丶灬走出姿态 提交于 2019-12-23 08:28:54
问题 Afer deploying my VSTO add-in with ClickOnce, I get the following error message when trying to launch setup.exe: File, Addin.resources.dll, has a different computed hash than specified in manifest. Why is this happening? What can I do to fix this? 回答1: I was able to resolve this just by doing a clean build and publish. For some reason the manifest wasn't updated like it was supposed to. 回答2: I'm using Visual Studio 2013 SP2, and am having the same issue. Regularly, I will create a new release

Error in running WPF application

删除回忆录丶 提交于 2019-12-23 08:16:29
问题 The application is working fine on the computer where it's made, but when I copied it to another one, same OS, it crashed and it showed this error: Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: vpn2.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4f615c78 Problem Signature 04: mscorlib Problem Signature 05: 4.0.0.0 Problem Signature 06: 4ba1da6f Problem Signature 07: 3dab Problem Signature 08: ce Problem Signature 09: System.Windows.Markup.XamlParse OS Version:

Including xml files when deploying WPF application

亡梦爱人 提交于 2019-12-23 08:05:07
问题 I have a WPF application with 3 projects to represent a 3-layer architecture. One project is set as the main project. I have some XML files in one of the non-main project. These XML files are accessed by functions defined in classes of that project. When I try to publish the application using VS2010 ClickOnce, the XML files are not included in the installation file even after marking the files' Build Action to Content and Copy-to-OutputDirectory as Copy Always. When running the installed

Capistrano 3.0 — How securely prompt for password now?

三世轮回 提交于 2019-12-23 07:46:39
问题 Prior to 3.0 there was a way to do that: # ... set :mysql_password, proc { Capistrano::CLI.password_prompt "Gimme remote database server password. Don't worry, I won't tell anyone: " } # ... namespace :db do desc 'Dump remote database' task :dump do run "mysqldump -u #{mysql_user} -p #{mysql_database} > ~/#{mysql_database}.sql" do |channel, stream, data| if data =~ /^Enter password:/ channel.send_data "#{mysql_password}\n" end end end end It prompts for password, doesn't show it as you type

Do I need to copy the .compiled files to the production server?

别说谁变了你拦得住时间么 提交于 2019-12-23 07:20:09
问题 I'm using a deploy project to deploy my ASP.net web application. When I build the deploy project, all the .compiled files are re-created. Do I need to FTP them to the production web server? If I do a small change do I need to copy all the web site again? 回答1: From my own research, the .compiled files must be copied to the production server, but not needed to copied every time from Rick Strahl excellent blog: The output from the merge utilitity can combine all markup and CodeBeside code into a

Error on “production” environment on Symfony2

你说的曾经没有我的故事 提交于 2019-12-23 07:03:20
问题 I´m currently developing a web site using Symfony2. On 'dev' environment everything works just fine, but when I try to access to the system with the DEBUG parameter on FALSE (trough app.php wich invokes the appKernel with debugger disabled) the system throws a " 500 Internal Server Error " when I try to load any section of the system. I´ve already cleared the cache and warmed it up and this error keeps showing up. I'm working with the standard distribution of Symfony (didn't change anything

Status says Draft in Prod

不打扰是莪最后的温柔 提交于 2019-12-23 06:57:36
问题 I have completed all steps for making Android app (Google Developer Console). Everything is saved and my App Status says " Draft in Prod " What is the next step to see the actual version in the Google Play Store? 回答1: You have to press the button "publish now" in the upper left corner. It could be placed better, that's right 回答2: if all steps for publishing were completed on the upper right corner in the Google Developers Console under APK's tab should be a button to publish the app to the

Qt Mac OS Application deployment missing framework

限于喜欢 提交于 2019-12-23 05:45:32
问题 I use Qt and macdeployqt to deploy my C++ app. It include OpenGL and Qt Frameworks in the bundle app but miss some others (ie : SDL ) and the app doesn't work on others system if the SDL framework is absent. Here's my pro file QT += core QT += xml QT += opengl QT += gui TARGET = StripTest CONFIG += console TEMPLATE = app #Main app SOURCES += main.cpp \ StripWindow.cpp \ MainWindow.cpp \ HEADERS += StripWindow.h \ MainWindow.h\ #Graphics SOURCES += \ ../../libs/PhGraphic/SDLMain.cpp \