I have version 12.4.2 and I am having an issue with the uninstall process.
I have an installed .VBS file which calls an installed .BAT file to remove a line in the HOSTS file which was added during the install process.
It appears that the files used during the uninstall process are being removed from the hard drive before they are being called to run. Thus, I get an error that they can not be found.
The VBS file properly runs the BAT file when called from a command line so I know the scripts work. The scripts worked in the prior version 8.4 Advanced Installer I was using so I am confident they are correct.
However, the Custom Actions section of Advanced Installer has changed quite a bit, and I am unable to find the 'Uninstall' section to order the uninstall steps properly. I had no problems with this in version 8.4. The current version 12.4.2 does not seem to have any control over the uninstall order. Maybe I am missing something here, but I just do not find any details on this in the online documentation, or the forums.
I have tried making these attached files, but this does not seem to work. The VBS file needs to call an installed file it seems. The VBS is 'quietly' running a command window which deletes a line of text if needed.
Can I not do this anymore with the new version?
Attached is my AIP file and the scripts for your consideration.
Thanks,
Steve Stout
Kagan Publishing
FOLLOW US
Get the latest news in Application Packaging