How to setup setnet32 stuff from the command line..

728 views
Skip to first unread message

Jack Murphy

unread,
Jul 21, 1999, 3:00:00 AM7/21/99
to
Hi All,

Does anyone know how to load a configuration file into setnet32 (NT) from
the command line?

I have a file that contains data that I want all of our users to have setup
on their systems and the only way I can see to get the settings to them is
to package a setnet.nfx file and silently install it for them.

Any suggestions?

Thanks ,

J.

Bernhard Donaubauer

unread,
Jul 21, 1999, 3:00:00 AM7/21/99
to
Hi Jack!

> Does anyone know how to load a configuration file into setnet32 (NT) from
> the command line?

I had the same Problem!

My solution looks like this!

a) Create a File that contains the necessary registry entries.(by starting regedit and exporting the key HKEY_LOCAL_MACHINE\SOFTWARE\Informix on a workstation you have already configured i-connect)

This (my) file has the following content (of course your hosts... might be different):
[HKEY_LOCAL_MACHINE\SOFTWARE\Informix]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Informix ORDBMS]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Informix ORDBMS\1.0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Informix-Connect]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Informix-Connect\9.00TC1]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Informix-Connect\9.00TC1\Setup]
"SoftwareType"="RDBMS"

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Setup]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Setup\CurrentVersion]
"Registered User"=" "
"Registered Organization"=" "

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\Setup\InstallDirectories]
"p:\\programme\\informix"="5-20-1999"

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\SqlHosts]

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\SqlHosts\onldev1tcp]
"HOST"="dev1"
"SERVICE"="sqlexec"
"PROTOCOL"="onsoctcp"

[HKEY_LOCAL_MACHINE\SOFTWARE\Informix\SqlHosts\onlixprod1tcp]
"HOST"="ixprod1"
"SERVICE"="sqlexec"
"PROTOCOL"="onsoctcp"


;BD Informixdir setzen
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]
"informixdir"="p:\\programme\\informix"

b) call regedit exportfile from the commandline (for example "regedit informix.reg") or just doubleclick this file on the second workstation you want to configure.

c) do step a and b for the key [HKEY_CURRENT_USER\Software\Informix] (you have to do this for every user on the NT box)

Regards

Bernhard Donaubauer

Octav Chiriac

unread,
Jul 21, 1999, 3:00:00 AM7/21/99
to

May be you should just save the registry entries for setnet32
(somewhere in \\HKEY_LOCAL_MACHINE\Software\Informix ...., well,
I don't remember the full key name, and it could be in HKEY_CURRENT_USER too).
Then you just have to load the registry entries using regedit.


Best Regards,
Octav

On Wed, Jul 21, 1999 at 06:07:53AM +0100, Jack Murphy wrote:
> Hi All,


>
> Does anyone know how to load a configuration file into setnet32 (NT) from
> the command line?
>

> I have a file that contains data that I want all of our users to have setup
> on their systems and the only way I can see to get the settings to them is
> to package a setnet.nfx file and silently install it for them.
>
> Any suggestions?
>
> Thanks ,
>
> J.
>

--
Octav Chiriac Phone: (373) 2 22 99 67
NetInfo S.R.L. Fax: (373) 2 21 36 59
Chisinau (373) 2 22 84 88
Moldova, Republic of mailto:c...@netinfo-moldova.com

Golovsky Vadim

unread,
Jul 21, 1999, 3:00:00 AM7/21/99
to

Hi!!!

See: -> SetNet32.exe -l {drive:\path\}load_files_configuration.nfx

{ Setnet32.exe -load drive:\path\load_file.nfx }

Ok!
==================================
Vadim Golovsky, g...@entel.kiev.ua
tel:+380(44) 245-7525
fax:+380(44) 245-7714
Chief Specialist AIT EnranTelecom
27, Klimenko str. Kyiv, 252110
Ukriane

News

unread,
Jul 23, 1999, 3:00:00 AM7/23/99
to
We use the NT login scripts to pound these values into our users registries
via a batch file. I think the program it calls is reg.exe. If anyone wants
an example, let me know.

Jack Murphy wrote in message <7n3k9i$bp6$1...@shell.fore.com>...

zainabr...@gmail.com

unread,
Aug 10, 2020, 10:01:44 AM8/10/20
to
hi I need a proper guide line about setnet32 configuration.

Reply all
Reply to author
Forward
0 new messages