I have written a small exe to be run as a custom action during install. However, when testing the installer I keep getting the following error:
There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.
I know the exe runs fine because I can run it by itself and it works properly. I placed some error checking in the exe and found that during the installation the exe was being run from a windows directory instead of the applications install directory which is where the exe is installed to. Finally I found the custom actions: exe with working dir.
I have a strong suspicion that the problem is caused by syntax in the Full Path option in the Custom Action Properties. Currently I have tried [APPDIR]\MFC.exe and several forms of that with no luck. What is the proper syntax I need for a program called MFC.exe that is located the applications install directory?
Thanks,
Justin
FOLLOW US
Get the latest news in Application Packaging