anil_robo Posted November 5, 2008 Posted November 5, 2008 This is a relatively new program, Dropbox beta. You can download it at www.getdropbox.com . It's a free program to keep folders in sync on many computers over the internet - I use it everyday and it's free.I added these two lines to RunOnceEx.cmd to try if it'd work:REG ADD %KEY%\010 /VE /D "Dropbox" /fREG ADD %KEY%\010 /V 1 /D "%cdrom%\Apps\Dropbox.exe /S" /fThe /S switch makes the install go silent. However, once the installation is complete, the program launches automatically and wants me to answer some questions. How can I suppress those dialog boxes?Sorry but this is my first attempt to create an unattended install.
radix Posted November 5, 2008 Posted November 5, 2008 The /S switch makes the install go silent. However, once the installation is complete, the program launches automatically and wants me to answer some questions. How can I suppress those dialog boxes?Try the next code in a batch file:@echo offstart /wait Dropbox_0.6.402.exe /Sping -n 02 127.0.0.1>nultaskkill /f /im Dropbox.exeexit
anil_robo Posted November 6, 2008 Author Posted November 6, 2008 Added this to RunOnceEx.cmd:REG ADD %KEY%\050 /VE /D "Dropbox" /fREG ADD %KEY%\050 /V 1 /D "%cdrom%\Apps\dropbox.bat" /fPut the Dropbox batch file in the Apps folder, along with Dropbox_0.6.402.exe (setup). Contents of file dropbox.bat:@echo offstart /wait Dropbox_0.6.402.exe /Sping -n 02 127.0.0.1>nultaskkill /f /im Dropbox.exeexitThe batch script works on my working computer, but not when I install through unattended CD. The error dialog box says "Dropbox_0.6.402.exe not found" And it's a pain to rebuild the whole ISO and rerun through entire windows reinstall just to check a batch file worth few bytes, if you feel what I mean
radix Posted November 6, 2008 Posted November 6, 2008 The batch script works on my working computer, but not when I install through unattended CD. The error dialog box says "Dropbox_0.6.402.exe not found"Maybe is something wrong with your RunOnceEx.cmd. I use WPI instead of RunOnceEx.
anil_robo Posted November 7, 2008 Author Posted November 7, 2008 (edited) Maybe is something wrong with your RunOnceEx.cmd. I use WPI instead of RunOnceEx.Thanks a bunch, everyone here is so helpful!I spend three whole days and nights to learn how to use RunOnceEx, and now I come to know of another tool! Well I may not have that much free time in the coming few days, so let's try to work with what I have learned so far - let's go the RunOnceEx way rather than WPI way.While browsing through these forums, I came across a tool called "Autoit" - I think it may be used to close the window when Dropbox tries to launch itself. I'm still trying to know what Autoit is, and what it can do for me. In the meanwhile, can someone make a little script that will close the active window that has "dropbox" in its title? Also where to place this script on the Unattended CD? Edit: Nevermind, I downloaded Autohotkey, and "recorded" the install using the "script recorder" that came with it. Works like a charm!!! Edited November 7, 2008 by anil_robo
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now