Jump to content

Recommended Posts

Posted

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" /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.


Posted
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 off
start /wait Dropbox_0.6.402.exe /S
ping -n 02 127.0.0.1>nul
taskkill /f /im Dropbox.exe
exit

Posted

Added this to RunOnceEx.cmd:

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:

@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" :(

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 ;)

Posted
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.

Posted (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 by anil_robo

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...