SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Unattended Install and configuration

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Unattended Install and configuration
Author Message
Mike Niccum



Joined: 09 May 2002
Posts: 33

Post Unattended Install and configuration Reply with quote


I need to do an unattended install of the remote agent as a service on desktops. I have the setup.inf that was created by running the /SAVEINF switch. I can't seem to figure out how to do this completely unattended. I can install 24x7 unattneded, but can't figure out how to get it into remote agent mode running as a service.

Wishlist item:

I would love to see the installation converted to an MSI (Windows Installer)package...

Thanks,

Mike Niccum

Thu May 16, 2002 6:40 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Unattended Install and configuration Reply with quote

You cannot use the setup to do that, but you can probably automate updating values under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler key

To run the 24x7 service in the agent mode set set AppParameters value to "/AGENT"

This is what I have (you better install one instance manully and copy values from your registry, because of the custom security settings)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler]
"Type"=dword:00000010
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,\
20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,32,00,34,00,78,00,37,00,20,00,41,\
00,75,00,74,00,6f,00,6d,00,61,00,74,00,69,00,6f,00,6e,00,20,00,33,00,5c,00,\
32,00,34,00,78,00,37,00,73,00,72,00,76,00,2e,00,65,00,78,00,65,00,00,00
"DisplayName"="24x7 Scheduler"
"ObjectName"=".\\Administrator"
"AppParameters"="/AGENT"
"DebugMode"=""

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler\Security]
"Security"=hex:01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\
20,00,00,00,20,02,00,00,01,01,01,53,00,00,18,00,8d,01,02,00,01,01,00,00,00,\
00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,\
00,05,20,00,00,00,23,02,00,00,01,01,01,53,01,01,00,00,00,00,00,05,12,00,00,\
00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler\Enum]
"0"="Root\\LEGACY_24X7_SCHEDULER\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

: I need to do an unattended install of the remote agent as a service on
: desktops. I have the setup.inf that was created by running the /SAVEINF
: switch. I can't seem to figure out how to do this completely unattended. I
: can install 24x7 unattneded, but can't figure out how to get it into
: remote agent mode running as a service.

: Wishlist item: I would love to see the installation converted to an MSI
: (Windows Installer)package...

: Thanks,

: Mike Niccum

Thu May 16, 2002 6:56 pm View user's profile Send private message
Mike Niccum



Joined: 09 May 2002
Posts: 33

Post Re: Unattended Install and configuration Reply with quote

I am thinking about using Wise Package Studio 3.12 to create a script that will do the items listed below.

I think I can do all 8 items in one Wise script.

Do you see anything I am missing?

Automated Installation Instructions for running in Master mode as a service

01. Run .\24x7setup.exe /LOADINF="setup.inf" /VERYSILENT /NORESTART /NOICONS

02. Add 24x7 Scheduler link back into "Programs\24 x 7 automation suite 3"

03. Import 24x7 settings registry key (Exported from configured Master)

04. Import 24x7 Service Key (Exported from configured Master)

05. Create shortcut for 24x7 Scheduler (Since the setup didn't install any icons .ie /NOICONS )

06. Remove the 24x7 Scheduler link from the startup folder (Since we are running it as a service, we don't need it to start as an app).

07. Copy empty FacilityMasterServer.dat file to Server (if required: not sure if the service will auto create it since it's specified in the registry as the new dat file)

08. Start the Service

Thanks,

Mike Niccum

: You cannot use the setup to do that, but you can probably automate updating
: values under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7
: Scheduler key

: To run the 24x7 service in the agent mode set set AppParameters value to
: "/AGENT"

: This is what I have (you better install one instance manully and copy values
: from your registry, because of the custom security settings)

: Windows Registry Editor Version 5.00

: [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler]
: "Type"=dword:00000010
: "Start"=dword:00000003
: "ErrorControl"=dword:00000001
:
: "ImagePath"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,\
: 20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,32,00,34,00,78,00,37,00,20,00,41,\
: 00,75,00,74,00,6f,00,6d,00,61,00,74,00,69,00,6f,00,6e,00,20,00,33,00,5c,00,\
: 32,00,34,00,78,00,37,00,73,00,72,00,76,00,2e,00,65,00,78,00,65,00,00,00
: "DisplayName"="24x7 Scheduler"
: "ObjectName"=".\\Administrator"
: "AppParameters"="/AGENT"
: "DebugMode"=""

: [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler\Security]
:
: "Security"=hex:01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\
: 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
: 00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,\
: 05,12,00,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\
: 20,00,00,00,20,02,00,00,01,01,01,53,00,00,18,00,8d,01,02,00,01,01,00,00,00,\
: 00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,\
: 00,05,20,00,00,00,23,02,00,00,01,01,01,53,01,01,00,00,00,00,00,05,12,00,00,\
: 00,01,01,00,00,00,00,00,05,12,00,00,00

: [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\24x7 Scheduler\Enum]
: "0"="Root\\LEGACY_24X7_SCHEDULER\\0000"
: "Count"=dword:00000001
: "NextInstance"=dword:00000001

Fri May 17, 2002 1:39 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Unattended Install and configuration Reply with quote

In 24x7 version 3.2 and prior you also need to update the Serial value in the registry because the setup program doesn't capture that value. Version 3.3 (coming soon) will be able to capture and silently set that value when run with /SAVEINF and /LOADINF options.

The full value path is
HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\Serial

I am sorry, I incorrectly pointed you to ControlSet1 key. Instead please use the CurrentControlSet key for the service.

Because the service isn't going to be created using normal procedures you will need to restart the computer in order for the NT Service Manager to find the new server definition in the registry.

: I am thinking about using Wise Package Studio 3.12 to create a script that
: will do the items listed below.

: I think I can do all 8 items in one Wise script.

: Do you see anything I am missing?

: Automated Installation Instructions for running in Master mode as a service

: 01. Run .\24x7setup.exe /LOADINF="setup.inf" /VERYSILENT /NORESTART
: /NOICONS

: 02. Add 24x7 Scheduler link back into "Programs\24 x 7 automation suite
: 3"

: 03. Import 24x7 settings registry key (Exported from configured Master)

: 04. Import 24x7 Service Key (Exported from configured Master)

: 05. Create shortcut for 24x7 Scheduler (Since the setup didn't install any
: icons .ie /NOICONS )

: 06. Remove the 24x7 Scheduler link from the startup folder (Since we are
: running it as a service, we don't need it to start as an app).

: 07. Copy empty FacilityMasterServer.dat file to Server (if required: not sure
: if the service will auto create it since it's specified in the registry as
: the new dat file)

: 08. Start the Service

: Thanks,

: Mike Niccum

Fri May 17, 2002 1:53 pm View user's profile Send private message
Mike Niccum



Joined: 09 May 2002
Posts: 33

Post Re: Unattended Install and configuration Reply with quote

Wise Package Studio has a feature to install a service. I will use that instead of inporting the registry key and maybe I won't need a reboot.

The serial value I see is in the HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0","serial"="xxxxx-xxxxxxxx-xxxxx". It is in the reg key I exported. Won't that work? When I start the service, the serial will already be in the registry.

How soon will the new version be out, and how many changes can I expect? Is there anywhere I can preview the new features/fixes/changes?

Thanks,

Mike Niccum

: In 24x7 version 3.2 and prior you also need to update the Serial value in the
: registry because the setup program doesn't capture that value. Version 3.3
: (coming soon) will be able to capture and silently set that value when run
: with /SAVEINF and /LOADINF options.

: The full value path is
: HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7
: Scheduler\3.0\Serial

: I am sorry, I incorrectly pointed you to ControlSet1 key. Instead please use
: the CurrentControlSet key for the service.

: Because the service isn't going to be created using normal procedures you
: will need to restart the computer in order for the NT Service Manager to
: find the new server definition in the registry.

Fri May 17, 2002 2:06 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Unattended Install and configuration Reply with quote

Yes, I meant that key. You may also need to grab other configuration values under that key. For instance, if you are going to send emails from the service, you will need to configure SMTP server parameters, email format, etc... So I suggest you setup one 24x7 instance manually and then copy all values and subkeys from the instance "HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree
: Technologies, Inc.\24x7 Scheduler\3.0" to all other instances.

As for the description of 3.3 let me post it in a new message thread because other people could be also interested in reading it.

: Wise Package Studio has a feature to install a service. I will use that
: instead of inporting the registry key and maybe I won't need a reboot.

: The serial value I see is in the HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree
: Technologies, Inc.\24x7
: Scheduler\3.0","serial"="xxxxx-xxxxxxxx-xxxxx".
: It is in the reg key I exported. Won't that work? When I start the
: service, the serial will already be in the registry.

: How soon will the new version be out, and how many changes can I expect? Is
: there anywhere I can preview the new features/fixes/changes?

: Thanks,

: Mike Niccum

Fri May 17, 2002 3:19 pm View user's profile Send private message
Mike Niccum



Joined: 09 May 2002
Posts: 33

Post Re: Unattended Install and configuration Reply with quote

oh...I found it. It's:

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\RC]
"Serial"="00000-00000"

Is this serial to enable remote control? The format does not look like the app serial number.

Thanks,

Mike Niccum

: Yes, I meant that key. You may also need to grab other configuration values
: under that key. For instance, if you are going to send emails from the
: service, you will need to configure SMTP server parameters, email format,
: etc... So I suggest you setup one 24x7 instance manually and then copy all
: values and subkeys from the instance
: "HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree

: As for the description of 3.3 let me post it in a new message thread because
: other people could be also interested in reading it.

Fri May 17, 2002 3:31 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Unattended Install and configuration Reply with quote

This is trial serial number for Remote Control COM interface. You don't need it if you are no going to create own program that will run on each computer and use 24x7 COM interface.

: oh...I found it. It's: [HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies,
: Inc.\24x7 Scheduler\3.0\RC]
: "Serial"="00000-00000"

: Is this serial to enable remote control? The format does not look like the
: app serial number.

: Thanks,

: Mike Niccum

Fri May 17, 2002 3:48 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.