wix

Wix installer based TopShelf windows service fails to start

我怕爱的太早我们不能终老 提交于 2020-01-24 18:48:45
问题 I have written a bare-bones .NET 4.7.2 C# Windows Service using TopShelf and Quartz. The service works when I debug it using Visual Studio 2019 on my Windows 10 laptop. I then created a Wix 3.11.2 based setup to install and start this service. Now, I am trying to install the service on my laptop using this installer. The installer is able to copy the files but fails to start the service. Here is the code: Product.wxs <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft

Installer to Install one or more programs

梦想与她 提交于 2020-01-23 12:46:19
问题 We have around 8 different programs each with its own MSI / EXE installer. What is the best way to create a single installer that will give users a list of the 8 different programs and then based on the apps the user wants to install they will start the installer one by one. The installer can run and just launch the app installers one by one and don't need to automatically install all the apps behind the scenes. Thanks 回答1: I'd use the free InnoSetup for that. It also comes with Pascal

Using WiX to package an installer with many files

荒凉一梦 提交于 2020-01-23 02:59:06
问题 I have a WiX 3 project that has hundreds of files, and I can't seem to figure out how to include them all using a wildcard. I have tried this: heat.exe" dir ".\!Build" -gg -ke -template:fragment -out "Files.wxs" This produces a fragment .wxs file, but I'm not sure what to do with it. Any help would be much appreciated. 回答1: Try this command heat dir "Your_Directory" -gg -ke -template:Product -out "Files.wxs" It will create this structure in the generated wxs file {Files.wxs}: <Fragment>

Wix - Custom installation directory

假装没事ソ 提交于 2020-01-22 19:54:12
问题 I'm using Wix 3.x and the user should be able to choose the target directory. My Setup.wxs is currently like here: http://pastebin.com/uH1EjbDQ What is the simplest way to ask the user for a custom target directory? (INSTALLDIR/TARGETDIR?!) I have seen example in which people build there own dialog pages but this isn't really necessary, is it? Update: When I add <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/> <UIRef Id="WixUI_InstallDir" /> after <UIRef Id="WixUI_Mondo" /> but before <

How to check for .net framework 4.7.1 with Wix 3.11

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-22 14:59:13
问题 I am trying to check for .net Version with Wix 3.11 via Condition. This works fine until 4.5 like this: <PropertyRef Id="NETFRAMEWORK45" /> <Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework then run this installer again."> <![CDATA[Installed OR NETFRAMEWORK45]]> </Condition> Checking for anything above 4.5 seems not to be possible - at least not with this mechanism. How can I do that? 回答1: That method (PropertyRef) is syntactical sugar. The

How do I make a WiX 3.5 installer with a completely self-contained .NET 4.0 installer?

一曲冷凌霜 提交于 2020-01-22 14:36:04
问题 Continuing a previous question I asked here, I now need to move to vs2010. I've gotten the most recent weekly build of WiX 3.5, the June 5th 2010 version. Here's the relevant lines from my installer: <ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.4.0"> <ProductName>.NET Framework 4.0</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.4.5"> <ProductName>Windows Installer 4.5</ProductName> </BootstrapperFile> </ItemGroup> and

Installing SQL Server 2014 Express as a prerequisite in boostrapper

北战南征 提交于 2020-01-21 10:09:03
问题 I am trying to use boostrapper (Wix 3.11) to set up an installation, with SQL Server 2014 Express as a prerequisite. It works well when I install setup.exe or SQLEXPR_x64_ENU.exe with command line. The command line is the following : SQLEXPR_x64_ENU.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSYSADMINACCOUNTS="NT AUTHORITY\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS

Installing SQL Server 2014 Express as a prerequisite in boostrapper

…衆ロ難τιáo~ 提交于 2020-01-21 10:08:28
问题 I am trying to use boostrapper (Wix 3.11) to set up an installation, with SQL Server 2014 Express as a prerequisite. It works well when I install setup.exe or SQLEXPR_x64_ENU.exe with command line. The command line is the following : SQLEXPR_x64_ENU.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSYSADMINACCOUNTS="NT AUTHORITY\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS

Installers: WIX or Inno Setup? [closed]

时光怂恿深爱的人放手 提交于 2020-01-20 13:35:59
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 7 months ago . I'm comparing these two tools. The impression I have is: Inno Setup does not produce an MSI, but can do everything WIX can do WIX does produce an MSI, but has a steep learning curve Do you agree with this characterization? What other differences are there? How does WIX#

Installers: WIX or Inno Setup? [closed]

ε祈祈猫儿з 提交于 2020-01-20 13:35:09
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 7 months ago . I'm comparing these two tools. The impression I have is: Inno Setup does not produce an MSI, but can do everything WIX can do WIX does produce an MSI, but has a steep learning curve Do you agree with this characterization? What other differences are there? How does WIX#