Is it possible to set up the installer.ini so that optionally replaces files in a certain location?
There is an issue with the latest release of Hedgewars Portable where, for some video cards, some of the files need to be replaced. Right now, I include the latest and greatest in the installer, with a note in the forum thread about what to do if you have the error, but I would like to roll the workaround into the installer, if possible.
Ideally, if the option was selected, it would automatically download the file and extract it to the proper location, but it would be acceptable to include the files in the installer and simply copy them to the proper location if the option is selected.
Is this currently possible?
Thank you,
Andy
[Link fixed by mod Chris]
You could script some custom code and include it in PortableApps.comInstallerCustom.nsh, and perhaps combine it with something like the OptionalComponents section.
However, it might not be very portable if it depends on that. From the link you gave to fix the issue, it said that they would fix it in the next version. Perhaps you should leave it as a known issue with a fix coming from the original developer soon.
My Dev Tests: ~ KeePass Pro Portable (awaiting .NET directory) ~ FreeCol Portable (needs testers)
"... proving to everyone that we are operating on Valve Time..." - us
I must have just read over the last sentence that said that it would be fixed in the next release. I'll just leave it as it is then.
Thanks!
No problem. Good luck on releasing Hedgewars Portable!
My Dev Tests: ~ KeePass Pro Portable (awaiting .NET directory) ~ FreeCol Portable (needs testers)
"... proving to everyone that we are operating on Valve Time..." - us