/build/static/layout/Breadcrumb_cap_w.png

[Newbie] New MSI Listed as old name in add/remove

Hi there,

I have an issue with an updated package I have done few days ago.

Here is the situation :

-I install the new package packv1.1 on a workstation which previously had v 1.0 . Install is fine I have all the features I want, but ... into add/remove this application is listed as packv1.0

- I install this application on a fresh computer which has never had installed pack 1.0 . All is fine. packv1.1 is correctly listed into add remove pro.

The msi I install has the same GUID as the previous one. I know it s not clean but ... .

During script installation I remove the old pack via msiexec /x {GUID}.
I install pack v1.1 with msiexec.exe /i "pathto\packv1.1.MSI" ALLUSERS=1


As I can imagine windows shoud have a cache of the old version somewhere. Is there a way to clean this cache from the registry or with msiexec. I have tried with msiexec /fv but no success. Afeter normal uninstall GUID is removed well from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ and from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Managment\ARPCache.

I dont understand why windows installer is still considering pack1.1 as pack1.0 ... .

I am sure there is something to clean in reg but where .

Any ideas suggestions are welcome.


Regards.

Guillaume.

0 Comments   [ + ] Show comments

Answers (8)

Posted by: gizmolala 14 years ago
Third Degree Blue Belt
0
Wot pacakging tool are u using?
Posted by: sikkert 14 years ago
Orange Senior Belt
0
The msi I install has the same GUID as the previous one. I know it s not clean but ... .

What GUID do you mean? ProductCode, PackageCode og both?
Posted by: gmiga76 14 years ago
Senior Yellow Belt
0
Thanks for your feedback.

I am using Installshield 12.

I have , wiht Installshied, edited an existing home made MSI package. I have just saved it back . So I can imagine GUID is the same , package code I don t know if Installshield changed it. GUID is the same, I see it in registry when I install pack v1.1


Regards.

Guillaume.
Posted by: sikkert 14 years ago
Orange Senior Belt
0
I don't use installshield myself, but if you just edited the package and saved it back, I would think the codes stay the same. I would start by changing PackageCode. If this doesn't change, you could try changing the ProductCode.
If the PackageCode isn't changed, then Windows Installer will think that the packages are the same, and might use a cached version.
Posted by: gmiga76 14 years ago
Senior Yellow Belt
0
Still the same.

I have generated another package code and Upgrade code with no succes . Still the same troube , my package is well installed but listed as pack 1.0 .... needless to stay pack 1.1 is well installed and well running. ... . I have also noticed : sometimes installation process is over (no error messages) and nothing appear in add/remove programs but the software is well installed.. ... .
I have no issue on a workstation which has never received this package .... .

Best Regards .

Guillaume.
Posted by: turbokitty 14 years ago
6th Degree Black Belt
0
Here's what I'd do:

- Take a repackager snapshot on a clean machine.
- Install version 1.0
- Uninstall version 1.0
- Take a repackager snapshot

Now see what is being left behind by your 1.0 package. That might point to your issue.
Posted by: nheim 14 years ago
10th Degree Black Belt
0
Hi Guillaume,
you got a problem with the productcode here. Thats the GUID which is most imporant to determine different version of a product.
The ARP-Info (and other things) are hold in the following regkey:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]
If you don't change the PC, this location (and possible others) is going to mix up. Thats definitely not what you want, i think.
Hope this helps a bit.
Regards, Nick
Posted by: gmiga76 14 years ago
Senior Yellow Belt
0
Dear all,


GUID changed , package updated , sms deployment ok .
Thanks a lot for your very useful advices. You helped and learned me a lot , gain of time is huge !!! .

Consider this post as solved.

For sure I ll come back with some stupide questions.

Regards.

Guillaume.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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