Help - Search - Members - Calendar
Full Version: Dropbox beta - help needed
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
anil_robo
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:
CODE
REG ADD %KEY%\010 /VE /D "Dropbox" /f
REG ADD %KEY%\010 /V 1 /D "%cdrom%\Apps\Dropbox.exe /S" /f


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?

Sorry but this is my first attempt to create an unattended install.
radix
QUOTE (anil_robo @ Nov 5 2008, 12:59 PM) *
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:
CODE
@echo off
start /wait Dropbox_0.6.402.exe /S
ping -n 02 127.0.0.1>nul
taskkill /f /im Dropbox.exe
exit
anil_robo
Added this to RunOnceEx.cmd:
CODE
REG ADD %KEY%\050 /VE /D "Dropbox" /f
REG ADD %KEY%\050 /V 1 /D "%cdrom%\Apps\dropbox.bat" /f


Put the Dropbox batch file in the Apps folder, along with Dropbox_0.6.402.exe (setup). Contents of file dropbox.bat:
CODE
@echo off
start /wait Dropbox_0.6.402.exe /S
ping -n 02 127.0.0.1>nul
taskkill /f /im Dropbox.exe
exit

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" sad.gif

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 newwink.gif
radix
QUOTE (anil_robo @ Nov 6 2008, 11:16 PM) *
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
QUOTE (radix @ Nov 6 2008, 03:40 PM) *
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!!! smile.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.