We help IT Professionals succeed at work.

Install Shield8.0

Saggi
Saggi asked
on
I have a setup for my application which install the TAPI service provider. The current setup works fine when install and uninstall in the current version.
After doing the above operation and when I install the previous version setup its not installing the TAPI service provider.

The only difference in these two versions of setup is:
Current Version:
1. In customActions for Install VirtualPhone
InstallExe Condition: “&VirtualPhone=3”
Desc: condition so as to run this custom action only when “VirtualPhone” feature is selected to install
2. In customActions for UnInstall Virtual Phone
InstallExe Condition: “REMOVE="ALL" OR REMOVE="VirtualPhone"
so that this custom action is executed only when “VirtualPhone” feature is selected to un-install or complete un-installation is done

Previous Version
1. In customActions for Install VirtualPhone
InstallExe Condition: Blank
Desc: No condition so as to run this custom action
2. In customActions for UnInstall Virtual Phone
InstallExe Condition: Blank
Desc: No condition so as to run this custom action

How to resolve this issue?
Comment
Watch Question

I don't understand why you want to improve the previous version when you have current version that works ok.

Anyways, in the previous version, if condition is blank, then "uninstall virtual phone"always runs and uninstalls what has been just installed. Specify the same conditions as in the current package.

Commented:
while Uninstall some of the components are not deleting so had to explicitily delete so its causing problems when it has the latest installed components