windows-installer

Can a single component installed by two different installers, if we keep same GUIDs and Paths for files,services, registries, upgrade codes?

感情迁移 提交于 2020-01-06 05:52:08
问题 Can a product installed by two different installers, if we keep same GUIDs and Paths for files,services, registries, upgrade codes? Install by installer1 and uninstalled by other installer2, or upgraded by installer2 I have a component, is bundled with two installers One is bundled as MSM module in Installer with multiple other components. And other I have standalone installer that installs my component, it does not have MSM module just has .wixproj and .wxs file. So my question is can I have

How to use VS Installer class in a Custom Action

我们两清 提交于 2020-01-06 04:57:09
问题 Dozens of Q&A entries (all but one in stackoverflow!) that I found got close to this question, but didn't teach me what I needed. I have what should be a nearly simple installation: a Windows service and an associated tray icon application. They install fine with the standard VS Setup project. After the files are installed, I need to present a dialog to the user to set some parameters in the service's exe.config file. In that dialog, the user should be able to abort the installation. I've

WixUIExtension.dll could not be loaded

折月煮酒 提交于 2020-01-06 04:14:25
问题 I'm trying to make a wix installer. for a web application. the following is my wsx v3.11 File <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="Guid" Name="TestInstaller" Language="1033" Version="1.0.0.0" Manufacturer="CompanyName" UpgradeCode="Guid1"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /

OOTB way to check for admin permissions before running VS2010 Installer MSI?

蹲街弑〆低调 提交于 2020-01-05 07:26:24
问题 I'm creating an installer for a 3rd Party ActiveX DLL running in IE7-9 on XP-Win7. The MSI should perform the following: Check for admin permissions. Notify the user and exit if insufficient permissions. Check for previous version. If it exists unregister or overwrite it. Install the DLL with vsdrfCOM so that it is recognized in the IE add-on menu. For (3), I set the vsdrfCOM but it didn't seem to work. I don't see an OOTB way to perform (1) or (2). Is that correct or is there an OOTB way?

Wix Installer Registry Search Fails

情到浓时终转凉″ 提交于 2020-01-05 07:18:49
问题 I am attemping to do a registry search with in a wix installer so that I know where to install my plug in. I am trying to look up where Tekla Structures 2018i is installed at. However, every time I try running the installer my condition fails. Any help would be greatly appreciated. Product tag: <Property Id="TSMAINDIR"> <RegistrySearch Id="TS2018iSetupMain" Root="HKLM" Key="Software\Tekla\Structures\2018i\setup" Name="MainDir" Type="raw" Win64="yes"/> </Property> <Condition Message="This

Windows Installer does not install feature and does not report an error. (Request: Null)

空扰寡人 提交于 2020-01-05 05:42:28
问题 A simple msi created using WiX. Trying to install a product. On some computers it will fail, without an error, and the installer log will contain these rows: PROPERTY CHANGE: Adding WIX_UPGRADE_DETECTED property. Its value is '{7C9...0A0}' PROPERTY CHANGE: Adding MIGRATE property. Its value is '{7C9...0A0}' Product Code from property table after transforms: '{68F...FAE}' Product not registered: beginning first-time install Doing action: INSTALL Doing action: InstallValidate Feature:

Application is not getting opened after installing it with the installer created by “Visual studio installer”

独自空忆成欢 提交于 2020-01-05 05:27:13
问题 I have created setup file using visual studio 2017. When I installed it in my system it was installed properly and worked properly. But I am trying to install in some other system than set up gets installed properly but when user tries to open it then it does not opened. When I checked it in event viewer it gives following error. I got following error in event viewer(.Net runtime) Application: FaultyStatus.exe Framework Version: v4.0.30319 Description: The process was terminated due to an

how to exclude app.config from setup deployment project

隐身守侯 提交于 2020-01-05 05:25:47
问题 How to exclude app.config from setup deployment project? I must maintain encrypted sections in app.config and the only (semi) embeded way I know is by running code with RsaProtectedConfigurationProvider or DPAPI provider. Since I have to run that code the question arises: when to run it. Since there seem to be some problems using Rsa under windows 7 (some end user's will NOT have admin rights on it) I concentrated on DPAPI which is machine dependent. Therefore I can not encrypt app.config on

how to exclude app.config from setup deployment project

℡╲_俬逩灬. 提交于 2020-01-05 05:25:07
问题 How to exclude app.config from setup deployment project? I must maintain encrypted sections in app.config and the only (semi) embeded way I know is by running code with RsaProtectedConfigurationProvider or DPAPI provider. Since I have to run that code the question arises: when to run it. Since there seem to be some problems using Rsa under windows 7 (some end user's will NOT have admin rights on it) I concentrated on DPAPI which is machine dependent. Therefore I can not encrypt app.config on

Including MS C++ runtime in VS2005 generated MSI

谁说胖子不能爱 提交于 2020-01-04 18:40:27
问题 I've got a project that depends on a particular version of MSVCR80.dll (the MS Visual C Runtime) and I'm running into problems where, depending on the particular system configuration, my app doesn't always get the right version of that file. It's been a bit of a crap shoot as to what path it takes to find a file with that name, and it's not always right... Is there a way, when creating a Deployment Project in VS2005, to ensure that my app will always use the runtime that I provided?? When I