We need to have SERVER_PORT as a variable for updates and web media block URLs.
It works when in the URL for a web media block, but I don't think it is being resolved for the URL defined in the 'Monitor URL' on the Project Properties panel. When I hard-code ':8080' the check for updates finds the ini file, but when the port in the URL is defined using #SERVER_PORT#, the check for updates says it can't contact the updates server.
Is there any way to actually see the url that is created? Does the 'check for updates' processing would have an option to log what actually happens when it tried to contact the server? This must be a problem area for users sometimes, such as when proxies are involved.
We need this flexibility for the port value for various testing stages. Can you tell me how we can get the compiler variable to be resolved. MSI code change, perhaps?
Regards, John
Getting a compiler variable in updates Monitor URL to work
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Getting a compiler variable in updates Monitor URL to wo
Dear John,
I continue to believe that you are not using the correct approch.
Could you please refer to my last reply to your other topic ... I suspect that both cases are related.
http://www.installaware.com/forum/viewtopic.php?f=2&t=9695&p=35977#p35977
Regards
I continue to believe that you are not using the correct approch.
Could you please refer to my last reply to your other topic ... I suspect that both cases are related.
http://www.installaware.com/forum/viewtopic.php?f=2&t=9695&p=35977#p35977
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
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
Re: Getting a compiler variable in updates Monitor URL to wo
Dear Francesco
your are right - the sample project engaged my brain! I now have a solution. I define the URL value for SERVER_UPDATE as a property in my Ant build script. I also define a property for the PORT in the script. I can substitute this in SERVER_UPDATE in the script. So, when both of these values are passed to the IA build from the command line as compiler variables, they have their required values.
I am but a humble Java developer, who was tasked with choosing a decent installer, and then make it work. I am getting there, albeit slowly. Thanks for all your help.
John
your are right - the sample project engaged my brain! I now have a solution. I define the URL value for SERVER_UPDATE as a property in my Ant build script. I also define a property for the PORT in the script. I can substitute this in SERVER_UPDATE in the script. So, when both of these values are passed to the IA build from the command line as compiler variables, they have their required values.
I am but a humble Java developer, who was tasked with choosing a decent installer, and then make it work. I am getting there, albeit slowly. Thanks for all your help.
John
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Getting a compiler variable in updates Monitor URL to wo

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
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
Who is online
Users browsing this forum: No registered users and 146 guests