Getting a compiler variable in updates Monitor URL to work
Posted: Tue Sep 24, 2013 3:46 am
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
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