You are here

Volumouse + Billy

8 posts / 0 new
Last post
arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2006-08-10 16:38
Volumouse + Billy

I have on my drive Volumouse by NirSoft which is freeware. I also have Billy by Sheep Friends. I'm trying to make a launcher that will run Volumouse, then Billy. When I close Billy, Volumouse should close as well. The problem comes when I try to eject my device. Since Volumouse uses a dll, I have to wait about 3 minutes for Windows to let go of the dll file and eject it safely. I think the way to unregister a dll is using Regsvr32 but that does not work. Any help will really be appreciated.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
So,

do you have the first part done yet?
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2006-08-10 16:38
More or less

I made something using Autoit and realized I couldn't eject the device. Then I changed my script to copy Volumouse to %temp%. After Billy closed it would run a vbs script that would wait the 3 min. and delete everything including itself. I thought that by running the vbs from the temp folder I could eject the drive, not true. Wscript keeps a lock on my drive until the vbs finishes. The reason I used the vbs is
cause I can't get the autoit script to delete itself. Also, the only scripting that I know (somewhat) is AutoIt and VBS (in case you have not realized it.)
---------------
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
"Sometimes I worry about being a success in a mediocre world." -- Lily Tomlin

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

m2
Offline
Last seen: 13 years 2 months ago
Joined: 2006-12-12 12:00
It seems that I have quite

It seems that I have quite similar problem.
You can of course run this script from temp..but then you'd have to delete it somehow Wink
You can try with windows task scheduling.
Maybe something like running (hidden) cmd.exe and writing something like (I don't know batches):
"sleep \n delete\n" to it's standard input.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Hmm

I could do a NSIS one for you. I assume the process is:

  • Run Volumouse
  • Run Billy and Wait
  • After Billy closes, exit Volumouse
  • Wait 3 mins
  • Unregister DLL
  • Eject drive

Tell me if it's different.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2006-08-10 16:38
not quite

What I was hoping for is to be able to eject my drive without having to wait the 3 minutes. But now you got me thinking. executing the vbs (inside %temp%) from an AutoIt compiled exe locks up my drive until the vbs finishes. I wonder if running it from an nsis compiled script will have the same effect. Let me try it tonight and see what happens. I'll have to do a little reading first on using nsis, but it's ok.
---------------
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
"Sometimes I worry about being a success in a mediocre world." -- Lily Tomlin

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

m2
Offline
Last seen: 13 years 2 months ago
Joined: 2006-12-12 12:00
I'm almost sure it will.

I'm almost sure it will.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Bahamut
Bahamut's picture
Offline
Last seen: 12 years 4 months ago
Joined: 2006-04-07 08:44
Another process is locking

Another process is locking something (probably Explorer). Use Process Explorer to find out what (search the forums for a link; there are a few references here). You can then know what to kill to unlock the handle, or you can use PE to close the handle directly.

To find out what's locking a file, go to Find -> Find Handle or DLL and search for your file. It will list every process with a handle matching what you searched for.

Vintage!

Log in or register to post comments