PDA

View Full Version : How can I run an separate web install from the install



NewsArchive
09-23-2021, 02:16 PM
I've asked something like this before but no replies.. so I'll try a
different approach.

What I would like to do is if a certain file(s) is not on the clients
computer or is older, is to have the install program run a separate
install that is on the web that will download those files (preferably at
the end of the install). This is more for runtime files. This keeps my
update install or regular install small, but allows bigger runtime files
to get updated or installed only if necessary.

Any idea's?

Thanks.
--
Ray Rippey
VMT Software

NewsArchive
09-23-2021, 02:17 PM
> I've asked something like this before but no replies.. so I'll try a
> different approach.
>
> What I would like to do is if a certain file(s) is not on the clients
> computer or is older, is to have the install program run a separate
> install that is on the web that will download those files (preferably at
> the end of the install). This is more for runtime files. This keeps my
> update install or regular install small, but allows bigger runtime files
> to get updated or installed only if necessary.
>
> Any idea's?
>
> Thanks.

Include the webinstaller EXE with your main installer.
If the conditions are met, have your main installer run the web installer.

OR

If the conditions are met, use the DOWNLOAD File script function (Web
Functions) to get the WebInstaller.exe and run it.

Paul MacFarlane

NewsArchive
09-23-2021, 02:17 PM
Hi Ray,

> I've asked something like this before but no replies.. so I'll try a
> different approach.
>
> What I would like to do is if a certain file(s) is not on the clients
> computer or is older, is to have the install program run a separate
> install that is on the web that will download those files (preferably at
> the end of the install). This is more for runtime files. This keeps my
> update install or regular install small, but allows bigger runtime files
> to get updated or installed only if necessary.
>
> Any idea's?

You have several different options.

You can develop a separate installer and (optionally) download it from your
server. Then execute it. You can use the "Download File (HTTPs..")" and
"Run Program..." script actions here. This is what most developers are
doing to keep the overhead small.

Or put the extra files into a ZIP and download & unzip this as part of your
installation. You can use the "Download File (HTTPs..")" and "Unzip
File(s)..." script actions here.

Does this help?

Friedrich

NewsArchive
09-23-2021, 02:18 PM
Thanks. Separate install sounds good. I didn't know how or if I could
cause a second download and install to happen from within an install.
I'll give that a try.

Ray Rippey
VMT Software

NewsArchive
09-23-2021, 02:18 PM
> Thanks. Separate install sounds good. I didn't know how or if I could
> cause a second download and install to happen from within an install. I'll
> give that a try.

Just let me know if you need help with this.

Friedrich

NewsArchive
09-28-2021, 01:57 AM
Thanks. The tricky part might be checking to see if a file is older so
it triggers the code that would download and run the second install. I
guess I can just hardwire the dates. What would be a really nice way to
do it is have code that can go look at the file in my ftp site,
determine what is newer, then either download it or trigger a download
for the second install. I imagine it would be something like the core
prerequisites? but for (in my case) clarion runtimes.

Ray Rippey
VMT Software