Reputation: 19061
I need to install .NET Runtime before installing my app.
I've read that it is impossible to run second installer after the first one started actions from InstallExecuteSequence
table. So, I'm looking for a way to start the second installation before actions from InstallExecuteSequence
start.
From here I know that generally installer runs actions from two tables: InstallUISequence
and InstallExecuteSequence
. In my case there is no UI so only from the second one. Also I need this action to run elevated that might be impossible for InstallUISequence table.
I can't use Wix Bundle as it would be EXE and I need to push the installer via Windows MDM that doesn't support pushing EXE.
Here is example of MSI log when installed via MDM:
MSI (c) (A8:44) [09:45:22:435]: Machine policy value 'Debug' is 0
MSI (c) (A8:44) [09:45:22:435]: ******* RunEngine:
******* Product: C:\Windows\system32\config\systemprofile\AppData\Local\mdm\{ED791820-21B3-4B58-B075-EB82EE1884BD}.msi
******* Action:
******* CommandLine: **********
MSI (c) (A8:44) [09:45:22:435]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (A8:44) [09:45:22:435]: Grabbed execution mutex.
Also MDM adds CURRENTDIRECTORY=C:\Windows\system32 CLIENTUILEVEL=3 CLIENTPROCESSID=<num>
to the command line.
So, is it possible to run another installer from an MSI by any means?
Upvotes: 0
Views: 30