RemoveExistingProducts - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

duggit
Posts: 5
Joined: Thu Aug 07, 2008 9:13 pm

RemoveExistingProducts

I am able to run unwise.exe to uninstall an old wise package during the RemoveExistingProducts phase, but my problem is that the installer is not waiting for unwise.exe to finish the uninstall. I can tell that my MSI is installing files at the same time as the unwise.exe is removing them. (many of the files are identical)

I've tried Synchronous Execution - check return code, and Asynchronous Execution - wait for return code at end of sequence... but neither seem to make the installer wait for the unwise.exe uninstaller to finish before going through with the installation. Any ideas?
Thanks,
Nick
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: RemoveExistingProducts

Hi Nick,

Does "unwise.exe" perform the actual uninstall process or it launches another file? For the "Synchronous execution, check return code" option Windows Installer will launch the file and wait for it to finish. Therefore, the installation should continue when the EXE finishes its task.

If the problem persists, please send us the AIP you are using to support at advancedinstaller dot com so we can investigate it. Also, please attach a verbose log of the install process.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
duggit
Posts: 5
Joined: Thu Aug 07, 2008 9:13 pm

Re: RemoveExistingProducts

I tested it again and it must have been my mistake, because it's now waiting for the return code... thanks for the quick response Cosmin.

Return to “Common Problems”