/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (13)

Posted by: anonymous_9363 12 years ago
Red Belt
0
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?
Posted by: sanjaypakale 12 years ago
Senior Yellow Belt
0
Thanks for your reply.

I have that entry in InsallUISequnce table with the sequence number 6599 and I also tried with setting 5617.
Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0
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
Posted by: pjgeutjens 12 years ago
Red Belt
0
You really want to take the RemoveExistingProducts entry out of InstallUISequence and put it in InstallExecuteSequence. Otherwise any silent install will not execute it. And like MahendraKumar said, schedule it between InstallValidate and InstallInitialize.

PJ
Posted by: sanjaypakale 12 years ago
Senior Yellow Belt
0
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
Posted by: pjgeutjens 12 years ago
Red Belt
0
To me those sequence numbers mean nothing by themselves, only in relation with other actions' sequence numbers :-) What does the install log tell you? Is the MSI finishing successfully?
Posted by: anonymous_9363 12 years ago
Red Belt
0
I set the property some thing like this RemoveExistingProducts = 1455This is enough to tell me that you should stop what you're doing and, before you do anything else, [Y A W N] read and digest Phil Wilson's "The Definitive Guide To Windows Installer".
Posted by: sanjaypakale 12 years ago
Senior Yellow Belt
0
Thanks,

Could you please tell me what is wrong I am doing while setting the sequence.
Posted by: anonymous_9363 12 years ago
Red Belt
0
Do you know the difference between the sequences and the significance of the sequence numbering?

My point was (is), if you don't know, then you should stop now and learn the fundamentals before you end up in deeper water than you are now.
Posted by: sanjaypakale 12 years ago
Senior Yellow Belt
0
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
Posted by: AngelD 12 years ago
Red Belt
0
Looks like you figured out the meaning of the sequence correct!
Posted by: sanjaypakale 12 years ago
Senior Yellow Belt
0
[;)]

But still I have not found the solution for the main thread. Could you please tell me what else I need to modify in order to complete the major upgrade properly.
Posted by: SandeepPanat 12 years ago
Orange Senior Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ