wix

Attempting to run embedded tool from WIX msi for selective installation

自作多情 提交于 2019-12-25 14:01:25
问题 Basically I'm trying to build a WIX msi that can run devcon.exe (command line version of windows hardware manager) to detect if a particular piece of hardware is installed. If it is, then install msi A, else install msi B (A and B already exist as separate msi packages, we need automatic selective installation based on the hardware). Currently I've installed the WIX SDK and have created a WIX project that correctly builds an msi. I can do simple things like execute CustomActions to open

Attempting to run embedded tool from WIX msi for selective installation

馋奶兔 提交于 2019-12-25 14:01:18
问题 Basically I'm trying to build a WIX msi that can run devcon.exe (command line version of windows hardware manager) to detect if a particular piece of hardware is installed. If it is, then install msi A, else install msi B (A and B already exist as separate msi packages, we need automatic selective installation based on the hardware). Currently I've installed the WIX SDK and have created a WIX project that correctly builds an msi. I can do simple things like execute CustomActions to open

In Wix MSI: Killing a process upon uninstallation

狂风中的少年 提交于 2019-12-25 13:46:10
问题 I added a custom action that should kill my application using taskkill CMD when someone tries to uninstall it using the add/remove in the control panel using the following code : <Property Id="TASKKILL"> <DirectorySearch Id="SysDir" Path="[SystemFolder]" Depth="1"> <FileSearch Id="taskkillExe" Name="taskkill.exe" /> </DirectorySearch> </Property> <CustomAction Id="ServerKill" Property="TASKKILL" Execute="immediate" Impersonate="yes" Return="ignore" ExeCommand="/F /FI "IMAGENAME EQ App.exe""/>

How to execute VSTO post-install by WiX

别来无恙 提交于 2019-12-25 13:14:12
问题 I need to run some VSTOs after they been installed. Everything I tried came out negative. One example: <Property Id="runcmd">start</Property> <CustomAction Id="RunOutlookVSTO" Property="runcmd" Execute="deferred" Return="asyncNoWait" ExeCommand="[SourceDir]Outlook2010AddIn.vsto"> </CustomAction> <InstallExecuteSequence> <Custom Action="RunOutlookVSTO" After="PublishProduct">NOT INSTALLED</Custom> </InstallExecuteSequence> Error: No reaction. Second example: replace start with cmd Error: No

WiX 3.8 Burn failed to elevate package installer

三世轮回 提交于 2019-12-25 12:46:07
问题 I am making a package installer and am followin the KISS principle. No bundle made in WiX 3.6-3.8 works on Windows XP (but works as expected in Windows 7). The cause is elevation error 0x800705b4. [14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to wait for child to connect to pipe. [14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to connect to elevated child process. [14DC:15A8][2014-02-12T11:54:46]e000: Error 0x800705b4: Failed to actually elevate. [14DC:15A8]

Bind IIS local websites in dropdown list of wix installation?

Deadly 提交于 2019-12-25 11:52:29
问题 After working long for the creating the installer for my application using http://wixtoolset.org/ and i am using 3.10v,finally i got the working .msi installer file. But i wanted the list of websites that are present in IIS server to be display in the dropdown list during installation, so that i can select the existing website from the IIS server and use that to install my application. I created a ComboBox Control in my UI page (.wxs file), and stuck at writing the custom action, any Help

Why I am getting blank value for SourceDir in a managed Custom Action in WIX?

自闭症网瘾萝莉.ら 提交于 2019-12-25 10:49:32
问题 Here is the code for the Product.wxs I am using: <Product Id="*" Name="abc" Language="1033" Version="1.0.0.0" Manufacturer="def" UpgradeCode="2b75c560-783e-4688-9a02-da09bf986597"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> <MediaTemplate /> <Binary Id="myCustomActionsDLL" SourceFile="..\SetupConfiguration\bin\debug\SetupConfiguration.CA.dll" /> <CustomAction Id=

WiX Toolset: install file with specific permissions

若如初见. 提交于 2019-12-25 09:58:20
问题 Using WiX, I'd like to install a file with permissions to read but not write (I don't even know if Windows will allow such blasphemy). Here's what I've tried: I import the UtilExtension dll with no problems, so I have no trouble accessing the <Permission/> and <PermissionEx/> elements (I don't know if the dll is needed for just the < Permission /> element, so I add it anyways). From there, I've tried every variation using both of these elements that I can think of. Here's a nice simple one

WiX Toolset: install file with specific permissions

筅森魡賤 提交于 2019-12-25 09:58:12
问题 Using WiX, I'd like to install a file with permissions to read but not write (I don't even know if Windows will allow such blasphemy). Here's what I've tried: I import the UtilExtension dll with no problems, so I have no trouble accessing the <Permission/> and <PermissionEx/> elements (I don't know if the dll is needed for just the < Permission /> element, so I add it anyways). From there, I've tried every variation using both of these elements that I can think of. Here's a nice simple one

WPF: How to make Calls to Dispatcher.Invoke() Synchronous?

岁酱吖の 提交于 2019-12-25 09:20:37
问题 In my MVVM based Wix Managed Bootstrapper application, while handling different events, I'm trying to show the user a view to get some input. It looks like Burn events are executing Asynchronously because using Dispatcher.Invoke(), it is skipping or passing by the view and hitting the last event, i.e not waiting for this input task to finish. Here is the event handler which needs to finish before hitting last one: Please note that when MessageBox.Show is popped, it waits until we close it.