All Forums
> NetWorx
> Current topic
Automating Installation
Started by SamODay
SamODay
Automating Installation 22 September 2015, 23:16 |
Running a script to automatically install Networx. There is an option that I want to "untick". Is there a command line switch to activate the General Settings tab? I want to be able to have my script open up cmd and access the settings, but the only thing that comes up is the menu selection. Any ideas how to make the settings window appear via cmd? Any help would be appreciated.
Re: Automating Installation 22 September 2015, 23:30 |
Admin Registered: 18 years ago Posts: 3 519 |
You can install NetWorx using networx_setup.exe /SILENT on the command line. This will install it automatically without user intervention.
Then you can replace its initial database with all the settings. In order to do so:
Then you can replace its initial database with all the settings. In order to do so:
- Download portable version of NetWorx to a folder.
- Set the settings the way you want.
- Quit NetWorx and you will find NETWORX.DB in that folder.
- Copy the file to c:\ProgramData\SoftPerfect\NetWorx\ after NetWorx was installed on a new computer.
SamODay
Re: Automating Installation 23 September 2015, 00:05 |
Completing your steps has not resolved my issue. The option of "Ignore local LAN traffic" is still remaining unticked. When I run it from the portable version, the option to tick the box is grayed out.
I reinstalled, and set the options the way I need them. I then found the .db file you made reference to. I thought that if I were to copy that file itself, and use it as the replacement, that it would work. Unfortunately, after I reinstalled Networx again and then replaced that .db file, the option is still unticked. Any other ideas?
I reinstalled, and set the options the way I need them. I then found the .db file you made reference to. I thought that if I were to copy that file itself, and use it as the replacement, that it would work. Unfortunately, after I reinstalled Networx again and then replaced that .db file, the option is still unticked. Any other ideas?
Re: Automating Installation 23 September 2015, 10:20 |
Admin Registered: 18 years ago Posts: 3 519 |
NetWorx stores all its configuration in this file NETWORX.DB. If the option is not ticked, it means it's not set in the DB file.
You can check this by downloading SQLiteSpy, loading NETWORX.DB in it and running the following query to check the setting
You can check this by downloading SQLiteSpy, loading NETWORX.DB in it and running the following query to check the setting
SELECT VALUE FROM config WHERE PARAM = 'IgnoreLAN'A zero means it's off and 1 means it's on. It can be set by running the following query:
UPDATE config SET VALUE = 1 WHERE PARAM = 'IgnoreLAN'