wix

WIX Bundle Creation

故事扮演 提交于 2020-01-02 04:08:28
问题 I tried to create an MSI which is having and exe in it. Used the Bundle option in WIX. While doing that getting an error. Can somebody help me fix this issue. Below is the code: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Bundle Version="1.0.0.0" UpgradeCode="7AE2E358-B5A0-44B1-9B29-FDD275992993"> <Chain> <ExePackage Id="Netfx4Full" Compressed="no" PerMachine="yes" Permanent="yes" Vital="yes" SourceFile="ca\dotNetFx40

Wix: Property change in dialog is ignored during installation

折月煮酒 提交于 2020-01-02 02:46:08
问题 I have a property in a Wix file that is exposed for editing in a dialog. In the sample below, it's "MyProperty". This property is used to create a registry key. However, if the property is changed in the dialog, the changed value isn't used, but the default one is: "SomeProperty". However, if I display the property on another dialog, the value is displayed as the value the user entered. What am I doing wrong? <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix

Running devenve.exe /setup after uninstall in Wix

[亡魂溺海] 提交于 2020-01-02 02:35:11
问题 I am working on an installer (MSI, Wix) for MVVM Light and have an issue. I need to run devenv.exe /setup on install and on uninstall to add/remove templates to the New Project menu. While we nailed the syntax on install, we are unable to find the correct syntax to run this on uninstall. This is what we have: <InstallExecuteSequence> <Custom Action='UpdateVS2010Templates' After='InstallFiles'>VS2010EXISTS</Custom> <Custom Action='UpdateVS2010TemplatesUninstall' After='RemoveFiles'>REMOVE =

WIX: Where and how should my CustomAction create and read a temporary file?

两盒软妹~` 提交于 2020-01-02 02:20:20
问题 I have a script CustomAction (Yes, I know all about the opinions that say don't use script CustomActions . I have a different opinion.) I'd like to run a command, and capture the output. I can do this using the WScript.Shell COM object, then invoking shell.Exec() . But, this flashes a visible console window for the executed command. To avoid that, I understand I can use the shell.Run() call, and specify "hidden" for the window appearance. But .Run() doesn't give me access to the StdOut of the

Bootstrapping SQL Express from WiX?

一笑奈何 提交于 2020-01-02 02:00:14
问题 I'm working on a WPF app, and using WiX as an installer. I'd like to start using SQL Express 2012, but want to resolve installer issues first. I'm looking for a full-up example of detecting, bootstrapping, installing, upgrading and uninstalling SQL Express 2012 using WiX (although partials will be useful, too). Also, most of the detection logic I've found so far on the web uses registry keys. However, Microsoft recommends using WMI instead (see http://blogs.msdn.com/b/sqlexpress/archive/2006

Bootstrapping SQL Express from WiX?

扶醉桌前 提交于 2020-01-02 02:00:02
问题 I'm working on a WPF app, and using WiX as an installer. I'd like to start using SQL Express 2012, but want to resolve installer issues first. I'm looking for a full-up example of detecting, bootstrapping, installing, upgrading and uninstalling SQL Express 2012 using WiX (although partials will be useful, too). Also, most of the detection logic I've found so far on the web uses registry keys. However, Microsoft recommends using WMI instead (see http://blogs.msdn.com/b/sqlexpress/archive/2006

How does the MSI Installer InstallValidate determine files in use?

Deadly 提交于 2020-01-01 16:17:26
问题 I'm trying to work out how to prevent the Restart Manager from detecting that a restart is required when I uninstall my application. My application has a Windows Service which uses a native DLL (Tanuki Wrapper) and creates another process (Java) which writes to some log files. I'm using WiX Toolset but I'm more interested in the MSI Installer itself. I've been trying some changes manually using Orca. For reference the relevant WiX configuration is (there are some other components for JARs etc

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

WiX: register .NET COM component both x86 x64

断了今生、忘了曾经 提交于 2020-01-01 11:42:06
问题 I have C# COM .dll. I would like to install the .dll once, but have it be registered for both x86 and x64. Here's the WiX I have for registering only x64: <Component Id="NETDLL.dll" Directory="INSTALLDIR"> <File Id="NETDLL.dll" Name="NETDLL.dll" KeyPath="yes" Source="..\NETDLL.dll" /> <Class Id="{78BE...}" Context="InprocServer32" Description="NETDLL" ThreadingModel="both" ForeignServer="mscoree.dll"> <ProgId Id="NETDLL" Description="NETDLL" /> </Class> <RegistryValue Root="HKCR" Key="CLSID\