wix

Problem with Wix uninstall using CustomAction

戏子无情 提交于 2021-02-16 20:24:31
问题 I've created a very simple MSI which copies some files to the ProgramFiles directory and while installing calling to custom actions found in a binary written in C#. While installing, I can easily call any custom action I want. For example I've created an installation step where the user should enter a license, and after confirming the license it is checked against a server using logic written inside C# custom action. But, when uninstalling, every time I add a custom action (even if it does

Problem with Wix uninstall using CustomAction

本秂侑毒 提交于 2021-02-16 20:24:08
问题 I've created a very simple MSI which copies some files to the ProgramFiles directory and while installing calling to custom actions found in a binary written in C#. While installing, I can easily call any custom action I want. For example I've created an installation step where the user should enter a license, and after confirming the license it is checked against a server using logic written inside C# custom action. But, when uninstalling, every time I add a custom action (even if it does

From command line download latest Java SE Runtime Environment 8 on Windows

半腔热情 提交于 2021-02-16 19:53:14
问题 On a Windows server, I am looking for a robust way to download latest Java SE Runtimes from command-line . My requirement is to check if java is installed on the system. If java is not found, our MSI installer (created with WIX) need to connect oracle java download page and silently download java installer in the background and invoke the installer silently. Download option can be in VB script/PowerShell/batch/Java Installing java silently is easy with jre-8u121-windows-x64.exe /s option. I

Single Package Authoring

早过忘川 提交于 2021-02-11 15:45:09
问题 I am trying to create Single Package Authoring installation using following tutorial - http://www.egoroff.spb.ru/blog/62003.html Main wix file is following: <?xml version='1.0' encoding='windows-1252'?> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> <Product Name='Foobar 1.0' Id='GUID' UpgradeCode='GUID' Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme Ltd.'> <Package Id='*' Keywords='Installer' Description="Acme's Foobar 1.0 Installer" Comments='Foobar is a

Access content of packaged XML file within custom action during installer's UI phase

让人想犯罪 __ 提交于 2021-02-11 14:53:06
问题 I am maintaining a WiX installer that already has a working UI and that executes a couple of custom actions during the UI phase. The current and working state depends on a number of property values being hardcoded in the .wxs file. I would like to change this: Instead of hardcoding the values I would like to gather them dynamically at installation time. I need this to happen already while the UI is being shown, because the property values impact the UI logic. Now the problem is that fragments

Wix Installer won't build on buildserver

僤鯓⒐⒋嵵緔 提交于 2021-02-11 14:25:10
问题 I have tried to build a Wix MSI using our build server. I have set the build configuration in the Configuration manager to DEBUG/x86. All the other projects build correctly EXCEPT for the Wix Installer. Initially there was an error requesting the latest version of WIX was installed on the build server "The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" so I follwed this - https://subscription

WiX installer: can we add a new element in web.config using a patch when it is set to NeverOverwrite=yes in its initial msi

那年仲夏 提交于 2021-02-11 06:10:08
问题 I am working on a web application. the Web.config file is set to NeverOverwrite (=yes) in its initial installation. Now i need to add DBproviderfactories like below. Can i add this entire block using XmlFile in a patch.msp? I do not want to write a custom action. All I need is to add this block in the web.config. Any suggestion here is appreciated. <system.data> <DbProviderFactories> <!-- Remove in case this is already defined in machine.config --> <remove invariant="Oracle.ManagedDataAccess

Unresolved reference to symbol 'WixUI:WixUI_InstallDir' in section for JAVA FX Deploy

隐身守侯 提交于 2021-02-10 18:37:27
问题 I created a java fx application and am customizing the MSI installer. I added my Software.wxs to the package/windows directory and I am getting the error: Unresolved reference to symbol 'WixUI:WixUI_InstallDir' in section I understand I need to reference C:\Program Files (x86)\WiX Toolset v3.11\bin\WixUIExtension.dll which I have seen documentation for in visual studios & in command line but I am using eclipse with the build.xml ANT deploy. If i do not reference any WixUIExtension's my

How to - Get Oracle.ManagedAccess driver to work with Installed VB.Net Application

强颜欢笑 提交于 2021-02-10 18:00:59
问题 I have a 32bit Application to Install on Win10 (x64 OS). All my Oracle functionality works from within the debugger. Oracle.ManagedAccess driver is correctly registered in the VS Projects and the application works as expected from within the debugger. However, when I build my WiX-Based install pack and run the installed application I get the following error: What am I missing here? In the previous VS2013 incarnation of the code as recently as last month using the ODP.NET driver 'Oracle

How to - Get Oracle.ManagedAccess driver to work with Installed VB.Net Application

限于喜欢 提交于 2021-02-10 17:59:24
问题 I have a 32bit Application to Install on Win10 (x64 OS). All my Oracle functionality works from within the debugger. Oracle.ManagedAccess driver is correctly registered in the VS Projects and the application works as expected from within the debugger. However, when I build my WiX-Based install pack and run the installed application I get the following error: What am I missing here? In the previous VS2013 incarnation of the code as recently as last month using the ODP.NET driver 'Oracle