Your instructions helped me run the uninstaller at the right times; but now I'm running into another issue - the uninstall string in the registry doesnt include the '/A' switch that I need in there to make this uninstallation run unattended/silent/automatic. How could I remedy this?
Code: Select all
[UNWISE] /A c:\Progra~1\myprogram\install.log
the code above works, but will give popup errors complaining when the custom action runs when the legacy exe version of my app is not installed. ( the unwise property returns null and hence the command line string doesnt make sense anymore - it returns an error not knowing what to do with /A )
Other Ideas I've tried - I have a .vbs script that I wrote that will do everything I need, but I get errors when I run the custom action:
installed custom action
error reading from file ... verify that file exists and that you can access it. (it doesnt exist yet because my custom action runs before the MSI installs files)
attached custom action
There is a problem with this Windows Installer Package. A script required for this to install to complete could not be run. Contact your support personnel or package vendor.
I really appreciate your ideas!