View forum topic
List of forum topicsSubject: Use a file server for update Config File rather than web server?
I have multiple customers and my application setups are built specifically for each one. A customer may have dozens of users who need to install my application on their individual workstations. I would like to use the Update functionality to enable users to install updates, but since I have multiple customers and each customer controls their own deployment schedule, it is impractical for me to deploy updates from my own web server. Since my customers don't always have their own HTTP server from which updates could be deployed, I can't use CreateInstall's update facility. I tried referencing a local/networked folder using the file: designation in the Config File URL instead of http: (e.g. "file:///C:/Temp/"), but CreateInstall adds an "http://" in front of it, which foils this attempt at a solution. Is there any way to reference a config file on a file server for updates?
We released the version 6.3.0 yesterday. Now you can manage Update Script.
Download and install 6.3.0. Run it.
You will see Update Script tab.
You can redefine 'updatexml' variable in the 'Set Variable' command at the beginning of the update script.
Try to assign it to "file:///C:/Temp/...".
I think, if you know the path to config file, you don't need Download Files command. You can specify the config file in 'INI File - Get Value' command.
I still get an error, even when it doesn't have the http:// at the front of the URL. I think the way this would need to be supported is that when update.exe encounters a URL, it would have to check to see if it begins with "http:" or "file:". If it begins with http:, it should obtain the resource with an HTTP session. If it sees file:, it should open it as a regular file. You may have a better or more preferable way of distinguishing the two types of references, but it would be tremendously useful to permit referencing a local/shared folder in addition to a web server.
I have tried not to append http:// but Download Files command doesn't work with file:// it can download files only via HTTP protocal. So, you don't need to use the 'Download Files' command
and specify the full name of cfg file in the 'INI-Get Value' command in Update Script.
You can send your .ci project file to info@createinstall.com with the 'CreateInstall' subject.
I was able to get this to work. Thank you.
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.