You are here

installer.ini Optional files

4 posts / 0 new
Last post
dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
installer.ini Optional files

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]

thesupremecommander
Offline
Last seen: 12 years 1 month ago
Joined: 2010-07-03 14:58
Custom Code?

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 Blum

dagardner
dagardner's picture
Offline
Last seen: 5 years 5 months ago
Developer
Joined: 2007-09-20 14:41
Missed that

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!

thesupremecommander
Offline
Last seen: 12 years 1 month ago
Joined: 2010-07-03 14:58
No Problem

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 Blum

Log in or register to post comments