Uninstall Tool trace-install button

Discuss and share scripts and script files...
Post Reply
eil
Posts: 1866
Joined: 13 Jan 2011 19:44

Uninstall Tool trace-install button

Post 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.. :oops:
Win 7 SP1 x64 100% 1366x768|1900x1080

eil
Posts: 1866
Joined: 13 Jan 2011 19:44

Re: Uninstall Tool trace-install button

Post by eil »

edited: created mistakenly.
Last edited by eil on 27 Mar 2012 01:31, edited 1 time in total.
Win 7 SP1 x64 100% 1366x768|1900x1080

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Uninstall Tool trace-install button

Post 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.. :oops:
Try:

Code: Select all

openwith """path-to-UninstallTool.exe"" /install ""<executable_or_msi_path>""";

eil
Posts: 1866
Joined: 13 Jan 2011 19:44

Re: Uninstall Tool trace-install button

Post by eil »

serendipity wrote:Try:

Code: Select all

openwith """path-to-UninstallTool.exe"" /install ""<executable_or_msi_path>""";
many thanks :D , 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).
Win 7 SP1 x64 100% 1366x768|1900x1080

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Uninstall Tool trace-install button

Post by serendipity »

eil wrote:
serendipity wrote:Try:

Code: Select all

openwith """path-to-UninstallTool.exe"" /install ""<executable_or_msi_path>""";
many thanks :D , 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?

eil
Posts: 1866
Joined: 13 Jan 2011 19:44

Re: Uninstall Tool trace-install button

Post by eil »

ok, now i got it- <curitem> isn't needed at all. still thanks, i guess you directed me somehow.
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply