[wpkg-users] Dropbox autoit script problems

Jean-Jacques Moulis jj at isy.liu.se
Fri Mar 18 14:43:47 CET 2011


On Fri, 18 Mar 2011 13:12:59 +0000 Paul McGrath <J.P.McGrath at leeds.ac.uk> wrote:

PM> Okay, I see what you are saying.  Ho hum.
PM> Thanks
PM> Paul

PM> -----Original Message-----
PM> From: Malte Starostik [mailto:malte at malte.homeip.net] 
PM> Sent: 18 March 2011 12:13
PM> To: wpkg-users at lists.wpkg.org
PM> Cc: Paul McGrath
PM> Subject: Re: [wpkg-users] Dropbox autoit script problems

PM> Am Freitag, 18. März 2011, 12:30:24 schrieb Paul McGrath:
PM> > Hi Martin,
PM> >   Yes it appears that the autoit clicking isn't working when using wpkg. 
PM> > I've checked event viewer log and cannot see any problems.  Is it possible
PM> > to get a more detailed log from wpkg? Thanks
PM> > Paul

PM> Hi Paul,

PM> such things only work when the service is configured to be allowed to interact 
PM> with the desktop - otherwise processes started from the service cannot create 
PM> windows and all such autoit stuff is bound to fail.
PM> Either way, this is rather dirty hackery and the Right Thing (tm) would be to 
PM> get the Dropbox folks to release a real silent installer.  Starting with 
PM> Windows Vista, it's no longer possible to allow such service to desktop 
PM> interaction at all - breaking any package that uses autoit clickery from WPKG 
PM> Client or WPKG-GP.

PM> Cheers,
PM> Malte


I repackaged Dropbox with innosetup to alleviate those problems.

	<package id="dropbox" name="Dropbox" revision="3" reboot="false" priority="97">
		<check type="uninstall" condition="exists" path="Dropbox 1.0.20" />
		<install cmd='%WpkgRoot%\Packages\Dropbox\Dropbox-setup.exe /silent' />
		<upgrade cmd='%WpkgRoot%\Packages\Dropbox\Dropbox-setup.exe /silent' />
		<remove cmd='%WpkgRoot%\Packages\Dropbox\Uninstall.cmd' />
	</package>

you can replace /silent with /verysilent

Download:
http://users.isy.liu.se/en/tus/jj/Fichiers/Dropbox.zip
or
http://dl.dropbox.com/u/14248069/Dropbox.zip

it contains the iss script, the compiled installer (in Output), and the needed files 

if you want to compile it yourself or make some changes
download and install InnoSetup with innoIDE (ispack-5.4.1.exe)
http://www.jrsoftware.org/

open install_script.iss with innoIDE
press Compile

best Regards!

-- 
Jean-Jacques   Moulis                              Tel:  (013) 281684
ISY                                                Fax:  (013) 139282
Linköping University                            E-mail: jj at isy.liu.se
581 83 Linköping



More information about the wpkg-users mailing list