Page 1 of 1
Uninstall Tool trace-install button
Posted: 16 Mar 2012 00:10
by eil
recently i get knowledge that UT trace-install can be triggered via the command line(it wasn't mentioned anywhere till someone asked about it in a forum). developer stated it simply as:
Code: Select all
UninstallTool.exe /install "<executable_or_msi_path>"
i tried to modify it with my UT install path and <curitem>, but didn't mange to get it working. need some help please..

Re: Uninstall Tool trace-install button
Posted: 26 Mar 2012 10:44
by eil
edited: created mistakenly.
Re: Uninstall Tool trace-install button
Posted: 26 Mar 2012 17:18
by serendipity
eil wrote:recently i get knowledge that UT trace-install can be triggered via the command line(it wasn't mentioned anywhere till someone asked about it in a forum). developer stated it simply as:
Code: Select all
UninstallTool.exe /install "<executable_or_msi_path>"
i tried to modify it with my UT install path and <curitem>, but didn't mange to get it working. need some help please..

Try:
Code: Select all
openwith """path-to-UninstallTool.exe"" /install ""<executable_or_msi_path>""";
Re: Uninstall Tool trace-install button
Posted: 26 Mar 2012 23:39
by eil
serendipity wrote:Try:
Code: Select all
openwith """path-to-UninstallTool.exe"" /install ""<executable_or_msi_path>""";
many thanks

, this works with strict paths. but another difficulty lies ahead: how to make it run currently selected file as an argument?(<executable_or_msi_path>) i tried some experiments, but it didn't work(maybe again 'cause of bad quoting).
Re: Uninstall Tool trace-install button
Posted: 26 Mar 2012 23:58
by serendipity
eil wrote:serendipity wrote:Try:
Code: Select all
openwith """path-to-UninstallTool.exe"" /install ""<executable_or_msi_path>""";
many thanks

, this works with strict paths. but another difficulty lies ahead: how to make it run currently selected file as an argument?(<executable_or_msi_path>) i tried some experiments, but it didn't work(maybe again 'cause of bad quoting).
You mean <curitem> doesn't work?
Re: Uninstall Tool trace-install button
Posted: 27 Mar 2012 01:47
by eil
ok, now i got it- <curitem> isn't needed at all. still thanks, i guess you directed me somehow.