MSI is not overwriting the registry after upgrade and it is not removing few files after uninstall.
Hi all,
I had Visual Studio created MSI and now we switched to InstallShield 2012. I have one version running in client system(VS created MSI) and now I want to upgrade it with newer version(InstallShield created MSI). Upgrade is working fine but I am facing two issues.
1. After upgrade few registry entries are not overwriting.
2. After uninstall it is not removing few files from installed location.
Please suggest me how to handle these issues.
Thanks in advance.
Sanjay
I had Visual Studio created MSI and now we switched to InstallShield 2012. I have one version running in client system(VS created MSI) and now I want to upgrade it with newer version(InstallShield created MSI). Upgrade is working fine but I am facing two issues.
1. After upgrade few registry entries are not overwriting.
2. After uninstall it is not removing few files from installed location.
Please suggest me how to handle these issues.
Thanks in advance.
Sanjay
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
anonymous_9363
12 years ago
First, you'll want to post in the correct forum, 'Package Development'. Please don't re-post: a moderator will probably move the thread.
Second, where in the sequence do you have the standard action RemoveExistingProducts?
Second, where in the sequence do you have the standard action RemoveExistingProducts?
Posted by:
sanjaypakale
12 years ago
Posted by:
mahendraKumar
12 years ago
Try to please the RemoveExistingproducts sequence between the InstallValidate action and the InstallInitialize action. In this case, the installer removes the old applications entirely before installing the new applications.
Please refer the link for correct placement of sequence.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx
Please refer the link for correct placement of sequence.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx
Posted by:
pjgeutjens
12 years ago
Posted by:
sanjaypakale
12 years ago
Thanks for your reply PJ.
Sorry I miss spelled the table name. I kept RemoveExistingProducts in InstallExecuteSequence only. I also set the sequence between InstallValidate and InstallInitialize. I set the property some thing like this RemoveExistingProducts = 1455. But when I ran the msi it completely uninstall the application and wouldn't install the newer version.
Please help me.
Thanks,
Sanjay
Sorry I miss spelled the table name. I kept RemoveExistingProducts in InstallExecuteSequence only. I also set the sequence between InstallValidate and InstallInitialize. I set the property some thing like this RemoveExistingProducts = 1455. But when I ran the msi it completely uninstall the application and wouldn't install the newer version.
Please help me.
Thanks,
Sanjay
Posted by:
pjgeutjens
12 years ago
Posted by:
anonymous_9363
12 years ago
Posted by:
sanjaypakale
12 years ago
Posted by:
anonymous_9363
12 years ago
Posted by:
sanjaypakale
12 years ago
Thanks,
I am very new for this technology and recently I have started working on this.
But by seeing the InstallExecuteSequence table I could figure out that, installer engine triggers each and every action based on the sequence number. Suppose that the action InstallValidate and InstallInitialize having the sequence number 1400 & 1501 irrespectively , while running the MSI first InstallValidate will get trigger and than InstallInitialize and if we set any action like RemoveExistingProducts = 1455 it will trigger after the InstallValidate then InstallInitialize fires.
Please correct me if I am wrong.
Regards,
Sanjay
I am very new for this technology and recently I have started working on this.
But by seeing the InstallExecuteSequence table I could figure out that, installer engine triggers each and every action based on the sequence number. Suppose that the action InstallValidate and InstallInitialize having the sequence number 1400 & 1501 irrespectively , while running the MSI first InstallValidate will get trigger and than InstallInitialize and if we set any action like RemoveExistingProducts = 1455 it will trigger after the InstallValidate then InstallInitialize fires.
Please correct me if I am wrong.
Regards,
Sanjay
Posted by:
sanjaypakale
12 years ago
Posted by:
SandeepPanat
12 years ago
Does the newer msi got installed correctly? You can post the log file.
To find out the issue,
1. On a clean machine, try installing old app
2. Uninstall it using Product Code
3. Check what doesn't get removed (related registries and files)
4. Install new msi (which DOESN'T contain upgrade functionality).
5. Take a log to see if it causes any issues, reg permissions etc
To find out the issue,
1. On a clean machine, try installing old app
2. Uninstall it using Product Code
3. Check what doesn't get removed (related registries and files)
4. Install new msi (which DOESN'T contain upgrade functionality).
5. Take a log to see if it causes any issues, reg permissions etc
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.