Hi Heiko: The above works great. A couple of questions: Curl seems to open a terminal. If the user closes the terminal, the transfer stops. Is there a way to get rid of the terminal? Also, I have not been able to display the progress bar. Any ideas? I am using the curl command on Windows 7. Thanks, Antony On Wed, Feb 13, 2013 at 3:00 AM, <wpkg-users-request at lists.wpkg.org> wrote: > Send wpkg-users mailing list submissions to > wpkg-users at lists.wpkg.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.wpkg.org/mailman/listinfo/wpkg-users > or, via email, send a message with subject or body 'help' to > wpkg-users-request at lists.wpkg.org > > You can reach the person managing the list at > wpkg-users-owner at lists.wpkg.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of wpkg-users digest..." > > > Today's Topics: > > 1. Re: Installing an .exe from a remote server > (heiko.helmle at horiba.com) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 13 Feb 2013 09:02:45 +0100 > From: heiko.helmle at horiba.com > To: wpkg-users at lists.wpkg.org > Subject: Re: [wpkg-users] Installing an .exe from a remote server > Message-ID: > <OF32E37968.E47944EC-ONC1257B11.002B7C8E-C1257B11.002C2F6B at smtpgw.horiba.co.jp> > > Content-Type: text/plain; charset="us-ascii" > >> What about .exe? Does anyone have experience with installing .exe from a >> remote server? what is the "install cmd" to install a .exe from a remote >> server? >> > > I'm doing this for quite some time - I'm using a local installed version > of curl to fetch the exe to a known location and run it from there. You > can't run an executable from a http-location like you can from a > SMB-Share. > > A > > > see for example this snippet: > > <variable name="URL" value=" > http://xxx/editor/notepadpp/npp.%version%.Installer.exe" /> > <variable name="target" value="%TEMP%\npp-install.exe" /> > > <install cmd='"%TOOLDIR%\curl.exe" -f -s -o "%target%" "%url%"'/> > <install cmd='TASKKILL /F /IM "notepad++.exe"'> > <exit code='128'/> > </install> > <install cmd='"%target%" /S' /> > > <install cmd='"%COMSPEC%" /C del "%target%"'/> > > > > also I think recent wpkg releases include an external download script that > you could use which includes checksumming the download. > > and there's the <download> tag but it's buggy (no fault of WPKG - it's an > awkward workaround around WSH deficiencies) > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20130213/9ca09230/attachment-0001.html> > > ------------------------------ > > _______________________________________________ > wpkg-users mailing list > wpkg-users at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/wpkg-users > > > End of wpkg-users Digest, Vol 64, Issue 7 > ***************************************** |