0
votes

I have a custom action that no longer exists (I deleted it and it is no-where to be seen at all in InstallShield. I compile and rebuild InstallShield. When I click "Run" to install the product, it gets close to the end, then spouts:

error #1721: Cannot execute "Run_exe.exe".

The custom action no longer exists, and it still seems to attempt to run it... I took it out of the list of events as well. Why is it doing this when I have completely removed it?

3
What is the project type, MSI or InstallScriptMSI? - epotter

3 Answers

3
votes

If your ISM file is stored in the XML format, I would open the ISM file with a text editor and search for the name of the custom action. That should indicate where it is still being referenced.

1
votes

Perhaps it didn't truly get deleted? Try going through InstallShield's "Direct Editor". Go to the "CustomAction" table. Right-click the custom action you want removed and select "Drop row".

0
votes

I get errors like that cropping up all the time, because I make a lot of changes to the installer from version to version. The only way I've found to deal with it is to start a new project and copy all the properties from one to the other. Not very efficient, granted, but it's better than nothing.