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!

Barry
Posts: 1
Joined: Wed Dec 12, 2007 11:23 am

Product Evaluation - InstallShield migration

Hi, I have a product that is currently installed using an older version of InstallShield that is no longer usable due to Vista issues. I would like to move to Advanced Installer but I have a few questions I need to answer first:

1. Upgrading Existing Installations
How do I handle upgrading customers that have used the existing InstallShield installer? I don't want them to uninstall the previous version and loose data/settings etc. I also would prefer to not have two uninstallers in add/remove programs for my product.

2. Detecting a running program.
How do I detect if my program is running (and optionally stop it) before I upgrade a user

3. UAC in vista
I think my installation type will need to be "Per-user with administrator rights required" as we install into the Program Files folder. I assume this means that the installer will run as an Administrator user. My question is if I run my program, either from the Launch Application option or from an action, what context does it run in? Will it be run as an Admin too or will it be run as the original user?

4. Windows Installer 2.0
I will be building our installer as a bootstrapped exe. What happens if the correct version of Windows Installer is not available?

Thanks in advance,

----
Barry Paul
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Thank you for your interest in Advanced Installer.
1. Upgrading Existing Installations
This can be done by using the "Upgrades" page. You can read more about this page here:
http://www.advancedinstaller.com/user-g ... rades.html
Also, there is a similar discussion on the forum, please take a look:
http://www.advancedinstaller.com/forums ... +installer

Please note that in order to upgrade the old InstallShield installation the new MSI will first remove it and then install the new MSI. If you have some files that need to remain on the target computer then you can use custom actions to backup and restore them. We have a How-To for this, please take a look:
http://www.advancedinstaller.com/user-g ... le-ca.html
2. Detecting a running program.
During an upgrade process, Windows Installer automatically detects if a program modified by the installation is used and prompts the user with the "FilesInUse" dialog to allow him to stop it.

However, if you want to do this automatically (without prompting the user) then you can use a custom action. You can read more about custom actions here:
http://www.advancedinstaller.com/user-g ... -page.html
3. UAC in vista
If you launch your application by using the "Launch My Application" checkbox on "ExitDialogDlg" then the application will run without elevated rights.

This is a feature of Windows Installer that prevents a limited user to run an application with elevated rights only once (for example, if he saves something in the Program Files folder, the next time he launches the application he will not be able to modify what he saved because he doesn't have enough privileges).

However, if you need to launch your application with elevated rights then you can use a "Deferred with no impersonation" custom action that launches your application.
4. Windows Installer 2.0
The MSI packages created with Advanced Installer use the Windows Installer 2.0 (or higher) installation engine. If it is not found on the target computer then the package will give an error and inform the user.

I recommend that you add Windows Installer 2.0 (or higher) as a Prerequisite for your application. This way, if the required Windows Installer version is not found on the target computer, the MSI package will prompt the user to install it.

You can read more about Prerequisites here:
http://www.advancedinstaller.com/user-g ... requisites
http://www.advancedinstaller.com/user-g ... tware.html

If you have other questions, don't hesitate to ask.

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

Return to “Feature Requests”