Dear Support,
I previously posted this topic (http://www.advancedinstaller.com/forums ... =2&t=30463) and decided to use a different approach instead (uninstall old version created from Visual Studio and install new version created from Advanced Installer) since I don't know the Product code of the existing product.
Now, I want to run a batch file (refer to the code below) that uninstall an existing application. It was working fine if I clicked it directly (usually it would take 9 seconds to complete).
//==================
@Echo off
Echo This is a batch file uninstallation program.
Echo Run as administrator WMIC will not work.
echo.
wmic /INTERACTIVE:OFF product where name="MyApplication" call uninstall
//==================
Then I followed the article in your site(http://www.advancedinstaller.com/user-g ... -file.html) and was able to add the batch file in the installer and build. Now I'm having a problem, it seems that it's not running(or has errors) and my old application still there even after the installation was completed.
Note: Both application resides in the same directory. Please refer to my Custom Actions screen (custom_action_barchfile.png) in the attached file.
Best Regards,
Glenn