votive

How can I get WiX to call a method in a .NET assembly as part of the installation process?

北慕城南 提交于 2020-01-01 15:41:27
问题 I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM ProgID. I can't figure out how to get WiX to do this. I thought about creating a binary Custom Action, but I can't find a way of passing a parameter (a string

How can I get WiX to call a method in a .NET assembly as part of the installation process?

左心房为你撑大大i 提交于 2020-01-01 15:41:17
问题 I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM ProgID. I can't figure out how to get WiX to do this. I thought about creating a binary Custom Action, but I can't find a way of passing a parameter (a string

How can I maintain file reference integrity from a WIX Setup Library

ぃ、小莉子 提交于 2019-12-25 06:59:10
问题 I am using the Wix Toolset 3.8 Visual Studio add-in. I have created a WIX Setup Library which encapsulates some common components that will be consumed by various service deployment projects. This library includes references to several solution files which need to be packaged into each deployment. These dependencies are used in my wix library fragments in a few different ways. For example: <Binary Id="InstallationScript" SourceFile=".\Dependency1.vbs" /> <CustomAction Id="DependencyAction"

Can't get Wix custom action to work in Votive/VS2010

怎甘沉沦 提交于 2019-12-11 07:28:11
问题 Help! I need to execute a managed custom action in my Wix 3.5 setup project and no matter what I've tried I can't get it to work. I'm using the Votive integration in Visual Studio 2010. My Wix Product.wxs file is basically unchanged from the visual studio template except a few text changes: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="666ffc07-90b2-4608-a9f0-a0cc879f2ad0" Name="Product Name" Language="1033" Version="5.5.0002"

Uunable to see WIX project type in Visual studio 2008/2010

南笙酒味 提交于 2019-12-10 17:59:48
问题 I have Visual Studio 2008, 2010, and WIX37.msi (WIX 3.7) installed on my machine. However, I am unable to see WIX project type in Visual studio 2008/2010. Do I need to install additional tool/plugin? 回答1: I have Visual Studio 2008 and Visual Studio 2010 installed on my machine and I installed WiX v3.7 RTM from Codeplex. Things work okay for me. There is a known issue in VS2008 that requires you to set an MSBuild property called RunWixToolsOutOfProc to true . This occurred because parts of WiX

How can I get WiX to call a method in a .NET assembly as part of the installation process?

拜拜、爱过 提交于 2019-12-04 15:43:24
I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM ProgID. I can't figure out how to get WiX to do this. I thought about creating a binary Custom Action, but I can't find a way of passing a parameter (a string containing the ProgID) into that custom action. I don't want to hard-code it because I need this to be

WiX undefined preprocessor variable

女生的网名这么多〃 提交于 2019-12-03 08:06:28
问题 I'm starting to use WiX in order to do automated builds to create msi's of my c# projects and am experiencing the error "Undefined preprocessor variable '$(var.MyProject.TargetDir)'" I am using the latest WiX v3.0.5419. Inside my wxs file I am trying to use pre-processor variables that are listed on this webpage (http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx) <Component Id="MyId" Guid="MyGuid"> <File Id="MyId" Name="MyName" KeyPath="yes"

WiX undefined preprocessor variable

孤人 提交于 2019-12-02 21:39:15
I'm starting to use WiX in order to do automated builds to create msi's of my c# projects and am experiencing the error "Undefined preprocessor variable '$(var.MyProject.TargetDir)'" I am using the latest WiX v3.0.5419. Inside my wxs file I am trying to use pre-processor variables that are listed on this webpage ( http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx ) <Component Id="MyId" Guid="MyGuid"> <File Id="MyId" Name="MyName" KeyPath="yes" Source="$(var.MyProject.TargetDir)\MyName.dll" /> </Component> I have added the reference for MyProject

don't have any CustomActionAttribute in VS2010

▼魔方 西西 提交于 2019-12-02 04:20:39
问题 I am trying to write a custom actions class library for my WiX install package. I've read that I should use CustomActionAttribute to mark the methods that I am planning to call from install package. There is no Votive plugin for VS2010, so when I type [CustomAction] above my method name, VS2010 doesn't find it. So what should I do to write a custom action method? 回答1: There is Voitve support for Visual Studio 2010 in Wix 3.5 and up. With Votive you get a project template for creating managed

How to debug custom bootstrap application?

喜你入骨 提交于 2019-11-30 10:35:15
问题 I am using Burn for MSIs package. I am using Votive (Visual Studio) & my own custom BA instead of WiXBA. I tried to debug custom BA using Debugger.Launch() . But when I start debugging, error messages occur. No symbols are loaded for any call stack frame. The source code cannot be displayed I realized that package.exe links CustomBA dll which located at C:\Documents and Settings\user\Local Settings\Temp\{GUID}\ . {GUID} is always changed. So, whenever I run package.exe, always directory is