Hello,
At the moment, during install the user specifies hostname of the server with the configuration files stored. It's stored in [CONFIG_LOCATION]. In the updater section of my installer i've created the link as: http ://[CONFIG_LOCATION]/update.txt
In my testing environment my server is just called "apache" so this is the value i provide. The above URL then becomes http: //apache/update.txt
This works perfectly for checking for new updates, the URL is constructed and the updater will go and check for any newer versions.
The server name could change depending on who and where the application is being installed. Is it possible to pass the [CONFIG_LOCATION] variable from the main installation package to the URL field in the update package, so the field for the URL to the executable would be http: //[CONFIG_LOCATION]/file.exe but this would be created as http: //apache/file.exe?
This would be really useful for me, I work for an MSP and we will be installing this across many sites/systems - I don't want to have to package a different updater for each site/client where i install my application.
The [CONFIG_LOCATION] itself is persistent and written into the registry.
Is this possible, or is there a possible way to work around this?
Edit: made the URLs non clickable.
FOLLOW US
Get the latest news in Application Packaging