Posts

Showing posts with the label Wix

Wix Installer

Wix Installer Wix v4.  Found HeatWave and FireGiant. That should get me going: https://www.firegiant.com/docs/wix/tutorial/  . Wix v4 - When right click and upgrade project from v3, it fails to put the Heat.exe to the Setup project + "Bin" folder name. If going to .NET 8: 1) Setup.wixproj -                <TargetFrameworkIdentifier>net8.0</TargetFrameworkIdentifier>       <Runtime>win-x64</Runtime> 2) Need to create a new IIS app pool that is .NET 8 and x64 (instead of x86)   If Upgrade of Existing DLL: Package.wxs -  The upgrade code is important so it uninstalls and installs over:    UpgradeCode="815d1d89-0b82-4bf2-aff4-77c7cea8a9a3

Store vs Corp

 1) Need MSI on store side.  No MST on corporate needed. 2) App Settings different:      appsettings.Store-Development.json      appsettings.Store-Staging.json      appsettings.Store.json 3) Need to adjust so reads newer JSON: var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Development"; var builder = new ConfigurationBuilder().SetBasePath(AppContext.BaseDirectory)     .AddJsonFile("appsettings.json", optional: false, reloadOnChange: false)     .AddJsonFile($"appsettings.Store-{environment}.json", optional: false)     .AddEnvironmentVariables(); IConfiguration configuration = builder.Build(); services.AddSingleton(s => configuration); 4) Use the later Wix 4 5) Adjust for the fact that application is using the win10-x64 runtime with Net 6 whereas yours is win-x64 6) Ensure version numbers are done correctly 7) Don't forget to view MSI contents using Orca