windows-installer

Error 110 (open_failed) MsiOpenDatabase - error in the loop

走远了吗. 提交于 2020-01-07 03:24:28
问题 I'm facing a problem in my program. I need to catch some infos about different MSIs, so I'm using the MSI Database functions from msi.dll. In a loop, I'm creating a list of objects (called PackFile). Each object must contains infos about each file installed by the msi, and each list contains all the files installed by a given msi. I have differents methods for all the data I need to have (like the component, componentcode, installlevel of the feature, etc.). But all the methods fail. Here's a

VS 2013 setup project update package fails for running executable

旧巷老猫 提交于 2020-01-06 23:51:18
问题 I have created a setup project (using VS 2013) to update my existing application on desktop clients. Previously, application has already been installed with same project output package. So, I have changed the setup project version Product code is updated in the meantime RemovePreviouVersions is checked MSI will be delivered via Microsoft SCCM 2012 R2 and has to support silent installation. My problem is, application has been running through all clients and setup can't replace existing

Is it possible to install MySQL Server along with standalone client-side software?

风格不统一 提交于 2020-01-06 14:53:18
问题 I'm writing an application for a venue that will have large-scale competitions. In order to effectively manage those competitions, multiple employees need to engage with and modify a set of data in real-time, from multiple machines in the gym. I have created a Python application which accomplishes this by communicating with a MySQL server (which allows as many instances of the application as necessary to communicate with it). Is there a nice way to get MySQL server installed on a client

Installing Higher Versions of existing Windows Service in VS 2008

我的未来我决定 提交于 2020-01-06 14:17:15
问题 I am installing a Windows Service on my Desktop with a particular version. Then I revise my service and make some changes in the service.I upgrade my installer version.I also make the property RemovePreviousVersion true.When I start to Install the upgraded Windows Service, I get the below mentioned Error. Error: The specified service already exists . Stack Trace : At System.Process.ServiceInstaller.Install(IDictionary)at System.Configuration.Install.Installer.Install at WinDbSync1.Project

Monitoring Process Exits in a Custom Action

孤街醉人 提交于 2020-01-06 10:54:31
问题 All – I need to carry out several tasks silently via Custom Actions. Essentially, I need to install and license a 3rd party application after I've laid down my own bits: I install my bits into the Application Folder I launch a custom action to Install the 3rd party app via FooSetup.exe I launch another custom action to license the third party app via FooLicense.exe, installed during step 2. During the Commit phase of the installer, I fire this code to launch the silent setup of the 3rd party

Mysql msi installation for windows 10 x64, change installation folder?

心不动则不痛 提交于 2020-01-06 09:01:22
问题 As the title describes, I run the MSI installation, but Im not being able to change the install directory, I need to change it because my C:\ disk is a 60gb ssd and I only want to use it for the OS. Theres a way to change the installation path? Thanks in advance! 回答1: In theory this should work: msiexec /i "Path To MSI" INSTALLDIR="D:\New\Installation\Directory" /qb however if that doesn't work then try: msiexec /i "Path To MSI" TARGETDIR="D:\New\Installation\Directory" /qb /qb = basic

VS2010 Setup Project with C++ 2008 Redistributables?

删除回忆录丶 提交于 2020-01-06 07:43:28
问题 Here is the situation: I have a Visual Studio 2010 Setup project which installs a C# executable The installation includes a C# dll that references a C++ dll The C++ dll requires the C++ 2008 libraries The problem is that it is very easy to make the setup project install the C++ 2010 libraries, but I am not having much luck trying to install 2008. For 2010, it is as simple as selecting C++ 2010 in the Properties > Prerequisites section of the project. 2008 is not an option. I have found much

Wix Toolset - Setting a Property to User Profile Folder path and Program Files

房东的猫 提交于 2020-01-06 07:29:11
问题 I am using Properties to set the values of Registry entries. This is so that on install the first time I have a default value and then on upgrade the current registry value is used. I need to have a property that sets the path to the user's local folder and to the programs folder. I know the below code is wrong but how do I do it. I think at least I want to do a Type 51 custom action but don't understand the documentation. I believe there are three relevant parts <InstallExecuteSequence>

Plugin Installation

独自空忆成欢 提交于 2020-01-06 07:14:45
问题 I wrote a plugin in Firebreath, and I have a msi written. I want to write a JavaScript function that will trigger an installation(a pop up in the top of the page) or will redirect the user to a download page. Can someone provide an example or a helpfull link? Thanks! 回答1: FireBreath has an example javascript file that can be used to help with plugin detection: https://github.com/firebreath/FireBreath/blob/master/Installer/js/fb_installer.js basically you use FireBreath.isPluginInstalled(

Register DLL (ActiveX) for Non-Admin user

喜你入骨 提交于 2020-01-06 06:41:33
问题 I try to register dll (ActiveX) for non-admin user using MSI. To create registry settings I have register the dll in admin mode, then exported the relevant registry entries and renamed all HKLM to HKCU. When I install it for non-admin user all works fine. But when I use the same settings with admin user, there is a problem of discovering TypeLib. What should be changed in the registry entries to work both for admin and non-admin user, when the registration done under HKCU? Thank you 回答1: If