wix

WIX installer toolset - SQL Server and IIS express installation [closed]

一世执手 提交于 2021-02-05 11:47:30
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 months ago . Improve this question I have WIX installer with some custom UI screens out of which I have one custom UI screen with two radio buttons on it.i just want to install SQL Server Express and IIS Express depending radio button selection.How can i implement this functionality. I am using

Adventures in Installing a C#/WPF Application (WiX)

折月煮酒 提交于 2021-02-05 08:25:33
问题 I've got a C#/WPF application that is one step up from simple - it's got the main application, a couple of libraries, and then some NuGet packages. If I look in the project's bin/release/netcoreapp3.1 directory, there's a single EXE, a couple of JSONs, and a bunch of DLLs (some of which have PDBs). Nothing too crazy. The client wants an installer which doesn't sound like an unreasonable request. I first try the installer that comes with Visual Studio 2019 and am astounded at how useless it is

Adventures in Installing a C#/WPF Application (WiX)

旧城冷巷雨未停 提交于 2021-02-05 08:25:09
问题 I've got a C#/WPF application that is one step up from simple - it's got the main application, a couple of libraries, and then some NuGet packages. If I look in the project's bin/release/netcoreapp3.1 directory, there's a single EXE, a couple of JSONs, and a bunch of DLLs (some of which have PDBs). Nothing too crazy. The client wants an installer which doesn't sound like an unreasonable request. I first try the installer that comes with Visual Studio 2019 and am astounded at how useless it is

Elevated Immediate Custom Actions

随声附和 提交于 2021-02-05 07:10:41
问题 I have a request that I know many will shout about but I don't have any other way around it. In my WIX setup I have a dialog that uses the properties set in the setup to determine a product name(with version type etc) that ties in with our algorithm and a lock code that needs to be produced. Based on these the user enters their unlock key and the custom action pulls the details from all three text boxes to ensure it is correct. I did not write the algorithm for creating these and

Copying multiple files using wildcards/recursively using Wix

安稳与你 提交于 2021-02-04 22:39:52
问题 I'm a total noob on Wix (and installers in general) so please forgive me. My goal is to be able to traverse a directory, search for all, say, *.exe files and copy them to a predefined destination folder. Thing is, I don't know what these files are and their names so I can't type them out one by one in the wxs file... hence wildcards. Now, I ended up with something like this: ... <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='MyDir'

Copying multiple files using wildcards/recursively using Wix

混江龙づ霸主 提交于 2021-02-04 22:39:08
问题 I'm a total noob on Wix (and installers in general) so please forgive me. My goal is to be able to traverse a directory, search for all, say, *.exe files and copy them to a predefined destination folder. Thing is, I don't know what these files are and their names so I can't type them out one by one in the wxs file... hence wildcards. Now, I ended up with something like this: ... <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='MyDir'

Is it possible to add dialog box for uninstallation in wix?

半城伤御伤魂 提交于 2021-02-04 20:55:33
问题 I want to add customized dialog box for uninstallation of my application. I have also tried the following: <InstallUISequence> <Show Dialog="RemoveDlg" OnExit="success">REMOVE="ALL"</Show> </InstallUISequence> Is it possible or not in wix? Can anyone help me out with this? 回答1: While you can certainly author dialogs that are specific to product removal, uninstallations started from the remove button in Add or Remove Programs (now Programs and Features) are run without the UI sequence, and

“Downgraded” MS dll disappears on upgrade - Windows Installer

和自甴很熟 提交于 2021-02-04 19:15:06
问题 We have developed an application that is distributed through Windows Installer, created with the use of WiX, where our customers can upgrade from any older version to the newest. Our latest version however, deletes 2 dll's, and this is only rectified through a reinstall. Details on the NuGet packages Microsoft.IdentityModel.Protocol.Extensions was upgraded from Nuget Version 1.0.2.206221351 and File version 1.0.20622.1351 to Nuget version 1.0.4.403061554 and File version 1.0.4.54. Similar

Wix UI customization: Adding InstallScopeDlg to WixUI_Minimal

淺唱寂寞╮ 提交于 2021-01-29 20:27:30
问题 I am trying to add the InstallScopeDlg to my installer using Wix. Because InstallScopeDlg is only available in WixUI_Advanced but I don't need the other dialogs from that UI, I decided to create my own UI by copying WixUI_Minimal code and renaming to WixUI_MyMinimal . Then I changed some of the sequences and button names so I could put InstallScopeDlg after the WelcomeEulaDlg and before ProgressDlg . I also copied the other required dialogs to my Wix project in visual studio. The interface is

Remove other software on installation

只愿长相守 提交于 2021-01-29 08:06:28
问题 When installing my software I need to take care another msi package is uninstalled before. Is this possible? Can burn do this for me? 回答1: MSI / Major Upgrade : You can add entries to the Upgrade table in one or all of the MSI files you install. Then the older / other MSI will be uninstalled before (or after) your MSI is installed. This is MSI's built in "major upgrade" feature intended to deliver upgrades for your own products, but you can uninstall any product you want that is MSI-based -