wix

WIX - Run custom action on installation cancellation

本小妞迷上赌 提交于 2021-01-27 07:30:11
问题 I'm wirintg an installer using WIX and I need to execute a custom action when a user press the "cancel" button. I've created a custom action but I don't seem to find where to use that action. Any ideas how can I do that? 回答1: Try something like: <Custom Action="MyAction" OnExit="cancel">1</Custom> 回答2: OnExit="cancel" may fail if standard WIX UI is used (WIX assigns another action to "cancel" event). Action execution could be assigned to finish button in this case <Publish Dialog="UserExit"

WIX - Run custom action on installation cancellation

為{幸葍}努か 提交于 2021-01-27 07:29:38
问题 I'm wirintg an installer using WIX and I need to execute a custom action when a user press the "cancel" button. I've created a custom action but I don't seem to find where to use that action. Any ideas how can I do that? 回答1: Try something like: <Custom Action="MyAction" OnExit="cancel">1</Custom> 回答2: OnExit="cancel" may fail if standard WIX UI is used (WIX assigns another action to "cancel" event). Action execution could be assigned to finish button in this case <Publish Dialog="UserExit"

VS 2015 Error:The WiX Toolset v4 build tools must be installed to build this project

妖精的绣舞 提交于 2021-01-27 07:12:53
问题 I have VS 2015 and I have installed Wix v3.10 but when I try to build the setup project it shows me this error: The WiX Toolset v4 build tools must be installed to build this project. I don't want to install wix v4 because it's not stable yet. How I can get rid of this error? 回答1: Had this error too with VS2017 and WiX 3.11. I had added WiX Toolset v4 Setup Project as a new project in my solution instead of WiX Toolset v3 Setup Project. I kept getting the same error upon build. So I added a

WIX Installer UI: Tooltip for Icon/Bitmap

不羁岁月 提交于 2021-01-05 12:49:14
问题 I'm using WIX toolset to build an installer for my product. I would like to place the question mark icon next to Edit to show the tooltip with the explanation of why this value is needed. I've tried to do it with Icon, Bitmap, and Text, but hovering mouse on them doing nothing. My code is: <Control Id="EditToBeExplained" Type="Edit" X="40" Y="65" Width="220" Height="15" Property="IMPORTANT_PROPERTY" Text="{80}" ToolTip="Used for very important stuff."></Control> <Control Id="ExplanationIcon"

WIX Custom Action modify file in INSTALLFOLDER after InstallFinalize

不羁岁月 提交于 2021-01-04 06:36:52
问题 I have written a C# custom action for my WIX V3 Installer which is supposed to modify my appsettings.json in the INSTALLFOLDER . The action´s Execute-attribute is set to immediate and Impersonate="no",it is called after InstallFinalize but it encounters a problem within this action which is the missing admin permission. The action modifies appsettings.json in the INSTALLFOLDER which is Program File (x86). The custom action reads, deserializes, modifies, and serializes the data normally with

WiX: Utilizing multiple cabs in a very large application

无人久伴 提交于 2020-12-30 15:00:33
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: Utilizing multiple cabs in a very large application

和自甴很熟 提交于 2020-12-30 14:50:38
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: Utilizing multiple cabs in a very large application

折月煮酒 提交于 2020-12-30 14:48:13
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: Utilizing multiple cabs in a very large application

泪湿孤枕 提交于 2020-12-30 14:43:22
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not

WiX: Utilizing multiple cabs in a very large application

╄→尐↘猪︶ㄣ 提交于 2020-12-30 14:42:58
问题 I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Light.exe error "LGHT0296", most likely because I was creating a CAB that was much greater than 2 GB. After trying for the highest compression level, and having that not