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

uninstall doesnt remove registry entry using Msiexec /x


5 replies to this topic

hanstt

hanstt
  • Members
  • 2 posts

Posted 14 December 2001 - 10:55

hello,
using an information from the knowledge base on the installshield website we created an uninstall shortcut in our program folder. the shortcut looks like this

[SystemFolder]Msiexec.exe \x {PRODUCT_CODE}

however when we uninstall our product using this line, a few registry entries as well as the icon in the Add/Remove Program list is not being removed.
when we uninstall our product by using the Add/Remove feature in the system settings everything works fine.

my question now is, what is the difference between these two methods and how can we achieve the same by using the program folder shortcut.

i am using is developer 7.01 and windows 98se.

kind regards,
torsten hans



Mario Noack

Mario Noack
  • Members
  • 18 posts

Posted 17 December 2001 - 11:15

try
MsiExec.exe /X{ProductCode}
?!

Mario Noack

Mario Noack
  • Members
  • 18 posts

Posted 17 December 2001 - 11:17

try
MsiExec.exe /X{ProductCode}
at commandline and log this. Sometimes you find in the logfiles the reason.

Simon

Simon
  • Members
  • 21 posts

Posted 19 December 2001 - 16:47

If you are using a standard project then there will be 2 uninstall reg entries and MsiExec will only remove the one under the product code key. You might need to remove the other one in script.

hanstt

hanstt
  • Members
  • 2 posts

Posted 19 December 2001 - 17:02

thank you for your information. here is a response i received in the installshield forum:

> If your project is a Basic MSI project, then the method
> you're using will work.

> However, I'm guessing that you have a script driven
> project. The uninstallation of a script driven project
> needs to use the InstallShield engine to ensure that
> all IS-related registry entries are removd.

> So, your uninstall string will look like this:
> C:\progra~1\Common~1\Instal~1\IDriver.exe /M{GUID}


using the above line everything is removed correctly.


Mario Noack

Mario Noack
  • Members
  • 18 posts

Posted 21 December 2001 - 09:10

I understand the solution, but my computer has the IDriver.exe in the directory C:\Programme\Gemeinsame Dateien\InstallShield\Driver\7\Intel 32
Is there an general solution available?