论坛首页
论坛首页 主讨论区 PortableApps交流 To GlacialMan -Re: Uninstall Tool

To GlacialMan -Re: Uninstall Tool

关于PortableApps便携软件的使用、想法及各类问题。

版主: jooseng

jooseng 革命同志
革命同志

帖子: 3460
My PAF ver. is infact modified from the official portable ver.
I have well study the differences between the official portable and install versions.
Actually the files in the 2 ver. are exchangable.

My portable launcher has already incoroporated the remove service command.

The error in version 3.4.0 Build 5353 I first posted is due to the poor cracked exe.
It has been updated.

btw are you a member from nsane forums?

GlacialMan 投名入寨
投名入寨

帖子: 5
Hi Jooseng, ver 2 it's ok, thank you. In my opinion, if service is not activated from user ("Install and Trace" button), after closing app is not needed the command "UninstallTool.exe /uninstall_service" (in RemoveService.cmd). I think that the exit error is caused from the execution of this command when not necessary. I modified RemoveService.cmd in App\UninstallTool folder of PAF version but nothing happens, so I suppose that the command is integrated in the launcher, maybe a modify can resolve, you can verify running of service and execute command only if necessary (I used a batch file):
SC QUERY CisUtMonitor
if errorlevel=1060 goto EXIT
UninstallTool.exe /uninstall_service
:EXIT
thanks, bye.

jooseng 革命同志
革命同志

帖子: 3460
GlacialMan 写道:
Hi Jooseng, ver 2 it's ok, thank you. In my opinion, if service is not activated from user ("Install and Trace" button), after closing app is not needed the command "UninstallTool.exe /uninstall_service" (in RemoveService.cmd). I think that the exit error is caused from the execution of this command when not necessary. I modified RemoveService.cmd in App\UninstallTool folder of PAF version but nothing happens, so I suppose that the command is integrated in the launcher, maybe a modify can resolve, you can verify running of service and execute command only if necessary (I used a batch file):
SC QUERY CisUtMonitor
if errorlevel=1060 goto EXIT
UninstallTool.exe /uninstall_service
:EXIT
thanks, bye.

The command "UninstallTool.exe /uninstall_service" is to remove the file "CisUtMonitor.sys" from "Windows\system32\drivers" directory and registry keys from [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CisUtMonitor]

If the two are not exist, the command just do nothing, and will not cause error.
The message box just tell you that the command has completed, no matter the service has actually been installed or not beforehand.
图片

I have modified the launcher to check for the existence of the service. The command only run when the service has been installed.
UninstallToolPortable_3.4.0_Build_5353_rev3.paf.exe (4 MB)
图片

Please help me to test for it.

Thanks.

GlacialMan 投名入寨
投名入寨

帖子: 5
In rev 3, when I close App, UninstallToolPortable.exe process stops very slowly and the CisUtMonitor service doesn't stops (if I restart the app and I click on "Install and trace" the service is running yet, start message don't appear).

jooseng 革命同志
革命同志

帖子: 3460
GlacialMan 写道:
In rev 3, when I close App, UninstallToolPortable.exe process stops very slowly and the CisUtMonitor service doesn't stops (if I restart the app and I click on "Install and trace" the service is running yet, start message don't appear).

I am not familiar with 64 bit environment variables. The variable I used work in 32 bit system but not in 64 bit. I have changed it.
The program write info to "preferences.xml" in program folder after exit. I have to wait for the writting complete then move the file back to data folder.
I set the waitting time for 30 seconds. Now I reduce it to 20 seconds.

UninstallToolPortable_3.4.0_Build_5353_rev4.paf.exe (4 MB)
图片

GlacialMan 投名入寨
投名入寨

帖子: 5
Thanks, very good for me now. Soon.


回到 PortableApps交流