Uninstall msi package
Uninstall msi package
An installation package of 'exe' type is created. Then it is converted into msi using the Group Policy Wizard. Then we install it. When we try to remove it (msiexec /x {GUID}) uninstallation is not working. When executing the install package for the second time it successfully removes.
Re: Uninstall msi package
Dear spaider84,
Where did you get its GUID from?
Are you using the (Un)Install MSI Setup plugin?
Where did you get its GUID from?
Are you using the (Un)Install MSI Setup plugin?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Uninstall msi package
I use Product Code as GUID. I remove package using 'cmd.exe', not using the installer script
Re: Uninstall msi package
Dear spaider84,
Please use the (Un)Install MSI Setup plugin - it is so much better than running 3rd party executables. Here is a tutorial on how to use it (it should fix your problem):
http://www.installaware.com/forum/downl ... php?id=325
Please use the (Un)Install MSI Setup plugin - it is so much better than running 3rd party executables. Here is a tutorial on how to use it (it should fix your problem):
http://www.installaware.com/forum/downl ... php?id=325
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Uninstall msi package
Thanks, but that's the point, that we need to remove msi package without using this plugin. Is it possible? If so, could you give us a clue how?
Re: Uninstall msi package
How come you don't want to use the plugin?
Otherwise, you can use Run Program and run msiexec..
Otherwise, you can use Run Program and run msiexec..
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Uninstall msi package
giaviv wrote:How come you don't want to use the plugin?
Otherwise, you can use Run Program and run msiexec..
I tried using "Run program and run msiexec /x {GUID}". That doesn't work...
Re: Uninstall msi package
Could you please provide more information about it not working? It should.
When you run the same command in cmd, does it work?
When you run the same command in cmd, does it work?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Uninstall msi package
When we launch "cmd msiexec /x {product code}" after "Preparing to remove..." nothing happens, visual part of msiexec disapears, process "msiexec.exe" remains present. The same result gives doing via run program.
Re: Uninstall msi package
Again, I really do not see why you wouldn't want to use the plugin.
Anyway, running cmd msiexec ... wont work. You need to either run msiexec, or cmd /c "msiexec....".
But regardless, this is a FAULTY approach to uninstalling your software.
If you are still against using the plugin, I would recommend you to write the UNINSTALLLINK variable's value to the registry during the installation, and then to use it later to uninstall your setup.
I am attaching a tutorial that explains how this is done.
Anyway, running cmd msiexec ... wont work. You need to either run msiexec, or cmd /c "msiexec....".
But regardless, this is a FAULTY approach to uninstalling your software.
If you are still against using the plugin, I would recommend you to write the UNINSTALLLINK variable's value to the registry during the installation, and then to use it later to uninstall your setup.
I am attaching a tutorial that explains how this is done.
- Attachments
-
- uninstalllnk.doc
- (135.5 KiB) Downloaded 801 times
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Uninstall msi package
For testing purposes we created a blank project, adding just one test file. We built it and converted to msi. Installation works, but uninstallation via "msiexec /...." doesn't work.
- Attachments
-
- TEST.rar
- (1.98 MiB) Downloaded 583 times
Re: Uninstall msi package
Did you read my last post?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 73 guests