slonial
Posts: 13
Joined: Mon Dec 12, 2005 11:41 am

Clearification for Upgrade

Hi,


I am facing one issue. User is installing(using advaned installer 3.1.1) one version of utility from web page.
But due to some limitations user can install same version of utility from the same page again.
But as he installs utility 2nd time he will get modify/repair/remove option
instead I want to show user that product already exist.

Is it possible to do ?

One more question I have to implement Auto Upgrade functionality
for that I want to know the Significance of Product Code & Upgrade Code ?


Thanx,
Sumit
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
But as he installs utility 2nd time he will get modify/repair/remove option instead I want to show user that product already exist.
It is possible to do this, but after the first installation the user will not be able to change the way features are installed.

1. In the Custom Actions page, right click the InstallUISequence item in the tree control and select "Show Standard Action -> Begin".

2. Right click the Begin item and select "New Custom Action -> Error Message". In the "Message Text" field enter the message you want displayed.

3. Set the Execution Condition to:

Code: Select all

Installed AND (REMOVE<>"ALL") AND (REINSTALL<>"ALL")
This allows the application to be installed the first time, to be repaired and uninstalled afterwards, but not to be modified.

For a description of the ProductCode and UpgradeCode properties, please visit:
http://www.advancedinstaller.com/user-g ... rsion.html

The following links on MSDN might also be useful:
http://msdn.microsoft.com/library/defau ... ctcode.asp
http://msdn.microsoft.com/library/defau ... decode.asp

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Feature Requests”