I have a batch file test.bat in my Application Folder and the .bat file contains one line:
echo Hello > C:\out.txt
In the InstallExecuteSequence | Install folder I have created a Custom Action using the New Custom Action Wizard. I have select the 6th item Open Another Kind of File, and the source is A File Installed by this Package. I choose the source file test.bat from the file list dialog, and the source file shows as APPDIR\test.bat and in the Standard Action dialog I select Install. After I select Finish button the Properties dialog show the Source Path as C:\ProgramFiles\Caphyon\Advanced Installer 6.4\custact\viewer.exe, Source Type as *.exe, and the Command Line as [#test.bat]. I also have Synchronous execution, ignore return code, Deferred, Execute Always, and Execution Condition NOT installed.
When I run the .msi created by AdvancedIinstaller I get an error message "This file does not have a program associated with it for performing this action."
What am I missing?
Thanks
Ken
FOLLOW US
Get the latest news in Application Packaging