Page 1 of 1
How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 10:31 pm
by Xander
I've no idea how this even happening.
1) Dropped .uvk script onto Portable.
2) Icons flicker on the taskbar for a split second.
3) "The selected item will be moved to the recycle bin Y/N" (for a one-time script?)
4) "Uninstall portable version?"
(there's no option to tell it to always uninstall)
Thinking that maybe I had some major errors in my script, I dumbed things down. Here's the script I'm now experimenting with:
(I have also tried it it with <UVKCommandsScript>)
Somehow, I suspect that this is not the expected actions of drag'n'dropping a script.
If I leave the portable version installed, I can double-click the script and it will run but the end goal is that PCs I'm working with won't have UVK ready and waiting for me.
Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 10:36 pm
by Charger440
If UVK is installed dragging and dropping deletes the file. If it is not installed it runs the script. If UVK is installed, double click the script to load it up.
This was wrong

Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 10:49 pm
by Fred
Hello guys.
Charger440 wrote:If UVK is installed dragging and dropping deletes the file. If it is not installed it runs the script. If UVK is installed, double click the script to load it up.
Jim, that's not what happens to me. In my case, it always opens the script or UVKSR file, regardless of being installed or not. Try making the script with the log analyzer, and add more lines. Some comments should do the trick.
Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 10:53 pm
by Charger440
UGH.... I gotta go back and look at that again
I remember us talking about drag and drop does different things depending on it being installed or not. When I first tried drag and it deleted my files as well...
Did that get changed or am I wrong? confused

Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 10:59 pm
by Fred
No, that's the supposed behavior since I added the feature. I just tested with the following script:
Code: Select all
<UVKCommandsScript>
<CmdScript>
@echo off
pause
It's working fine for me. It also worked fine for UVKSR files.
Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 11:17 pm
by Xander
UVK locked up when I cancelled a script and ended up with Explorer restarting. When that was done, the drag/drop started acting more like I'd expect it to.
I knew UVK could delete files but assumed that its own files were exceptions (and they are).
Can I suggest "Always Uninstall" be another option for the portable version?
Side-question: When I whitelist something in UAK, where would the portable version be saving that list? I'd have expected a .cfg or .ini file or something to show up in its folder.
Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 11:31 pm
by Fred
Xander, I can't make UVK portable always uninstall itself after running. Most of the times there are important actions scheduled to be done after reboot. In that case, the uninstall prompt will not show up, and UVK will remain installed, in order to be able to execute the scheduled actions after reboot. This has already been discussed.
As for the UAK whitelist, you have a whitelist manager with export /import option in the Menu button. Use that feature to export to an INI file.
Re: How am I drag'n'dropping wrong here?
Posted: Sun May 31, 2015 11:43 pm
by Xander
Fred wrote:As for the UAK whitelist, you have a whitelist manager with export /import option in the Menu button. Use that feature to export to an INI file.
Is there anyway to include that whitelist when running the command from a script so that they're always excluded from scan results? In order to work from one PC to the next?
<UAKscan>%installsourcedir%\UAK_White_list.ini
Re: How am I drag'n'dropping wrong here?
Posted: Mon Jun 01, 2015 12:00 am
by Xander
Just opened up my ol' XP laptop that's never seen UVK before and drag/dropped a script with a few of the scanner commands and got the same results as first posted here where it wants to delete the .uvk
Re: How am I drag'n'dropping wrong here?
Posted: Mon Jun 01, 2015 12:01 am
by wmmiller
How about a third party app that uninstalls/deletes UVK now and /or X number of minutes after reboot? I use that to uninstall UVK and delete the desktop folder everything I download gets put into. It has a five minute delay after reboot so UVK can finish up anything it needs to. I have that checked as a default setting and just uncheck it if I don’t want that to happen.
Bill
I didn’t come up with this on my own. I had to ask for help.

Re: How am I drag'n'dropping wrong here?
Posted: Mon Jun 01, 2015 12:18 am
by Fred
When you're dealing with UVK scripts, there's not much you can't do.
Try this:
Code: Select all
<CmdScript> -h
md "%ProgramData%\UVK\Ultra Adware Killer\Settings"
<SReplaceFile>
%ProgramData%\UVK\Ultra Adware Killer\Settings\WhiteList.ini | %InstallSourceDir%\UAK_White_list.ini
<UAKscan>
You can do the same thing in the system repair section, with custom third party apps:
1) Create a custom third party app named
UAK whitelist.
2) Set command 1:
%ComSpec% /c md "%ProgramData%\UVK\Ultra Adware Killer\Settings"
3) Set command 2:
%ComSpec% /c copy /y "%InstallSourceDir%\UAK_White_list.ini" "%ProgramData%\UVK\Ultra Adware Killer\Settings\WhiteList.ini"
4) Now use the
Add to top apps and fixes menu item to make the
UAK whitelist app be executed before (above) the
Ultra Adware Killer scan built in app.
5) Click
Save settings and save to
%InstallSourceDir%\UAK_White_list.uvksr.
6) Drop
%InstallSourceDir%\UAK_White_list.uvksr over
UVKPortable.exe
Re: How am I drag'n'dropping wrong here?
Posted: Mon Jun 01, 2015 12:29 am
by Charger440
Admittedly I have not tried it but I will right quick just to confirm..
Both installed and not, dragging and dropping a .uvk worked just fine for me.
So now I have to go edit my edits...
Re: How am I drag'n'dropping wrong here?
Posted: Mon Jun 01, 2015 11:17 am
by Fred
You will only need to use the method above temporarily until I I upload the new beta I'm working on.
The new portable beta I'm working on will automatically copy the white list ini file as long as it's named UAK_White_list.ini and resides in the same directory.
As for your issue with .uvk files, I'm trying to find any possible reasons and fixing as necessary.
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 4:33 am
by Charger440
I figured it out... I knew there was something about the drag and drop. If you drag and drop onto the installed DESKTOP icon it will delete your file.
I'm not sure what thread it's in but I know we talked about that...
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 7:41 am
by Fred
Why would you drag it to the desktop icon? If UVK is already installed, you can just double-click it. Dragging over the desktop icon is supposed to delete files.
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 7:56 am
by Charger440
Yep I know that Fred but Xander mentioned it deleting his files and I was messing around earlier and drug a file to the desktop icon and it wanted to delete it. That's where the drag and drop delete came in. I never use it though but I have used the forced delete context menu item.
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 7:59 am
by Fred
Dragging files over the UVK's desktop icon is better than the Force delete context menu because it allows to delete several files with the same UVK instance, while Force delete only deletes one file per instance.
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 8:00 am
by Charger440
Will dragging and dropping on the desktop icon force delete if need be?
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 8:03 am
by Fred
Yes, it does the same thing as the Force delete context menu.
Re: How am I drag'n'dropping wrong here?
Posted: Wed Jun 03, 2015 8:05 am
by Charger440
Good to know
