Closed Torchok19081986 closed 3 years ago
It is a ClickOnce deployment, which is a MS alternative to MSI. At least it looks like it is what teh article is talking about. Thus there is no overlap with neither WiX nor WixSharp.
But I am nos sure which msi you loaded to Orca. ClickOnce deployment does not have MSI files
Morning Oleg. After building the Installer i got like in description on MS , setup.exe and myproduct.msi. https://docs.microsoft.com/en-us/visualstudio/deployment/installer-projects-net-core?view=vs-2019 The output msi file is same. MS Project installer Type for normal .NET Framework before Net 5.0. There is only one difference to normal Installer. Before Installer do something, CMD Window appears and check with dotnet.exe something . Dotnet.exe comes with Net 5.0 after install windows-runtime prerequires. Maybe some MS "magic". as Reference : https://docs.microsoft.com/de-de/dotnet/core/tools/dotnet-msbuild
i found one video on youtube for net core installer with wix: https://www.youtube.com/watch?v=6Yf-eDsRrnM
somehow is possible.
Morning Oleg, after some research and some thinking . AFAIK is net 5.0 is both Net Framework and Net Core together. What if we try to create normal msi with Net Framework and check for net core in registry ? All we need to do customize internal checks for exampla installed net core from registry etc. and execute CA normal in Net Framework ? dotnet exe check for net core with publish parameter, why to use it as embeded source and call it in beforeinstall event ? What do you think ? Can this thoughts find your agreement?
Hallo Oleg, i dont know if someone already asked for net core installer wix sharp. I ask anyway. I found https://docs.microsoft.com/de-de/visualstudio/deployment/installer-projects-net-core?view=vs-2019 and already tested it. Somehow installer can be created and net core app, net core depend, is installed. Also check for net core is exists. Investigate of msi with orca, give me following screenshot.
Any way to achieve same , with pure wix or wixsharp?