Installation of external files

Got a problem you cannot solve? Try here.
johnbyerly
Posts: 44
Joined: Fri Apr 12, 2013 2:30 pm

Installation of external files

Postby johnbyerly » Mon Aug 25, 2014 7:58 pm

Hi,

We have a customer who wishes to deliver one or more files along with our installer (all zipped up together). I am trying to figure out a way to get those files installed. I see the Local Files capability, but I don't know how to access these external files.

For example, let say this is the contents of the zip file that is delivered:

XYZInstaller.exe
Auxfile1.txt
Auxfile2.txt
DB.dat

We create XYZInstaller.exe and supply it to our customer. They package it with the other files, zip it up, and deliver it to their customers. They don't want us to know the contents of the extra files, but wish them to be installed along with our program.

Is there any way to do this?

JAB

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installation of external files

Postby FrancescoT » Tue Aug 26, 2014 11:53 am

Dear Jab,

if these files are available at Runtime execution within the folder containing the setup executable itself, you can access to them using the EXEDIR pre-defined script variable.

However, at least you must know the name of each single file that you want to process with your installer, or they should include an additional text file where those files are listed.

In this last case, you could read through the text file via script, in order to collect the name of each external file included.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

johnbyerly
Posts: 44
Joined: Fri Apr 12, 2013 2:30 pm

Re: Installation of external files

Postby johnbyerly » Tue Aug 26, 2014 3:28 pm

Thank you! That works great for uncompressed files.

Since (apparently) the first step when running a single file install is to expand the files, this doesn't work with a single file install. Is there a similar variable that will give me the location of the single .exe file?

Thanks!

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installation of external files

Postby FrancescoT » Wed Aug 27, 2014 10:12 am

Dear Jab,

the SETUPPATH pre-defined variable should solve your problem.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

johnbyerly
Posts: 44
Joined: Fri Apr 12, 2013 2:30 pm

Re: Installation of external files

Postby johnbyerly » Wed Aug 27, 2014 2:06 pm

Thanks!

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installation of external files

Postby FrancescoT » Thu Aug 28, 2014 10:52 am

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 116 guests