wix3.5

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 Toolset I want the ActionData log to continue to be written as a scroll

醉酒当歌 提交于 2020-06-17 09:44:34
问题 If you add ActionData to the Subscribe event in Edit Control on Wix, the line is written and erased. I want the ActionData log to continue to be written as a scroll. 回答1: Burn : WiX Burn allows you to write your own GUI to run your installer. You should be able to implement whatever you want in terms of GUI if you go down that path. However: installers run quicker and quicker as IO becomes better, are you sure this is time well spent? I'd say just use logging and be done with it? See my

Install multiple exe with wix toolset

旧街凉风 提交于 2020-06-16 17:59:26
问题 I have three products which have their installers in .exe files. Let us say the installers for the three three products are Product_A.exe Product_B.exe Product_C.exe I want to create a msi file using wix toolset which will install these three exe installers. What is the best way to do this? I am new to these so please help. Any example would be highly appreciated I also plan to uninstall these products once I uninstall my msi. Thanks in advance for any help 回答1: Tools : There are a number of

why jpackage icon not used in windows search toolbar?

本秂侑毒 提交于 2020-06-16 17:25:26
问题 I am creating the installer using the following command. I am giving jpackage the icon to use jpackage --runtime-image hellofx --module hellofx/hellofx.HelloFX --win-shortcut --win-menu --icon smile.ico When i install the program the icon is used for desktop shortcut but in the search toolbar it still displays the default java icon. Is there a way to use the given icon in search toolbar as well? I appreciate any help. thanks! UPDATE: here it seems the icons are correctly applied to app icons

WiX - install windows service to run in x64 mode

ぃ、小莉子 提交于 2020-04-13 11:13:30
问题 I'm installing a Windows Service using WiX 3.5 and its ServiceInstall tag: <DirectoryRef Id="WindowsServiceContentDir"> <Component Id="WindowsServiceExecutableComponent" Guid="*" Win64="yes"> <File Source="$(var.WindowsServiceTargetDir)$(var.WindowsServiceTargetName).exe" KeyPath="yes" /> <ServiceInstall Id="WindowsServiceInstall" Type="ownProcess" Start="auto" ErrorControl="normal" Vital="yes" Name="[WIN_SERVICE_NAME]" DisplayName="Name" Description="Name" Account="[DENTITY_DOMAIN]\[IDENTITY

WiX - install windows service to run in x64 mode

折月煮酒 提交于 2020-04-13 11:12:22
问题 I'm installing a Windows Service using WiX 3.5 and its ServiceInstall tag: <DirectoryRef Id="WindowsServiceContentDir"> <Component Id="WindowsServiceExecutableComponent" Guid="*" Win64="yes"> <File Source="$(var.WindowsServiceTargetDir)$(var.WindowsServiceTargetName).exe" KeyPath="yes" /> <ServiceInstall Id="WindowsServiceInstall" Type="ownProcess" Start="auto" ErrorControl="normal" Vital="yes" Name="[WIN_SERVICE_NAME]" DisplayName="Name" Description="Name" Account="[DENTITY_DOMAIN]\[IDENTITY

WiX - install windows service to run in x64 mode

久未见 提交于 2020-04-13 11:12:17
问题 I'm installing a Windows Service using WiX 3.5 and its ServiceInstall tag: <DirectoryRef Id="WindowsServiceContentDir"> <Component Id="WindowsServiceExecutableComponent" Guid="*" Win64="yes"> <File Source="$(var.WindowsServiceTargetDir)$(var.WindowsServiceTargetName).exe" KeyPath="yes" /> <ServiceInstall Id="WindowsServiceInstall" Type="ownProcess" Start="auto" ErrorControl="normal" Vital="yes" Name="[WIN_SERVICE_NAME]" DisplayName="Name" Description="Name" Account="[DENTITY_DOMAIN]\[IDENTITY

Stop setup error inside Custom Action With WIX installer

主宰稳场 提交于 2020-01-30 02:58:31
问题 Can i able to stop the setup if any error display inside CustomAction. As i can able display error message inside custom Action and it's dispaly the error message but as soon as i click on ok button my next UI sequence form is appearing.How i will force user to finish button? Adding my source code: <Binary Id="BIN_CustomAction" SourceFile="CustomAction.CA.dll" /> <CustomAction Id="CA_CheckList" BinaryKey="BIN_CustomAction" DllEntry="CA_CheckList" Execute="immediate" Impersonate="yes" Return=

Using a WiX property from a browse dialog

可紊 提交于 2020-01-25 19:03:07
问题 I'm developing a setup project using WiX, and I have the following problem. I get a directory path from the user using the Browse dialog, and I need to put this path in web.config . The problem is that in web.config that puts the value in "WWWMain" and not the path chosen by the user. This is my code: Product.wxs <Property Id="IISLOGDIRECTORY" Value="WWWMain" /> Dialog.wxs <Control Id="IISLogDirectoryEdit" Type="PathEdit" X="45" Y="100" Width="220" Height="18" Disabled="yes" Property=

Using a WiX property from a browse dialog

别等时光非礼了梦想. 提交于 2020-01-25 19:02:27
问题 I'm developing a setup project using WiX, and I have the following problem. I get a directory path from the user using the Browse dialog, and I need to put this path in web.config . The problem is that in web.config that puts the value in "WWWMain" and not the path chosen by the user. This is my code: Product.wxs <Property Id="IISLOGDIRECTORY" Value="WWWMain" /> Dialog.wxs <Control Id="IISLogDirectoryEdit" Type="PathEdit" X="45" Y="100" Width="220" Height="18" Disabled="yes" Property=