Using WixSharp to build installer,
Is LaunchCondition shown when running in silent mode? (e.g "msiexec /i /qn /quiet")
Using WixSharp to build installer,
Is LaunchCondition shown when running in silent mode? (e.g "msiexec /i /qn /quiet")
Copyright © 2021 Jogjafile Inc.
Silent MSI installation:
Test Project: https://github.com/glytzhkof/WiXLaunchConditionTest (
MYVALUEis defined in the Property table - change it there to 0 or 1).Here is a sample log output:
Admin Rights: It should be noted that an MSI should be run from a
cmd.exewith admin rights - or you get no message from the silent installer that the setup failed because of lacking admin rights (the failure is from lacking admin rights, not because of the launch conditions).This registry script adds context menus in Windows Explorer which can open a
cmd.exein any folder with or without admin rights: https://github.com/glytzhkof/all/blob/master/HKCU_Run-CMD-Shell-Extension.reg. Just merge the registry file and then right click an empty space inside Windows Explorer in any folder. See the commands towards the bottom of the dialog: