This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Is there a way to disable the update "feature" during compilation of wireshark. We're in the middle of developing a protocol, and updating to a version that doesn't contain the dissector is not preferable.

Thanks Brian

asked 16 Sep '13, 11:26

brwiese's gravatar image

brwiese
26111211
accept rate: 50%


In epan/prefs.c:pre_init_prefs(), set prefs.gui_update_enabled = FALSE;

AN UPDATE

So maybe it depends on what you're trying to accomplish, but I've thought of another option as well, bringing the list to the following 3:

  1. If you want to disable the update feature completely, then Gerald's suggestion to comment out WINSPARKLE_PKG in config.nmake is the answer.

  2. If you want to allow the users to be able to re-enable the feature, then you can use my original suggestion; however, if you do that, then updates will be based on the latest official releases, not your own releases, which may not be desirable.

  3. If you want to be able to support automatic updates with your own customized Wireshark releases, then you should be able to modify ui/software_update.c:get_appcast_update_url() to point the update_url_str to your own update location instead of to the official one. (I actually ran a quick test of this, and it looks like it will work.)

permanent link

answered 16 Sep '13, 11:38

cmaynard's gravatar image

cmaynard ♦♦
9.3k1038142
accept rate: 20%

edited 18 Sep '13, 12:06

1

You can also disable it at compile time by commenting out WINSPARKLE_PKG in config.nmake.

(16 Sep '13, 14:07) Gerald Combs ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×18
×9
×4

question asked: 16 Sep '13, 11:26

question was seen: 3,872 times

last updated: 18 Sep '13, 12:06

p​o​w​e​r​e​d by O​S​Q​A