I have generated the following nsi script, which gets it done - but is there a way to use an environment variable to the local appdata\wireshark folder for the mate file?
*Edit - vastly better - dumped the quentin.mate file, and a stub properties file (with some prefdefined filters) into the application directory, so Wireshark loads those first. I've got a small patch that will be applied to decode_as_entries if it exists, otherwise it gets replaced. What would be the recommended way to get the files into the staging directory for deployment, or is it better to keep this as a manual process? Thanks for your help, asked 30 Jun '16, 22:24 Scott Harman edited 01 Jul '16, 02:34 grahamb ♦ |
One Answer:
Add a CMakeListsCustom.txt that adds a custom target with a copy command to copy your files from the source location to the staging dir. There's lots of examples of that in the top level CMakeLists.txt answered 01 Jul '16, 02:33 grahamb ♦ Hi @grahamb - can you give me a pointer on this please - I'm trying to add either a block or a command, and both are failing - Here's an example of what I've most recently tried which causes a crash:
(06 Jul '16, 20:06) Scott Harman Something like:
Although some of those variable definitions might not be set up when your custom file is included. (07 Jul '16, 04:58) grahamb ♦ Here's the values I've added to CMakeListsCustom.txt The necessary bit was ADD_DEPENDENCIES
I've got a bunch of patches and stock preferences in there for first run up. (19 Jul '16, 21:54) Scott Harman |
Your answer has been converted to a comment as that's how this site works. Please read the FAQ for more information.
Note I changed the title to better reflect what this question is actually asking.