Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

Auto-Run for Portable Installation
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Auto-Run for Portable Installation
#6366
Auto-Run for Portable Installation 6 Years, 7 Months ago  
Would there be a way to enable Rainlender to Auto-Run when the portable device is Plugged-in/Inserted?

I work on a school computer in which I routinely have to LogOff/Log back into (It Closes Rainlender when I Log), and I often forget to Run Rainlender, and therefore have missed a few important calls and meeting deadlines.

Just Curious.

Thanks in advance for any response-
~Da_Dragon555
Da_Dragon555
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6376
Re:Auto-Run for Portable Installation 6 Years, 6 Months ago  
You can try to tweak the AutoRun.inf or try to find some 3rd party application which can run apps automatically.
Rainy
Moderator
Posts: 6041
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6862
Re:Auto-Run for Portable Installation 6 Years, 4 Months ago  
Here's what I've come up with (lately):

The first "label" sets the VISUAL (not volume) identifier; purely for your eyeballs! Kinda cute...

The "open" says what to do if you DOUBLE CLICK the disk icon from "my computer".
The "action" is what to do (when double clicked).

"Icon" is simply the icon to display next to the drive (in "my computer"). It can be something like ".exe[,x]" where ",x" is (optional) the (embedded) icon (in the program) in the program or an actual (as in my case) ".ico" file (yes, I stole one off the web).

Lastly, the "useautoplay" forces the system (WinXP or later) to actually list the default action to perform (or to run it, depending on your autorun settings).

NOTE: these settings are for WinXP or later, not for Win2K3 or earlier.

The remaining items are paired "shell" options. They cause the first item to be listed, the second item to execute (when you click on it). When you open "my computer" and you see your flash (or other removealbe drive) and you RIGHT CLICK on it, you will see these items listed as actions to perform.

NOTE: the action "shell" commands do NOT list the drive or path specifier! All references are from the (assumes/default) root of the device itself!

So, for my flash drive, I have the option to run Rainlendar (default choice) or to right click the drive itself and select to install various things or to take various actions (like shutdown, display uptime).

I hope this helps! I spent a couple of days researching this. The autorun.inf file is not very complicated. It was origianlly intended for CD, not flash drives. But WinXP (or later) can be made to do things for you, too.

Dave



[autorun]
label=my xxx Drive

open=rainlendar2\rainlendar2.exe
action=Run Rainlendar 2
icon=lilguy.ico
useautoplay=1

shell\Rainlendar=run Rainlendar 2
shell\Rainlendar\command=rainlendar2\rainlendar2.exe

shell\insGTK=Install GTK for GIMP
shell\insGTK\command=downloads\graphics editors\gtk+-2.10.13-setup.exe

shell\insGIMP=Install GIMP
shell\insGIMP\command=downloads\graphics editors\gimp-2.2.17-i586-setup.exe

shell\insTVNC=Install Tight VNC
shell\insTVNC\command=downloads\tightvnc-1.3.9-setup.exe

shell\insUVNC=Install Ultra VNC
shell\insUVNC\command=downloads\UltraVNC-102-Setup.exe

shell\xpsp3=Install XP SP3
shell\xpsp3\command=downloads\Windows\XP\windowsxp-kb936929-sp3-x86-enu_c81472f7eeea2eca421e116cd4c03e2300ebfde4.exe

shell\timeup=show uptime for this PC
shell\timeup\command=VT\NT-uptime.bat

shell\turnoff\=shut-down this PC
shell\turnoff\command=VT\shutoff.bat

shell\rebooter=re-boot this PC
shell\rebooter\command=VT\reboot.bat

shell\powerUI=setup Tweak UI for XP
shell\powerUI\command=downloads\Windows\XP\power toys\TweakUiPowertoySetup.exe

shell\powerCALC=setup Power Calculator for XP
shell\powerCALC\command=downloads\Windows\XP\power toys\PowerCalcPowertoySetup.exe
dcrim
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6865
Re:Auto-Run for Portable Installation 6 Years, 4 Months ago  
Thanks!
I will try and test this out a little tomorrow. -Getting late here and work in the morning...

Again, Thanx!

Da_Dragon555
MJG
Da_Dragon555
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6866
Re:Auto-Run for Portable Installation 6 Years, 4 Months ago  
Wow, my post looked like crud! I'll try a shorter version with numbered lines, maybe that will help...

(1) [autorun]
(2) label=my so-and-so drive
(3) open=folder/executable
(4) action=descriptive text
(5) icon=iconfile.ico
(6) useautoplay=1
(7) shell/labelname=descriptive text
(8) shell/labelname/command=executable

Where "executable" is shown, you may use a path which is relative to the root. Do NOT use the drive letter or leading slash.

NOTE: I used forward slashes but they should be back slashes in the file.

I hope this looks better or is at least more readable/understandable.
dcrim
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop