PDA

View Full Version : Start exe minimized from custom action deferred run



SGSlavendea
02-05-2017, 03:13 PM
Hi.

I am trying to start an exe that is installed as part of my msi to start minimized.

If I execute my exe directly outside of the msi, using START /min "" /b "path_to_exe" - it starts minimized as expected.

However, if I use a 1266 custom action (EXE from property, command line: START /min "" /b [PropertyName] (Async (No wait for Completion), Deferred Execution, Property correctly entered (Path to exe) (including case) in Property Manager) the exe runs correctly as part of the install, but not minimized.

Firstly, does anyone know why this doesn't work, and secondly - what would be an alternative example?

Thanks,

Andrew.