I read this thread Run exe after msi installation?
I followed the instructions and I have weird problem. When I install the MSI from VS (right-click on installer project and select install), the script works perfectly but when I run the installation from the MSI file I see the checkbox but it does nothing – the application doesn't run.
Anyone know what can be the cause for this?
msiexec /i product.msi /lvx* installation.log
. Replaceproduct.msi
with the name of your MSI file. The log will be written toinstallation.log
file. Look around the end of the log where you're trying to start your application: search for property name associated with your checkbox control and check whether Custom Action to start is run or not. – Alexey Ivanov