.msi bootstraper for no UI mode #1520
Replies: 1 comment 1 reply
-
Yes, the SimplifiedBootstrapper is targeting UI-based installs. You are right. WiX or NSIS bootstrapper seems to be the right tool for that. And you are right again. The bootstrapper is nothing else but an exe that embeds an MSIs and simply invokes them at runtime. You can even easily create a simple custom console-based exe that does exactly that with ~40 likes of code. "External_UI/ConsoleSetup" sample is the one that shows the technique. However if you have such a constraint that you need to have a single msi then it is more complicated but doable.
|
Beta Was this translation helpful? Give feedback.
-
I would like to install my service, which is created in .net 8, with the help of a group policy. It is very likely that .net 8 isn't installed on the machines. Therefore I would like to install it automatically before my service get's installed. As I want to install my service with the help of a group policy, my installer needs to be a msi, because gpo's only support the installation of .msi files. Unfortunately I can't easily use a Simplified Bootstraper as the InstallUISequence is not fired in the no UI mode. But it seems that all the "normal" bootstrapers produce a .exe file which calls the msi's.
Is there any way to get a .msi bootstraper or to ensure that .net 8 will be installed before the installation of the service starts?
Beta Was this translation helpful? Give feedback.
All reactions