wix

Cannot read input from Bootstrapper variable in Managed Bootstrapper Application C#-Code

南笙酒味 提交于 2020-04-22 07:49:50
问题 I have programmed setup with a managed bootstrapper application. In my solution are the following projects: - Setup.msi : The MSI-project to install - Setup.UI.dll : The WPF-GUI for the installation process - Bootstrapper.exe : The bootstrapper-project - Launcher.exe : A WPF-app to start the bootstrapper In the bootstrapper bundle i have defined a variable for the installationfolder: <Variable Name="INSTALLFOLDER" bal:Overridable="yes" Type="string" Value="[ProgramFilesFolder]"/> This

WIX Installer - is there any automated way of managing Product ID / Code?

三世轮回 提交于 2020-04-16 05:53:11
问题 I'm developing a Windows Service installer using Wix. From what I understand, I should generate a unique Product ID for every Version of the service. This can be easily done by setting "*" in the Product Id attribute. However, when I do this and I rebuild the installer, it generated a different guid for every build. When I already have any version of service installed on my machine, this causes several problems: i.e. 'exe' file remaining after uninstall process being finished, multiple

Add pages to installer -Wix Toolset

时光毁灭记忆、已成空白 提交于 2020-04-16 02:16:45
问题 I'm looking for a way to add new pages to installer with its own interface. Ultimately, I would like my installer to do many things in turn, enabling the user to go to the next pages and check or set subsequent configurations. But at the moment I'm looking for how to add an additional page that would run before installation and check if the computer has the required programs to install the application. I would like to attach my ready code to c # to check if these programs are installed on the

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

Set .NET CLR Version to No Managed Code

大城市里の小女人 提交于 2020-04-06 10:05:58
问题 Im trying to build an installer for my asp.net core service, but im having problems setting the .NET CLR Version on IIS app pool. Is there any way to set it to No Managed Code ? Setting <iis:WebAppPool ManagedRuntimeVersion="No Managed Code"> results in error The worker process failed to pre-load .Net Runtime version No Managed Code. 回答1: Solution is to use "" instead of "No Managed Code" when setting ManagedRuntimeVersion. 回答2: The iis:WebAppPool/@ManagedRuntimeVersion attribute's value

Set .NET CLR Version to No Managed Code

时光毁灭记忆、已成空白 提交于 2020-04-06 10:04:25
问题 Im trying to build an installer for my asp.net core service, but im having problems setting the .NET CLR Version on IIS app pool. Is there any way to set it to No Managed Code ? Setting <iis:WebAppPool ManagedRuntimeVersion="No Managed Code"> results in error The worker process failed to pre-load .Net Runtime version No Managed Code. 回答1: Solution is to use "" instead of "No Managed Code" when setting ManagedRuntimeVersion. 回答2: The iis:WebAppPool/@ManagedRuntimeVersion attribute's value

WiX: How to restart the explorer.exe immediately?

廉价感情. 提交于 2020-03-23 12:00:26
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

WiX: How to restart the explorer.exe immediately?

落爺英雄遲暮 提交于 2020-03-23 12:00:11
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>