Changed Product Name--How to clean up - 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!

dberlin
Posts: 1
Joined: Sun Feb 15, 2009 11:53 pm

Changed Product Name--How to clean up

I recently changed the Product Name for my installation, and I have a couple of questions. First, I figured out how to include my old .MSI in the upgrades tab to remove the version with the old name. However, it only seems to remove the .exe and not the whole product directory, Start menu folder, or entry in Add/Remove Programs. Is there something I'm doing wrong here? Is there a better way to remove my old software?

Second, I am using the Launch Application feature of the ExitDialog to launch my app when the install completes. However, after I install and it uninstalls the old version, Windows (XP) wants to reboot. So it launches the app and then the OS reboots. Is there a way to tell if Windows is going to want to reboot, and then conditionally launch the app? Or even better, schedule the app to launch after the reboot?

Thanks for the advice.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Changed Product Name--How to clean up

Hi,
I figured out how to include my old .MSI in the upgrades tab to remove the version with the old name. However, it only seems to remove the .exe and not the whole product directory, Start menu folder, or entry in Add/Remove Programs.
I'm not sure why you are encountering this behavior. Adding the old MSI in the "Upgrades" tab should make your new package automatically uninstall it. Do the packages use the same installation type (per-user or per-machine)? If so, can you please send us the AIPs of both packages to support at advancedinstaller dot com so we can investigate them?
Is there a way to tell if Windows is going to want to reboot, and then conditionally launch the app?
Unfortunately Windows Installer does not offer a way of detecting if a reboot will be required after install. However, you can try suppressing the reboots by using the Install Parameters page.
Or even better, schedule the app to launch after the reboot?
I'm afraid this is not supported by Windows Installer or by Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”