This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Problem After upgrade
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 08, 2010
06:45 AM
Problem After upgrade
Hi,
I am working on a Basic MSI project using Installshield 2008.
I have noticed that the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}\] registry entry is removed on uninstall after the first installation, but if i apply a minor upgrade and then uninstall the application than this entry is not getting removed.
So after that if i try to reinstall the application it take me to the maintenance mode.
Let me describe the procedure:
Install version 1.0 of my product.
Perform a minor upgrade using the version 1.1 of the MSI package.
The above registry entry is still present.
Now if I directly uninstall than the entry does not go. and the product is still shown in add remove programs
Is that behaviour normal?
ISSUE-1
--------
Than i i try to install 1.1 then it takes me to reinstall mode...
and if i try to install 1.0 than it prompts that other version of the product is already installed.
command used to upgrade is
MSIEXEC /i "Client.msi" REINSTALLMODE="va" REINSTALL="ALL"
ISSUE-2
--------
After upgrading if i uninstall the application than it is still executing the old script code... that means that still old msi is cached.
I am working on a Basic MSI project using Installshield 2008.
I have noticed that the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}\] registry entry is removed on uninstall after the first installation, but if i apply a minor upgrade and then uninstall the application than this entry is not getting removed.
So after that if i try to reinstall the application it take me to the maintenance mode.
Let me describe the procedure:
Install version 1.0 of my product.
Perform a minor upgrade using the version 1.1 of the MSI package.
The above registry entry is still present.
Now if I directly uninstall than the entry does not go. and the product is still shown in add remove programs
Is that behaviour normal?
ISSUE-1
--------
Than i i try to install 1.1 then it takes me to reinstall mode...
and if i try to install 1.0 than it prompts that other version of the product is already installed.
command used to upgrade is
MSIEXEC /i "Client.msi" REINSTALLMODE="va" REINSTALL="ALL"
ISSUE-2
--------
After upgrading if i uninstall the application than it is still executing the old script code... that means that still old msi is cached.
(2) Replies
‎Jul 11, 2010
11:08 AM
Hello,
Is there a reason why you are using REINSTALLMODE="va" for your upgrade?
To recache the new msi you need to use REINSTALLMODE="vomus".
Regards,
Kiran Hegde
Is there a reason why you are using REINSTALLMODE="va" for your upgrade?
To recache the new msi you need to use REINSTALLMODE="vomus".
Regards,
Kiran Hegde
‎Jul 12, 2010
12:15 AM
I am using 'va' instead of 'vomus' .. because i want to replace all file irrespective of file version. m-u-s are for re-cache HKEY_LOCAL_MACHINE , HKEY_USER, and shortcuts entries respectively.