Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Non-uninstallable msp patch


5 replies to this topic

romasha

romasha
  • Full Members
  • 3 posts

Posted 02 December 2010 - 08:52

Hello,

How can I remove a non-uninstallable msp patch without the application uninstalling?




Thank you for you help

Roman

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 03 December 2010 - 10:25

Holy cow...

Re-read your question. Got the answer now?
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 December 2010 - 12:59

You could create an "anti-patch" that installs the previous version of the file (you would however have to increment the version number of the file).

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 03 December 2010 - 13:05

Given the question, do you think the OP has the necessary skills to do that?
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

romasha

romasha
  • Full Members
  • 3 posts

Posted 03 December 2010 - 13:37

Hi,

Thanks for the answer.
>>You could create an "anti-patch" that installs the previous version of the file (you would however have to increment the version number of the file).
I cannot create an "anti-patch" because 2 error was done:
1. The msp patch was created as non-uninstallable.
2. The InstallShield project which was used fro this patch creating was lost.

The msp patch is very simple. It replaces some files only.

I found the solution:
I found in the registry ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products") the product and then set the "Uninstallable" value to the "1" (instead of the "0") for this patch.





Thank you for you help

Roman

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 03 December 2010 - 13:42

Congratulations. You now know how to make your target machines unstable by allowing uninstallable patches to be uninstalled.

Do you understand why a patch would be made uninstallable? Do you know what a patch is?
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.