M
Mark
I seem to be having a problem using the "ADD" command in CMI Explorer
to add a component Instance to a new Config (.slx file). The following
snapshot shows me trying to load a .slx file into a Config object
named "slxtest." I then create a new Instances object called
"newcomps" and set it equal to all Instances with the word
"Accessibility" in it (i.e. I'm trying to add all the Accessibility
componenents to the .slx file I just loaded). I check that "newcomps"
got set correctly, by doing a "show newcomps" and it reports correctly
by saying it assigned 3 instances to it. I then do an "add slxtest
newcomps" and every single time it creates a NEW Config object with
only the 3 instances I just tried to add. I want to simply add these 3
new instances to the .slx file, not create an empty .slx file with the
3 new instances. How do I use "ADD" in CMI Explorer to add an Instance
to an existing .slx file, and then save it?
-Mark
<BEGIN SNAPSHOT>
Microsoft (R) Windows Script Host Version 5.1 for Windows
Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.
CMI Explorer version 3.14.620 (CMI revision 578)
Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
Platform : (not in database)
*dbopen sei2050050
Server : sei2050050
Database : MantisSQLDB
Generation : {328548C0-AA37-4E72-947A-AA5A5CE53FA9}
Open mode : ReadImport (1)
*minvis 100
Visibility : 100
*load slxtest rcdu3_hardwareconfig_test.slx
*dump slxtest
<long list of stuff removed for brevity...>
*new newcomps Instances
*newcomps = 'insts:Accessibility'
*show newcomps
Instances: [3 items]
*add slxtest newcomps
*dump slxtest
Configuration <DetachedPassive>: Windows XP Embedded Client (x86)
[Version 1.0, R2]
Configuration.Instances(1) <AttachedPassiveNew>: Accessibility
Control Panel [Version 5.1.2600, R620]
Configuration.Instances(1).Dependencies: Empty collection
Configuration.Instances(1).Resources: Empty collection
Configuration.Instances(2) <AttachedPassiveNew>: Accessibility
Core [Version 5.1.2600, R620]
Configuration.Instances(2).Dependencies: Empty collection
Configuration.Instances(2).Resources: Empty collection
Configuration.Instances(3) <AttachedPassiveNew>: Accessibility
Wizard [Version 5.1.2600, R620]
Configuration.Instances(3).Dependencies: Empty collection
Configuration.Instances(3).Resources: Empty collection
Configuration.Resources: Empty collection
Configuration.Tasks: Empty collection
*
<END SNAPSHOT>
to add a component Instance to a new Config (.slx file). The following
snapshot shows me trying to load a .slx file into a Config object
named "slxtest." I then create a new Instances object called
"newcomps" and set it equal to all Instances with the word
"Accessibility" in it (i.e. I'm trying to add all the Accessibility
componenents to the .slx file I just loaded). I check that "newcomps"
got set correctly, by doing a "show newcomps" and it reports correctly
by saying it assigned 3 instances to it. I then do an "add slxtest
newcomps" and every single time it creates a NEW Config object with
only the 3 instances I just tried to add. I want to simply add these 3
new instances to the .slx file, not create an empty .slx file with the
3 new instances. How do I use "ADD" in CMI Explorer to add an Instance
to an existing .slx file, and then save it?
-Mark
<BEGIN SNAPSHOT>
Microsoft (R) Windows Script Host Version 5.1 for Windows
Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.
CMI Explorer version 3.14.620 (CMI revision 578)
Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
Platform : (not in database)
*dbopen sei2050050
Server : sei2050050
Database : MantisSQLDB
Generation : {328548C0-AA37-4E72-947A-AA5A5CE53FA9}
Open mode : ReadImport (1)
*minvis 100
Visibility : 100
*load slxtest rcdu3_hardwareconfig_test.slx
*dump slxtest
<long list of stuff removed for brevity...>
*new newcomps Instances
*newcomps = 'insts:Accessibility'
*show newcomps
Instances: [3 items]
*add slxtest newcomps
*dump slxtest
Configuration <DetachedPassive>: Windows XP Embedded Client (x86)
[Version 1.0, R2]
Configuration.Instances(1) <AttachedPassiveNew>: Accessibility
Control Panel [Version 5.1.2600, R620]
Configuration.Instances(1).Dependencies: Empty collection
Configuration.Instances(1).Resources: Empty collection
Configuration.Instances(2) <AttachedPassiveNew>: Accessibility
Core [Version 5.1.2600, R620]
Configuration.Instances(2).Dependencies: Empty collection
Configuration.Instances(2).Resources: Empty collection
Configuration.Instances(3) <AttachedPassiveNew>: Accessibility
Wizard [Version 5.1.2600, R620]
Configuration.Instances(3).Dependencies: Empty collection
Configuration.Instances(3).Resources: Empty collection
Configuration.Resources: Empty collection
Configuration.Tasks: Empty collection
*
<END SNAPSHOT>