What is the trick to uninstalling wit MSI strings
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
What is the trick to uninstalling wit MSI strings
Hey,
So I noticed a lot of programs these days have uninstallation strings and not uninstall.exe files.
How do you go about uninstalling these programs using TTS ?
IE: ITunes uninstall location is MsiExec.exe /I{9E9CFD9F-64D6-498F-8584-E5CD08BA60BE}
However, This uninstall location changes on every PC, so you simply can't use this location for TTS uninstallation settings.
Is there a trick to this I am missing ?
Thanks as always!!!
So I noticed a lot of programs these days have uninstallation strings and not uninstall.exe files.
How do you go about uninstalling these programs using TTS ?
IE: ITunes uninstall location is MsiExec.exe /I{9E9CFD9F-64D6-498F-8584-E5CD08BA60BE}
However, This uninstall location changes on every PC, so you simply can't use this location for TTS uninstallation settings.
Is there a trick to this I am missing ?
Thanks as always!!!
Re: What is the trick to uninstalling wit MSI strings
I assume this would be ittt ???
%SystemRoot%\Installer\1105b6.msi
If this is the same for you please let me know.
%SystemRoot%\Installer\1105b6.msi
If this is the same for you please let me know.
Re: What is the trick to uninstalling wit MSI strings
In this case you can use the install package for both install and uninstall.
Examples of install commands:
Examples of uninstall commands:
If the product code changes at every install, this is the best option IMHO. But you need to download the package even if you just want to uninstall.
For more Windows installer command line switches run the following command:
Examples of install commands:
Code: Select all
%ToolsDir%\ProductPackage.msi /passive /norestart
msiexec.exe /i "%ToolsDir%\ProductPackage.msi" /passive /norestart
Code: Select all
msiexec.exe /uninstall "%ToolsDir%\ProductPackage.msi" /passive /norestart
msiexec.exe /x "%ToolsDir%\ProductPackage.msi" /passive /norestart
For more Windows installer command line switches run the following command:
Code: Select all
msiexec.exe /?
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.
Fred
Fred
Re: What is the trick to uninstalling wit MSI strings
This is my uninstallation string from HTC Sync Manager
Installation:http://dl4.htc.com/download/htc-sync-ma ... .0_htc.exe
UVK Uninstall string: MsiExec.exe /X{231D0C79-98A6-4693-A366-36DE7D7346EC}
UVK Uninstall file: C:\Windows\Installer\1105ce.msi
I tried to follow your above commands
Uninstall string: msiexec.exe /uninstall "%SystemRoot%\Installer\1105ce.msi" /passive /norestart msiexec.exe /x "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
Hmm keep coming up with the windows installer log displaying the command lines.
Have I done this wrong?
Thanks.
Installation:http://dl4.htc.com/download/htc-sync-ma ... .0_htc.exe
UVK Uninstall string: MsiExec.exe /X{231D0C79-98A6-4693-A366-36DE7D7346EC}
UVK Uninstall file: C:\Windows\Installer\1105ce.msi
I tried to follow your above commands
Uninstall string: msiexec.exe /uninstall "%SystemRoot%\Installer\1105ce.msi" /passive /norestart msiexec.exe /x "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
Hmm keep coming up with the windows installer log displaying the command lines.
Have I done this wrong?
Thanks.
Re: What is the trick to uninstalling wit MSI strings
Hum, those commands should run fine. Can you please post the commands in a code tag? I can't ensure they don't have a leading or trailing white spaces.
Also if you canpost a screenshot with the error message, it may help to figure out what's wrong.
Also if you canpost a screenshot with the error message, it may help to figure out what's wrong.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.
Fred
Fred
Re: What is the trick to uninstalling wit MSI strings
Code: Select all
msiexec.exe /uninstall "%SystemRoot%\Installer\1105ce.msi" /passive /norestart msiexec.exe /x "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
- Attachments
-
- HTC Sync specific
- HTC SYNC.png (612.86 KiB) Viewed 12445 times
Re: What is the trick to uninstalling wit MSI strings
WRC, no wonder it doesn't work. You entered both commands in the same command. You need to use either
OR
Not both. Copy one of the commands above and paste it in the TTS uninstall command field, ensuring the command does not have any leading or trailing white space.
Code: Select all
msiexec.exe /uninstall "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
Code: Select all
msiexec.exe /x "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.
Fred
Fred
Re: What is the trick to uninstalling wit MSI strings
Fred wrote:WRC, no wonder it doesn't work. You entered both commands in the same command. You need to use eitherORCode: Select all
msiexec.exe /uninstall "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
Not both. Copy one of the commands above and paste it in the TTS uninstall command field, ensuring the command does not have any leading or trailing white space.Code: Select all
msiexec.exe /x "%SystemRoot%\Installer\1105ce.msi" /passive /norestart
ahhhhhhhhh!!!!.... hehe...
Well Thank you! hope this helps other people
Thanks fred!
Re: What is the trick to uninstalling wit MSI strings
Ahh, Upon testing this is a pointless procedure for software such as iTunes, Samsung Smart Switch and other mobile device backup systems.
The MSI software package when installed changes names each time it is installed, so continuous updating would be required, which is what I believe you touched on previously.
The MSI software package when installed changes names each time it is installed, so continuous updating would be required, which is what I believe you touched on previously.
Re: What is the trick to uninstalling wit MSI strings
That's why I mentioned using the install packages for both install and uninstall. If the downloaded package is an MSI package, it is straight forward. If the MSI package is compressed in an exe, usually the exe passes the command line switches to msiexec.
So this should work:
Download URL:
Download file:
Install command:
Uninstall command
So this should work:
Download URL:
Code: Select all
http://dl4.htc.com/download/htc-sync-manager/setup_3.1.46.0_htc.exe
Code: Select all
%ToolsDir%\HTCSetup.exe
Code: Select all
%ToolsDir%\HTCSetup.exe /passive /norestart
Code: Select all
%ToolsDir%\HTCSetup.exe /x /passive /norestart
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.
Fred
Fred