prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Installer not fetching the download Link

HI Team

I am building an Installer where i add the Per-requite as URL where the package will download form a remote server, I give the ip of the server as "http://[SERVERNAME] /Installer/nolink.exe"

and when i run the exe in command line as "nolink.exe SERVERNAME=192.168.1.1 "
The installer starts up but when it comes to downloading pre-requisites it says failed to download form "http://192.168.1.1/installer/nolink.exe" and i get 12007 error.

The internet or local lan is active i can paste the link on the browser and it starts downloading but y dose it not download form the installer please help.

:( :( :( :(


Have attached the aip too please help me resolve this.

Thank you,
Prashanth.A
Attachments
RADSpa Webi.aip
(22.44 KiB) Downloaded 400 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer not fetching the download Link

Hello Prashanth and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Please keep in mind that the URL field, from Prerequisite Setup Files Tab, is of PseudoFormatted Type. Therefore, it will be resolved at build time. So, it will not use your property (SERVERNAME) value set from command line at run-time.

Also, references embedded in a PseudoFormatted string must respect the following syntax:

Code: Select all

[|propertyname]
However, in order to achieve what you want you should edit your prerequisite URL field so that it will be resolved to a valid URL address at build time.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: Installer not fetching the download Link

Dear Daniel,

Thanks for your quick response.

I have tried as you have mentioned, But i still get the same error can you check my .aip if i'am doing anything wrong.

URL is now => [|Burner] and the value for the property [|Burner] is http://[SERVERNAME]/installer/RADSpaDiskBurner.exe

Can you correct me please.
Attachments
RADSpa Webi.aip
(22.93 KiB) Downloaded 365 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer not fetching the download Link

Hello Prashanth,

I'm afraid this is not a correct approach also. Maybe my answer was not so clear. You cannot use a property value set at run-time (e.g. from command line) to dinamically set the URL field of your prerequisite. This happens because the prerequisite "URL" field is of PseudoFormatted Type and it will be resolved only at build time.

In order to achieve what you want you should set your SERVERNAME property to a valid value (e.g. 192.168.1.1) before build time. For example, you can go in "Install Parameters" page and edit your SERVERNAME as follows:
  • Name: SERVERNAME
    Value: 192.168.1.1
Then, you can set the "URL" field like this:

Code: Select all

http://[|SERVERNAME]/installer/nolink.exe
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: Installer not fetching the download Link

Daniel wrote:Hello Prashanth,

I'm afraid this is not a correct approach also. Maybe my answer was not so clear. You cannot use a property value set at run-time (e.g. from command line) to dinamically set the URL field of your prerequisite. This happens because the prerequisite "URL" field is of PseudoFormatted Type and it will be resolved only at build time.

In order to achieve what you want you should set your SERVERNAME property to a valid value (e.g. 192.168.1.1) before build time. For example, you can go in "Install Parameters" page and edit your SERVERNAME as follows:
  • Name: SERVERNAME
    Value: 192.168.1.1
Then, you can set the "URL" field like this:

Code: Select all

http://[|SERVERNAME]/installer/nolink.exe
If you have any questions let us know.

All the best,
Daniel

Hi Daniel,

Than Giving

Code: Select all

http://[|SERVERNAME]/installer/nolink.exe
if i give

Code: Select all

http://192.168.17.103/installer/nolink.exe
the installer dose fetch the link then what is the use of giving =>

Code: Select all

http://[|SERVERNAME]/installer/nolink.exe
As you have mentioned the pre-requisite url ip cannot be set dynamic
Meaning => Cannot be achieved...

Is there any way i can set the url ip to the command line ......any way????? :o :o :o :shock: :shock: :? :?

Please help.....
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer not fetching the download Link

Hello Prashanth,
Is there any way i can set the url ip to the command line ......any way?????
I'm afraid this cannot be achieved.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prashanth.a
Posts: 14
Joined: Thu Jun 27, 2013 11:54 am

Re: Installer not fetching the download Link

Thank You Can it be taken as a Feature Request..for Advanced Installer....
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer not fetching the download Link

Hello Prashanth,

I've added your request on our TODO list and maybe an improvement will be added in a future version of Advanced Installer. Thank you for your suggestion.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”