Transcript
Page 1: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

WinINSTALL 8.70.03Desktop Management Suite and Desktop

Availability Suite

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reference Guide

Page 2: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

Disclaimer

The information contained in this publication is subject to change without notice. Attachmate Corporation makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Attachmate Corporation shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this manual.

Copyright

© Copyright 1991-2006 by Attachmate Corporation. All Rights Reserved.Migration Engine © Copyright 1998-2006 by Tranxition Corporation. All Rights Reserved.

Page 3: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

April, 2006 Reference Guide iii

TABLE OF CONTENTS

Section 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

Chapter 2: Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5WinINSTALL Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

WinINSTALL Share . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

WinINSTALL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Client Workstations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

WinINSTALL Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Reference Machine (clean machine on which packages are discovered) . . . . . . . . . . . . . . . . . . . 9Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

PXE Client Reset Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Basic PXE Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10WinINSTALL PXE Client Reset Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

WinINSTALL Administrator Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Chapter 3: WinINSTALL Directory Structures . . . . . . . . . . . . . . . . . . . . . . . . . .13WinINSTALL Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Page 4: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

iv WinINSTALL Desktop Management Suite and Desktop Availability Suite

WinINSTALL Share . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13WinINSTALL MSDE 2000 Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Machines with WinINSTALL Agent Deployed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Client Reset Folder Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Console Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Distrib folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Logs folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23DosFiles folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23<Language> folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23MAC Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26RPClient folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

PXE Client Reset Folder Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28\ClientReset\nnnn Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28\ClientReset\data Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29\ClientReset\drivers Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29\ClientReset\sif Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29\ClientReset\utilities Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Chapter 4: The WinINSTALL Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31WinINSTALL Sub-Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31IPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Wake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Merge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Publisher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Replication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Housekeeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Client Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Agent Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Secure Manual Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Page 5: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

April, 2006 Reference Guide v

Agent Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Configuration and Transaction Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Information Flow From the Database To the Workstation . . . . . . . . . . . . . . . . . . . . . . . . 40Data Flow From the Workstation to the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Share Configuration and Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Share Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Share Ownership and Merge/Publish Responsibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Share Selection Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

Section 2: WinINSTALL Database . . . . . . . . . . . . . . . . . . 45

Chapter 5: WinINSTALL Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47Database Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Supported Database Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Microsoft® SQL Server 2000 Desktop Engine (MSDE 2000) . . . . . . . . . . . . . . . . . . . . 47Microsoft® SQL Server 2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Microsoft® SQL Server 2005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Oracle® 9i or Later . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

Upgrading the Database Schema from Previous Releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Upgrading a Microsoft SQL Server or MSDE WinINSTALL Database . . . . . . . . . . . . . 48Upgrading an Oracle WinINSTALL Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Chapter 6: WinINSTALL Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51Database Version table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

WI_VERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Agent Infrastructure Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

WIAI_CHANGE_NOTICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52WIAI_EXCLUSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52WIAI_EXTENSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52WIAI_HKSETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53WIAI_INVSETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53WIAI_JOBBIGPARAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53WIAI_JOBCOMPLETION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54WIAI_JOBMACHINES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

Page 6: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

vi WinINSTALL Desktop Management Suite and Desktop Availability Suite

WIAI_JOBNETCRITERIA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55WIAI_JOBPARAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55WIAI_JOBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55WIAI_LOGVARIABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56WIAI_MASETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56WIAI_MERGESETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57WIAI_PACKAGE_PATHS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57WIAI_PACKAGES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58WIAI_PUBSETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58WAI_REASSIGNED_WORKSTATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58WIAI_REPSETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59WIAI_SDSETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59WIAI_WAKESETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

Conflict Assessment Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60WICA_ASSESSEDPACKAGES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60WICA_ASSESSMENTHISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60WICA_ASSESSMENTSETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61WICA_CONFLICTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61WICA_INIFILEADDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61WICA_INIFILEREMOVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62WICA_JOBHISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62WICA_PACKAGEDIRADDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62WICA_PACKAGEDIRREMOVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62WICA_PACKAGEFILEADDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63WICA_PACKAGEFILEREMOVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63WICA_PATHS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63WICA_REGISTRYKEYADDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64WICA_REGISTRYKEYDELETES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64WICA_REGISTRYVALUEADDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64WICA_REGISTRYVALUEDELETES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65WICA_SHORTCUTADDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65WICA_SHORTCUTDELETES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66WICA_WFILE_XREF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66WICA_WFILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Page 7: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

April, 2006 Reference Guide vii

Console Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67WICON_ASSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67WICON_ASSETTYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67WICON_CLOB (Oracle-only Table) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67WICON_INVAPPFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68WICON_LICENSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68WICON_LOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69WICON_LOGDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69WICON_MACHINEGROUPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69WICON_MACHINEPATHS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70WICON_MACHINES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71WICON_SEARCHCONDITIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71WICON_SEARCHES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72WICON_SECACC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72WICON_SERVERSETTINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

Client Reset Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73WICR_FILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73WICR_LOOKUPMSDOSNICDRIVERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73WICR_MSDOSADDITIONALFILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74WICR_MSDOSNICDRIVERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74WICR_OSLICENSEKEYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74WICR_SHARES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75WICR_TEMPLATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

Inventory Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78WIINV_ARPAPPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78WIINV_CHANGELOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78WIINV_DETECTEDFILEEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79WIINV_DETECTEDFILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79WIINV_DEVICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80WIINV_LOCALLOGICALDRIVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80WIINV_MACHINEHW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80WIINV_NTSERVICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81WIINV_OSINFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82WIINV_PRINTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

Page 8: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

viii WinINSTALL Desktop Management Suite and Desktop Availability Suite

WIINV_RAMSLOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83WIINV_REGISTEREDMSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83WIINV_REGISTEREDNAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84WIINV_WINUPDATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

Migration Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84WIMIG_JOBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84WIMIG_SKIPPEDCONTENTNODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85WIMIG_TASKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85WIMIG_USERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

PXE Client Reset Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87WIPXECR_CLIENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87WIPXECR_CLIENTLicenseS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87WIPXECR_DRIVERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87WIPXECR_LICENSEKEYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88WIPXECR_OPERATINGSYSTEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88WIPXECR_SERVERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89WIPXECR_TEMPLATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89WIPXECR_TEMPLATEACCOUNTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90WIPXECR_TEMPLATEFIREWALLEXCLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91WIPXECR_TEMPLATEPACKAGES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91WIPXECR_TEMPLATEUTILITIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92WIPXECR_UTILITIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92WIPXECR_UTILITYSUPPORTFILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

Replication Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93WIREP_JOBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93WIREP_JOBSTATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93WIREP_JOBSTATUSLOGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94WIREP_MIGRATIONSOURCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94WIREP_MIGRATIONTARGETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94WIREP_PACKAGESOURCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95WIREP_PACKAGETARGETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95WIREP_PATCHSOURCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95WIREP_PATCHTARGETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96WIREP_PXECRSOURCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

Page 9: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

April, 2006 Reference Guide ix

WIREP_PXECRTARGETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96WIREP_TEMPLATESOURCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97WIREP_TEMPLATESREPLICATED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97WIREP_TEMPLATETARGETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

Section 3: Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

Chapter 7: WinINSTALL Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101System-defined Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

System-defined Variables for WinINSTALL (NAI) Packages: . . . . . . . . . . . . . . . . . . 101System-defined Variables for Windows Installer (MSI) Packages: . . . . . . . . . . . . . . . 103

User-defined Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Constant Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Global Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Application Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104URL Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

Chapter 8: Conflict Assessment Categories . . . . . . . . . . . . . . . . . . . . . . . . . .105Main conflict categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105File conflict subcategories and messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Registry conflict subcategories and messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106Shortcut conflict subcategories and messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106INI File conflict subcategories and messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

Chapter 9: MSI Custom Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109Defining the Custom Action: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

Specifying the Custom Action Sequence: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

Section 4: Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . 113

Chapter 10: WinINSTALL Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115Console logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

Page 10: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

x WinINSTALL Desktop Management Suite and Desktop Availability Suite

WinINSTALL Database log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115Windows Event Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Console Log Event Codes and Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

WinINSTALL Agent logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119Installer logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

Chapter 11: Special WinINSTALL Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . .121Network Detection (NoNetNoGo.exe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121Creating a Baseline for Conflict Assessment (WIBaselineGen.exe) . . . . . . . . . . . . . . . . . . . . 121Client Launch (WIClient.exe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121Script to Add a Database User (dbAddUser.cmd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Procedure to Set the Dynamic List Publishing Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

Procedure to Set the Interval Count for a Specific Server . . . . . . . . . . . . . . . . . . . . . . . 123Procedure to Set the Interval Count for All Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123Procedure to Set the Global Default Interval Count (for New Servers) . . . . . . . . . . . . . 124

Special Utility for Microsoft Patches (PatchCatalog.exe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Generating mssecure Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125PatchCatalog command syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126Supported languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127Patch Management Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

Personality Transfer Command Line Utility (WIMigCmd.exe) . . . . . . . . . . . . . . . . . . . . . . . . 129Sample Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129

Interactive Installer Icon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130Run Automatic Installer at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130Enable E-Mail Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131Event Viewer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131SNMP Get Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132SNMP Get and Set Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132Backup User Data and Initiate Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132Open XP Firewall Ports for WinINSTALL Operations . . . . . . . . . . . . . . . . . . . . . . . . . 134Restore User Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134

Chapter 12: WinINSTALL Scripting Extensions . . . . . . . . . . . . . . . . . . . . . . .137Installer Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137

Page 11: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .

April, 2006 Reference Guide xi

Installer Object Properties and Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Installer Script Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142Installer Event Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

Console Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152The Machines object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152The Machine object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153Console Scripting Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169

Page 12: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

xii WinINSTALL Desktop Management Suite and Desktop Availability Suite

Page 13: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 1

. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Section 1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . INTRODUCTIONCHAPTER 1: INTRODUCTION

CHAPTER 2: INSTALLATION REQUIREMENTS

CHAPTER 3: WININSTALL DIRECTORY STRUCTURES

CHAPTER 4: THE WININSTALL AGENTS

Page 14: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

2 WinINSTALL Desktop Management Suite and Desktop Availability Suite

Page 15: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 3

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .INTRODUCTION 1

he WinINSTALL Reference Guide is intended to provide in-depth information on the inner workings of the WinINSTALL product and methods for accomplishing advanced and involved tasks. It is not expected that anyone would read this

document from start to finish. Rather, as its title would suggest, this manual is intended to serve as a reference, to be consulted for specific information at times when you are trying to accomplish something more involved than usual. The guide is divided into sections to make it easier for you to find the information you are looking for.

This initial section presents installation requirements for all product components--information which is available elsewhere, but which is included here for the sake of completeness. This introductory section also includes information on the directory structure of the WinINSTALL share and the WinINSTALL agent infrastructure, what the components are, and how they interact with one another.

The WinINSTALL Database section provides information on the various supported database management systems, on upgrading the database from one version of the product to another, and finally, a complete listing of all the tables and fields in the WinINSTALL database, including field types, sizes, and whether they are required or not.

The Applications section provides detailed information on certain of the intricacies of application packaging and distribution with WinINSTALL.

Finally, the Miscellaneous section includes information on WinINSTALL utilities, scripting, and other tools which don’t easily fit into any of the other categories.

T

Page 16: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N T R O D U C T I O N

4 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1

Page 17: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 5

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .INSTALLATION REQUIREMENTS 2

he minimum installation requirements for each of the WinINSTALL components is detailed below, along with a short explanation of what each component is and what role it plays in the WinINSTALL environment.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L C O N S O L EThe WinINSTALL Console is the graphical user interface (GUI) used to administer the entire WinINSTALL environment. Each machine on which you install a Console must meet the following requirements:

HARDWARE• 85 MB of disk space (for the local components of WinINSTALL).

SOFTWARE• Operating System - Windows 2000, SP4/Windows XP/2003.

• Microsoft Windows Installer 2.0 or greater.

WinINSTALL checks for the presence of this program during setup and will automatically install or upgrade it as required.

• Database Client Software.

If you are using Oracle® as your database, you must first manually install the client software in order to have database connectivity. Database connectivity is required for you to run the Console or use the Database Creation Wizard to initialize your WinINSTALL database.

The Microsoft SQL Server client software must be installed in order for you to use the Database Creation Wizard to create and initialize the WinINSTALL database. Except for the web-based installation, all other installation methods offer the option of installing the client software.

DISPLAY

R E S O L U T I O N• 1024 X 768 or higher.

T

Page 18: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N S T A L L A T I O N R E Q U I R E M E N T SWinINSTALL Share

6 WinINSTALL Desktop Management Suite and Desktop Availability Suite

2

C O L O R• 16-bit or better.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L S H A R EThe WinINSTALL share serves multiple purposes. It holds the configuration files, executables, help files, reports, software packages, client reset templates, and other files used by the Console. It is used to store data that is moved by WinINSTALL agents between workstations and the database. Each machine on which you install a share must meet the following requirements:

HARDWARE• 235 MB of disk space (for the network components of WinINSTALL).

• Adequate disk space to store application packages and optional client reset templates.

SOFTWARE• Operating System.

The WinINSTALL share is a shared hierarchy of folders and files. As a result, the WinINSTALL share machine can be running any operating system.

The machine running setup must be running Windows 2000 or greater. The WinINSTALL share setup allows installing the share to a network drive.

• Windows Installer

Setup requires Microsoft Windows Installer 2.0 or greater. WinINSTALL checks for the presence of this program during setup and will automatically install or upgrade it as required.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L S E R V E R A WinINSTALL server is a machine with full WinINSTALL agent functionality deployed. A server performs server agent functions both for itself and for the workstations that are assigned to it, and it also performs workstation agent functions for itself as a local machine in the WinINSTALL environment. Each machine with the role of WinINSTALL server must meet the following requirements:

Page 19: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .I N S T A L L A T I O N R E Q U I R E M E N T SClient Workstations

April, 2006 Reference Guide 7

SOFTWARE• Operating System.

Recommended: Windows Server 2000/2003.

Alternate: Windows NT 4.0 with SP 6a and IE5.5 or greater installed.

• Microsoft Windows Installer 2.0 or greater.

This file is included with Windows Server 2000/2003, but must be installed separately with Windows NT 4.0. WinINSTALL checks for the presence of this program during setup and will automatically install or upgrade it as required.

Deploying the WinINSTALL Agent will install or upgrade to Windows Installer 2.0 as necessary.

• Microsoft Data Access Components 2.71

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C L I E N T W O R K S T A T I O N SA WinINSTALL workstation is a machine with the WinINSTALL workstation agent deployed. A workstation performs workstation agent functions for itself only. Each machine with the role of WinINSTALL workstation must meet the following requirements:

HARDWARE• As required for applications being installed.

• 15 MB of disk space (for local components of WinINSTALL).

NOTE: WinINSTALL does not require a dedicated server. WinINSTALL servers may also be operating as file servers, print servers, application servers, database servers, etc.

WARNING: If an earlier version of MDAC is already installed on the server at the time when the WinINSTALL server agent is deployed, the MDAC upgrade is liable to cause the server to reboot.

Page 20: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N S T A L L A T I O N R E Q U I R E M E N T SWinINSTALL Database

8 WinINSTALL Desktop Management Suite and Desktop Availability Suite

2

SOFTWARE• Operating System.

Windows XP/2000/98 with IE 4.0/95 with IE 4.0 and WinSock 2/NT 4.0 with SP 6a and IE5.5 or greater installed.

• Microsoft Windows Installer 2.0 or greater.

This program is included with Windows Server 2000/2003, but must be installed separately with Windows NT 4.0.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L D A T A B A S EThe WinINSTALL database holds all of the information used internally by WinINSTALL and displayed in the console.

HARDWARE• Adequate disk space for database.

NOTE: PXE client machines must have at least the Microsoft-recommended minimum amount of RAM for the operating system being installed (Windows 2000: 64MB, Windows XP and 2003: 128MB).

NOTE: Some non-English versions of Windows 95 and Windows NT 4.0 contain no native support for encryption/decryption. Because WinINSTALL uses encryption for agent deployment and communication, such systems require the addition of an update which includes CryptoAPI support, such as that provided in Internet Explorer v6.

NOTE: WinINSTALL does not require a dedicated database server. The WinINSTALL database may be located on a machine functioning in other capacities, including as a database server for other applications.

Page 21: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .I N S T A L L A T I O N R E Q U I R E M E N T SReference Machine (clean machine on which packages are discovered)

April, 2006 Reference Guide 9

SOFTWARE• Software for any of the following databases:

Microsoft® SQL Server 2000 Desktop Engine (MSDE 2000).

Microsoft® SQL Server 2000.

Microsoft® SQL Server 2005.

Oracle® 9i or later.

R E F E R E N C E M A C H I N E ( C L E A N M A C H I N E O N

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W H I C H P A C K A G E S A R E D I S C O V E R E D )A reference machine is a special machine that is used solely for the purpose of building packages and the creation of transforms. No part of WinINSTALL is installed on a reference machine.

Technically, a reference machine should be a clean machine, with only the operating system and any necessary service packs installed. Because a reference machine does not need to be large and expensive, some administrators have two or more. In this way, they can create a package on one machine while returning a previously-used machine to its clean state. This practice reduces downtime - and the temptation to cut corners by using a dirty machine.

Today, a number of commercial products are available to simplify the process of returning a reference machine to its clean state. For instance, some products allow you to create a virtual machine and save it in a clean state, build a package on it, and then discard all changes and return to the original clean state during reboot. These virtual machines save a great deal of time because you install the operating system only once for each operating system used in your network. This convenience is particularly useful because each package must be created on a machine with the same operating system as the network client on which it will be installed.

HARDWARE• As required for applications being packaged.

SOFTWARE• Operating System.

Windows 2003/XP/2000/98 with IE 4.0/95 with IE 4.0/NT 4.0 with SP 6a and IE5.5 or greater installed.

• Microsoft Windows Installer 2.0 or greater.

Page 22: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N S T A L L A T I O N R E Q U I R E M E N T SPXE Client Reset Requirements

10 WinINSTALL Desktop Management Suite and Desktop Availability Suite

2

This program is required to build Windows Installer packages. It is included with Windows 2003/XP/2000, but it must be installed separately on other operating systems. When Windows 9x or Windows NT 4.0 is installed on the reference machine, you cannot create a Windows Installer package directly with the Discover Wizard. You must first create a WinINSTALL package and then convert it to a Windows Installer package on a machine running Windows 2000 or later.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P X E C L I E N T R E S E T R E Q U I R E M E N T S

BASIC PXE REQUIREMENTSThere are several requirements for a client machine to be PXE-bootable. The machine’s BIOS must support “Network” as a boot device. Also the machine’s NIC must support the PXE standard (first introduced in the PC98 specification). Optionally the NIC can contain the PXE boot ROM. NICs that contain the ROM are often called “managed NICs” or “NICs for managed PCs.” If the NIC supports PXE but does not contain the ROM image, a network boot is only possible by booting the system with a floppy disk containing the ROM image. Almost all PCs sold after 1998 support “Network” boot in the BIOS and most NICs support PXE.

There are two distinct versions of PXE; DHCP-based (Dynamic Host Configuration Protocol) and RPL (Remote Program Load). DHCP-based is used across most network environments, whereas RPL is most often used in NetWare environments. PXE-capable NICs support either DHCP-based, RPL-based, or both. A PXE-capable NIC that supports only RPL will not work in a Windows environment.

The fact that PXE requires DHCP imposes additional restrictions on the network setup. First, use of PXE is not possible in a static IP environment. Second, since DHCP does not typically cross subnets, each subnet containing a DHCP server must also contain a PXE server. For example, a company with offices in LA and NYC would typically have a DHCP server at each site. Such a setup would also require a PXE server at each site. Client machines in LA could not connect to a PXE server in NYC.

The DHCP server must also support DHCP options. DHCP options are identified by number, and PXE requires DHCP options 66 and 67. DHCP options are supported by most DHCP servers, including the DHCP server included with Windows NT/2000/2003 Servers. Examples of DHCP servers that may not support DHCP options include small DHCP-capable routers and firewalls from companies like LinkSys, NetGear, D-Link, and SonicWall. Since these network appliances do not support DHCP options, they cannot be used in a PXE environment.

Page 23: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .I N S T A L L A T I O N R E Q U I R E M E N T SWinINSTALL Administrator Requirements

April, 2006 Reference Guide 11

WININSTALL PXE CLIENT RESET REQUIREMENTSWinINSTALL PXE Client Reset requires the following components, over and above those for the rest of the WinINSTALL product:

• DHCP Server

The network must be configured to use DHCP, and therefore it must include a DHCP server on or for each subnet where WinINSTALL PXE Client Reset will be configured. In addition, to support PXE, each DHCP server must have options 66 and 67 enabled. WinINSTALL can automatically set these options on Windows servers which are providing DHCP services. Other DHCP servers will need to have these options enabled manually.

• Windows Install Set

Operating system installation files must be provided (via the WinINSTALL PXE Client Reset Template Wizard, below) for installation on client machines. Windows 2000, Windows XP, and Windows 2003 can be installed in this fashion.

• PXE-Capable Client

Every client machine must be PXE-capable. This means the BIOS must support Network as a boot device and the NIC must be DHCP-PXE-capable.

W I N I N S T A L L A D M I N I S T R A T O R

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R E Q U I R E M E N T SAn effective WinINSTALL administrator should have an in-depth understanding of the organization’s network and security policies, and the necessary security rights to access appropriate network resources. In addition, it is helpful to have the following qualifications:

• A solid understanding of all the Windows platforms in use on the network.

WARNING: Windows 2000, XP, and 2003 can be installed through PXE. Windows 95/98/ME and NT cannot.

NOTE: PXE client machines must have at least the Microsoft-recommended minimum amount of RAM for the operating system being installed (Windows 2000: 64MB, Windows XP and 2003: 128MB).

Page 24: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N S T A L L A T I O N R E Q U I R E M E N T SWinINSTALL Administrator Requirements

12 WinINSTALL Desktop Management Suite and Desktop Availability Suite

2

• A working knowledge of the Windows registry.

An understanding of the Windows registry can be invaluable when building packages. After WinINSTALL has Discovered an application, you may need to modify a registry entry to fit your network needs. You should be familiar with the use of REGEDIT.EXE and REGEDT32.EXE, and the differences between these two registry editors. These two utilities can be found in the \Winnt and \Winnt\System32 directories, respectively.

• An understanding of the Microsoft Windows Installer and MSI technology.

Knowledge of Windows Installer technology and terminology is helpful when you are working with MSI files. A solid understanding of the MSI table relationships and MSI properties is recommended if you will be building and using Windows Installer packages.

• Familiarity with scripting languages and writing scripts.

For certain complex situations, some users prefer to use scripts in their packages. This is usually unnecessary, but in the event that it is needed or desired, any scripting language supported by Windows Scripting Host can be used in WinINSTALL packages. Scripting in WinINSTALL packages is accomplished through external processes (see the WinINSTALL Reference Guide for more on scripting in WinINSTALL packages), while scripting in Windows Installer packages is accomplished through custom actions.

Page 25: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 13

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .WININSTALL DIRECTORY STRUCTURES 3

his section documents the directory structures installed and used by the different WinINSTALL components, including the console, server, workstation, and WinINSTALL share. In addition, special details are provided for the Client Reset

sub-folders within the WinINSTALL share.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L C O N S O L E When the WinINSTALL Console is deployed, the following directories are created:

C:\Program Files\OnDemand\Tranxition

C:\Program Files\OnDemand\WinINSTALL

The executable and related binaries for the Console and/or Agents are stored in the following directory:

C:\Program Files\OnDemand\WinINSTALL\Bin

The following sub-folder is the location of the compiled help (.chm) files used by the WinINSTALL Console:

C:\Program Files\OnDemand\WinINSTALL\Help

The plugins for the Tranxition personality transfer engine (used only by the WinINSTALL Desktop Availability Suite) are stored in the following directory:

C:\Program Files\OnDemand\Tranxition\Plugins

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L S H A R EWhen a WinINSTALL Share is installed, the following shared folder is created:

\WinINSTALL

The following files are located in the shared folder:

• ReadMe.html

• ReadMePkgr.html

• WIShare.msi

T

Page 26: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SWinINSTALL Share

14 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

In addition, the following subfolders are created within the shared folder:

\Bin

The \Bin subfolder of the share contains the binaries for the WinINSTALL program - including Discover, the Automatic Installer, the Interactive Installer, the conflict assessment baseline generator, the files to be deployed with the WinINSTALL Agent, and the MSI file that installs additional WinINSTALL Consoles - and the default exclusion files for Discover and for the conflict assessment baseline generator application.

\CFGFiles

This sub-folder of the share is the distribution point for .XML files containing configuration and job information being sent to workstations and servers. These files are published from the database by the Publisher sub-agent running on the WinINSTALL server. The files are then retrieved by each target machine’s WinINSTALL Agent, which periodically checks this shared folder for configuration changes to apply and jobs to run.

\CR

The CR sub-folder (used only by the WinINSTALL Desktop Management Suite and WinINSTALL Desktop Availability Suite) is the location of all files required for Client Reset Templates, such as binaries, operating system distribution files and images, service packs, and files needed to build a boot disk or reset partition. Additional details on each of these 7 folders and their contents are available in the Client Reset Folder Structure section, below:

• \CR\Console

• \CR\Distrib

• \CR\DOSFiles

• \CR\<language>

• \CR\Logs

• \CR\MAC

• \CR\RPClient

\Help

This sub-folder is the location of the compiled help (.chm) files for WinINSTALL, including copies of all the help files used by the Console (see the help file directory in the WinINSTALL Console section, above).

\MergeModules

Page 27: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SWinINSTALL Share

April, 2006 Reference Guide 15

The MergeModules sub-folder contains a 'cache' of merge modules that will be checked for possible use when packages are converted to a Windows Installer format. You can add your own merge modules to this folder as needed, including adding sub-folders for categories of merge modules, if desired.

\MergeModules\Microsoft

This sub-folder contains merge modules created by Microsoft Corporation. You can add additional merge modules to this folder.

\Migration

Personality transfer templates, personality transfer repositories, and the files required to run personality transfer tasks (used only by the WinINSTALL Desktop Management Suite and WinINSTALL Desktop Availability Suite) are all located beneath the Migration sub-folder of the share.

\Migration\Content Plugins

This sub-folder holds the files required to run all personality transfer tasks.

\Migration\Repository

The Migration\Repository sub-folder is the location for storing all of the personality transfer data that has been extracted from source machines, in three sub-folders, according to the type of personality transfer involved:

• \Migration\Repository\Backups

• \Migration\Repository\Migrations

• \Migration\Repository\Policies

\Migration\Templates

This folder holds all created personality transfer templates.

\Packages

This folder contains all the default packages included in WinAPPS.LST and its sub-lists, plus (by default) any new list files and packages that are created with WinINSTALL This is also the default directory used by WinINSTALL replication.

TIP: Keep the \MergeModules\Microsoft folder up to date by periodically visiting the Microsoft web site to download new and updated merge modules.

Page 28: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SWinINSTALL MSDE 2000 Database

16 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

\Patches

The Patches folder contains all the Microsoft Patch Management list files and patch packages.

\Reports

This folder contains all supplied Crystal Reports (.rpt files) that are available from the WinINSTALL Console. If you have Crystal Designer, you can create and store your own custom reports here as well.

\TxFiles

The TxFiles folder of the share is the collection point for .XML files transferred to the WinINSTALL share by workstation and server agents for merging into the WinINSTALL database. The WinINSTALL Merge sub-agent on the server periodically checks this folder for information, such as inventory data, that needs to be merged into the database for reporting and viewing in the Console.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L M S D E 2 0 0 0 D A T A B A S EWhen you choose the WinINSTALL installation option that also installs the Microsoft® SQL Server 2000 Desktop Engine (MSDE 2000), it creates the following directory for the MSDE application:

C:\Program Files\Microsoft SQL Server\

NOTE: The \Packages directory is referenced by a special WinINSTALL variable, @PackageDir.

NOTE: The \Patches directory is referenced by a special WinINSTALL variable, @PatchDir.

Page 29: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SMachines with WinINSTALL Agent Deployed

April, 2006 Reference Guide 17

M A C H I N E S W I T H W I N I N S T A L L A G E N T

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D E P L O Y E DWhen you deploy the WinINSTALL Agent to a machine (server or workstation), it creates the following directory structure:

C:\Program Files\OnDemand\WinINSTALL

The following subfolders are created:

\Bin

The \Bin folder contains the binaries for the WinINSTALL Agent and sub-agents.

\CfgFiles

This folder contains .XML files retrieved from the WinINSTALL share. Such files contain local configuration settings and jobs for the local machine.

\TxFiles

This folder holds .XML files containing local information to be moved to the \TxFiles directory on the WinINSTALL Share. From there, the information will be merged into the WinINSTALL database by the server Merge sub-agent.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C L I E N T R E S E T F O L D E R S T R U C T U R EThe Client Reset folder (\CR) is located under the WinINSTALL share, and it contains the following folders and files:

Console FOLDERFiles in this folder are never replicated. They are used only by the console, either directly for Client Reset settings or as files to be copied to floppy folders and images.

AppText.<lng> files

These files provide language-specific messages for the MS-DOS phases of Client Reset. WinINSTALL currently supports English, French, and German. When a Client Reset Template is saved, one of these files, applicable for the currently selected Client Reset template’s language, is copied to AppText.ini; this is the actual file MS-DOS uses for language-specific messages. The AppText.ini file, in turn, is compressed into Apps.dat, which is itself copied to floppy folders and images.

Autoexec.bat file

Page 30: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

18 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

This file is the master version of the Autoexec.bat file used during MS-DOS phases of Client Reset. This file is copied to floppy folders and images, and that copy is then modified according to each template’s Additional MS-DOS Files settings.

Config.ms file

This file is the master version of the Config.sys file used during MS-DOS phases of Client Reset. This file is used specifically for Microsoft networks; it is copied to floppy folders and images, and that copy is later modified according to each template’s Additional MS-DOS settings.

Config.nw file

This file is the master version of the Config.sys file used during MS-DOS phases of Client Reset. This file is used specifically for NetWare networks; it is copied to floppy folders and images, and that copy is later modified according to each template’s Additional MS-DOS settings.

Connect.exe file

During MS-DOS phases of Client Reset, this application connects the workstation to the network, then spawns SetOS.exe or SetRP.exe, depending on a parameter in OStart.ini. This file is copied to floppy folders and images.

FindRamD.exe file

During MS-DOS phases of Client Reset, this application determines the drive letter of the temporary RAM disk on which the MS-DOS code is running. This file is copied to floppy folders and images.

Finish.bat file

This file is the master version of the Finish.bat file that gets copied to floppy folders and images. This file may be modified during MS-DOS phases, depending on network type and target operating system.

Net.cfg file

This file is a required configuration file used during MS-DOS phases of Client Reset. It is compressed into Apps.dat, which in turn is copied to floppy folders and images.

PackApp.exe file

This application decompresses the Apps.dat file during MS-DOS phases of Client Reset. It is copied to floppy folders and images.

Protocol.ini file

This is a configuration file required during MS-DOS phases of Client Reset. It is compressed into Apps.dat, which in turn is copied to floppy folders and images.

Page 31: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

April, 2006 Reference Guide 19

StuffKey.exe file

This application ‘stuffs’ keystrokes into the keyboard buffer during MS-DOS phases of Client Reset; it provides an ‘auto response’ capability for some of the network applications, such as Net.exe. It is compressed into Apps.dat, which in turn is copied to floppy folders and images.

System.ini file

This configuration file is required during MS-DOS phases of Client Reset. It is compressed into Apps.dat, which in turn is copied to floppy folders and images.

WfwSys.cfg file

This is a network configuration file required during MS-DOS phases of Client Reset. This file is compressed into Apps.dat, which in turn is copied to floppy folders and images.

<Language>.lng files

Not to be confused with the MS-DOS AppText files, these files provide language-specific strings to Client Reset Templates. They provide translations of time zones and keywords. The existence of a language file permits a Template to select that language. For instance, if German.lng exists, then Templates can select German as the language for an OS install. WinINSTALL currently supports Brazilian Portuguese, Chinese (Simplified and Traditional), English, French, German, Italian, Japanese, Korean, and Spanish.

<OS>.ua files

These are the master Unattend files for supported operating systems. When a Template is saved, a copy of the applicable Unattend file is created in the Template’s floppy folder and modified to reflect the Template’s settings. During MS-DOS phases of Client Reset, this specialized file is referenced by the Windows OS installer (WinNT.exe). WinINSTALL currently supports Windows 98, Windows NT (Workstation and Server), Windows 2000 (Professional and Server), Windows XP Professional, and Windows 2003 servers.

Distrib FOLDERHidePart.exe file

This application is used by Windows 98 workstations to detect presence of a reset partition.

CC3250.dll file

Contains code supporting HidePart.exe.

ImgLoad.exe file

This application runs the first time a user logs onto a workstation that was reset via third-party image install. It prepares the workstation to run WinLoad.exe.

Page 32: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

20 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

PQAccd.exe file

This application copies files to a workstation’s non-FAT16 partitions during MS-DOS phase of Client Reset.

PQAccd.rtc file

This is a configuration file used by PQAccd.exe. It specifies the features allowed.

PQFile.exe file

This application reboots a workstation during MS-DOS phase of creating a reset partition using WIRPAdd.exe (Create Reset Partition application).

PQMagic.exe file

This application re-partitions the hard drive during MS-DOS phase of Client Reset.

PQMagic.ovl file

This is a code overlay used by PQMagic.exe.

PQMagic.bmp file

This is a bitmap used by PQMagic.exe.

PQMagic.pqg file

This is a support file used by PQMagic.exe.

PQPB.rtc file

This is a configuration file used by PQMagic.exe. It specifies the feature allowed.

RestrMBR.exe file

This application restores the Master Boot Record (MBR) to a default version. It is available for customer use, but not used by Client Reset itself.

SetOS.exe file

This application manages the reset of a workstation during Client Reset.

SetRP.exe file

This application manages the MS-DOS phase of creating a reset partition, when initiated from WIRPAdd.exe (Create Reset Partition application).

VFile.exe file

This application creates a floppy image file. This application is invoked in two situations:

• When WIRPAdd.exe creates a floppy image to boot the workstation into MS-DOS phase of creating a reset partition.

Page 33: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

April, 2006 Reference Guide 21

• When the Console creates, at the administrator’s request, a floppy image from the Create Floppy Disk wizard.

VFInst9x.exe file

This application forces a Windows 98 workstation to boot from a floppy image file.

VFInstNT.exe file

This application forces a Windows NT-based workstation to boot from a floppy image file.

VFInstNT.dll file

This application extension supports VFInstNT.exe.

VFloppy.sys file

This is a support file for VFInstxxx.exe.

VFlppyLd.sys file

This is a support file for VFInstxxx.exe.

PQVxd.vxd file

This is a support file for VFInstxxx.exe.

WinLoad.exe file

This application manages the post-OS install operations, such as maximizing the OS partition size and installing WinINSTALL packages.

WIRPAdd.exe file

This is the Create Reset Partition application. It initiates creation of a reset partition on a Windows workstation.

WIRPAdd.hlp file

This is the Help file for WIRPAdd.exe (Create Reset Partition application).

WIRPRmv.exe file

This is the Remove Reset Partition application. It initiates removal of a reset partition on a Windows workstation.

WIRPRmv.hlp file

This is the Help file for WIRPRmv.exe (Remove Reset Partition application).

WIRPWks.exe file

This is the Reset Workstation application, which initiates the reset of a Windows workstation.

Page 34: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

22 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

WIRPWks.hlp file

This is the Help file for WIRPWks.exe (Reset Workstation application).

WIRPRes.dll file

This application extension provides resources for the WIRPxxx applications (Create Reset Partition, Remove Reset Partition, and Reset Workstation).

UniCows.dll file

This application extension provides Unicode support for Windows 98 workstations.

WIShlApi.dll file

This application extension provides necessary Windows 98 shell components.

WIMBR.com file

This program replaces the Master Boot Record when a reset partition is created. It is also the application which starts a reset of the workstation if Ctrl-R is pressed during boot up.

WIRPRmv.lnk file

This shortcut file references WIRPRmv.exe (Remove Reset Partition application). It is copied to the workstations user’s Start Menu.

WIRPWks.lnk file

This shortcut file references WIRPWks.exe (Reset Workstation application). It is copied to the workstations user’s Start Menu.

Remove.ima file

This image file runs as a virtual floppy when the workstation is rebooted by the Remove Reset Partition application. It initiates the actual removal of a reset partition.

Reset.ima file

This image files runs as a virtual floppy when the workstation is rebooted by the Reset Workstation application. It initiates the actual reset of a workstation.

Resize<n>.ima files

Four versions of this Resize image file are included. When a workstation is rebooted after an OS install, the appropriate one is run as a virtual floppy, depending on template settings. The versions supplied differ from one another in the following ways:

• Resize1.ima resizes the workstation's main partition to its maximum (within the limits of the file system). The workstation boots from this image when WinLoad.exe runs after the operating system is installed.

Page 35: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

April, 2006 Reference Guide 23

• Resize2.ima is the same as Resize1.ima, except that it also patches the Master Boot Record with WIMBR.com.

• Resize3.ima is the same as Resize1.ima, except that it also converts the file system to FAT32.

• Resize4.ima is the same as Resize2.ima, except that it also converts the file system to FAT32.

Logs FOLDER<Log>.txt files

These files are the logs created by a Client Reset operation (when logging is enabled in the Template. The Logs folder is not created until the first Client Reset log is created.

DosFiles FOLDERNicDrvrs folder

This folder contains all the MS-DOS NIC driver files to be used by workstations to connect to the network during boot up. These are treated as language-independent; that is, the user isn’t required to locate versions for each OS language to be supported.

<Language> FOLDERSEach such folder contains files that are specific to a supported OS language. The supported languages are Brazilian Portuguese, Chinese (Simplified & Traditional), English, French, German, Italian, Japanese, Korean, and Spanish.

DosFiles F O L D E R

DOS F O L D E RThis folder contains the basic MS-DOS boot-up files:

• Command.com

• Emm386.exe

• HiMem.sys

• IO.sys

• Keyb.com

• Keyboard.sys

• MSDOS.sys

• RamDrive.sys

Page 36: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

24 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

• SmartDrv.exe

• Sys.com.

Extra F O L D E RThis folder contains any additional MS-DOS files required by Templates.

Net F O L D E RPrograms folder

This folder contains the MS-DOS network-connection files:

• EmsBfr.exe

• Hosts

• IfsHlp.sys

• LmHosts

• Nemm.dos

• Net.exe

• Net.msg

• NetBind.com

• Neth.msg

• Networks

• NmTsr.exe

• ProtMan.dos

• ProtMan.exe

• Protocol

• Services

• TcpDrv.dos

• TcpTsr.exe

• TcpUtils.ini

• TinyRfc.exe

• Umb.com

Page 37: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

April, 2006 Reference Guide 25

Img<OS> F O L D E R SThis folder contains third-party image installers for a supported operating system. Such folders are created only when a template specifies that the operating system will be installed by means of a third party image, rather than Windows setup. The following Img<OS> folders reflect currently supported operating systems:

• Img98

• ImgNTw

• ImgNTs

• Img2kp

• Img2ks

• Img2kas

• ImgXPp

• Img2k3s

• Img2k3e

• Img2k3w.

Data folder

This sub-folder contains the third-party image files for the related operating system and language.

Win<OS> F O L D E R SThese folders contain Windows install files (.CAB, etc.) for the relevant operating systems and languages. Such folders are created only when a template specifies that the operating system will be installed by means of Windows setup, rather than a third party image. The following Win<OS> folders reflect currently supported operating systems:

• Win98

• WinNTw

• WinNTs

• Win2Kp

• Win2Ks

• Win2Kas

• WinXPp\i386

Page 38: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

26 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

• Win2K3s\i386

• Win2K3e\i386

• Win2K3w\i386.

MAC FOLDER<xx>.MAC files

In order to maintain a consistent machine name and WinINSTALL machine ID (GUID) across a Client Reset operation, WinINSTALL automatically links these items with a workstation’s MAC address in a text file, where they will be automatically retrieved and applied after the new operating system is installed.

This behavior is automatically built in to the WinINSTALL Client Reset process. These text files are written and maintained automatically by the server Publisher sub-agent. To avoid file contention issues, these files are named according to the last two hex digits of each workstation’s MAC address, plus a .mac extension (for example, 5F.MAC).

Each file is written in three tab-delimited columns, with the first column containing the machine name, the second the MAC address, and the last the WinINSTALL machine ID. A typical entry might look like this:

SILVER 00:0C:29:EC:39:5F {29A500AE-B5A5-4E5A-8A28-5297A4111955}

In this example, the MAC address will result in the filename 5F.MAC. Note that it is possible for a single MAC file to contain entries for multiple machines. Such a situation, while unusual, is not an error condition and will cause no problems.

RPClient FOLDER

{GUID} F O L D E R SA unique GUID folder is created for each Client Reset Template. It contains the Unattend.txt file that will be used by the OS installer during reset of a workstation using that template. It may further contain, if reset partitioning is enabled, files required to create a reset partition on a workstation. The following files are found within GUID folders:

WIRPAdd.lnk file

This is a shortcut to the Create Reset Partition application (WIRPAdd.exe). This link may be provided to workstation users (via e-mail or network share) if they need to create reset partitions on their workstations. This file will exist only if the template supports reset partitions.

Unattend.txt file

Page 39: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SClient Reset Folder Structure

April, 2006 Reference Guide 27

This file drives the operating system setup, specifying the settings for the OS installer.

UDF.txt file

This text file specifies overrides of OS settings in Unattend.txt. This file is optional and is manually created and managed, entirely by the user.

Apps.dat file

This file contains compressed files used during the MS-DOS phase of a Client Reset. This file will exist only if the template supports reset partitions.

PackApp.exe application

This file extracts (decompresses) the files contained in the file Apps.dat. This file will exist only if the template supports reset partitions.

AutoExec.bat file

This file will exist only if the template supports reset partitions.

Command.com file

This file will exist only if the template supports reset partitions.

Config.sys file

This file will exist only if the template supports reset partitions.

FindRamD.exe file

This file will exist only if the template supports reset partitions.

IfsHlp.sys file

This file will exist only if the template supports reset partitions.

IO.sys file

This file will exist only if the template supports reset partitions.

MSDOS.sys file

This file will exist only if the template supports reset partitions.

DOS folder

This folder will exist under the GUID folder only if the template supports reset partitioning. The following MS-DOS files must be present in this folder:

• Emm386.exe

• HiMem.sys

Page 40: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SPXE Client Reset Folder Structure

28 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

• Keyb.com

• Keyboard.sys

• RamDrive.sys

• SmartDrv.exe

• Sys.com

Net folder

This folder will exist under the GUID folder only if the template supports reset partitioning. The following files will appear in the Net folder:

• Network.txt fileThis file specifies which network cards are supported by this template for workstation reset.

• OStart.ini fileThis file specifies general reset startup information, such as the distribution share to connect to.

• TDATA.x fileThis file contains the logon account required to connect to a distribution share. The data are encrypted.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P X E C L I E N T R E S E T F O L D E R S T R U C T U R EThe PXE Client Reset feature is available only in the WinINSTALL Desktop Availability Suite. The \ClientReset folder is the root folder in the WinINSTALL share for all PXE Client Reset files, including operating system files, console files, drivers, and post-install utilities. It is located directly under the WinINSTALL share and contains the following subfolders:

\ClientReset\nnnn FOLDERSThese folders contain language-specific operating system files, where nnnn represents the Microsoft-assigned language ID. The following list provides examples for some of the most common language IDs.

ID Language

1033 • English

1036 • French

1031 • German

Page 41: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SPXE Client Reset Folder Structure

April, 2006 Reference Guide 29

So, for example, English operating system files would be located within the \ClientReset\1033 folder, while French operating system files would be found beneath the \ClientReset\1036 folder.

Operating system files are added as part of the configuration of PXE Client Reset servers. For more information, see the PXE Client Reset chapter of the WinINSTALL Desktop Management Suite and Desktop Availability Suite Administrators Guide.

\ClientReset\data FOLDERThis folder contains the files required for the PXE Client Reset console functionality.

\ClientReset\drivers FOLDERThis folder contains all driver files added for PXE Client Reset operations.

Drivers are added as part of the configuration of PXE Client Reset servers. For more information, see the PXE Client Reset chapter of the WinINSTALL Desktop Management Suite and Desktop Availability Suite Administrators Guide.

\ClientReset\sif FOLDERThis folder contains the master unattended files for all operating systems. When a machine is reset, these files are loaded, and then settings specific to the template are applied.

\ClientReset\utilities FOLDERThis folder contains all added post-install utilities.

1034 • Spanish

1040 • Italian

1046 • Brazilian Portuguese

1041 • Japanese

1042 • Korean

1028 • Traditional Chinese

2052 • Simplified Chinese

TIP: For users knowledgeable in the settings and syntax of Windows unattended files, the files in the ClientReset\sif folder can be edited directly- but this is not recommended, because incorrect settings may result in failed resets.

Page 42: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D I R E C T O R Y ST R U C T U R E SPXE Client Reset Folder Structure

30 WinINSTALL Desktop Management Suite and Desktop Availability Suite

3

The post-install utilities are specified when configuring PXE Client Reset Servers. For more information, see the PXE Client Reset chapter of the WinINSTALL Desktop Management Suite and Desktop Availability Suite Administrators Guide.

Page 43: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 31

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .THE WININSTALL AGENTS 4

inINSTALL uses a Master Agent, also known as the WinINSTALL agent, plus a number of sub-agents to manage WinINSTALL operational tasks such as inventory, software distribution, scheduling, migration, and replication. The

WinINSTALL Master Agent and sub-agents also synchronize information between the WinINSTALL database and the WinINSTALL workstations and servers. This agent infrastructure is deployed to machines in the network directly from the WinINSTALL Console, though deployment can also be accomplished manually from the workstation or through scripts executed on a server or workstation. Which infrastructure components, or sub-agents, are installed depends on the role of the machine to be deployed: whether the target machine will operate as a WinINSTALL server or workstation.

Workstation deployments include the master agent plus a collection of sub-agents used for different purposes, including software distribution, scheduling, and additional functions. Server deployments include everything deployed to workstations, plus additional sub-agents for server-specific tasks, such as merging information to the database, publishing configuration and job information to workstations, and (in WinINSTALL Desktop Management Suite and Desktop Availability Suite) replicating WinINSTALL data from server to server.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L S U B - A G E N T SThe WinINSTALL Agent can perform a number of different tasks by means of the installed set of sub-agents. The WinINSTALL Agent, also known as the Master Agent, starts and controls each of the following sub-agents, as needed:

CONFIGURATIONThe Configuration sub-agent moves XML files between the workstation and the share, and it also manages share selection.

IPCThe IPC sub-agent manages all interprocess communication between the machine on which it is running and the console. For certain purposes, the IPC sub-agent may also communicate between workstations and servers.

W

Page 44: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SWinINSTALL Sub-Agents

32 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

SCHEDULERThe Scheduler sub-agent processes all scheduled jobs for the local machine, notifying the appropriate sub-agent at the appointed time.

WAKEOn the server, the Wake sub-agent transmits Wake-On-LAN packets to target end nodes, as requested by the console, by the Scheduler sub-agent, or by a workstation. On WinINSTALL Desktop Management Suite (DMS) and Desktop Availability Suite (DAS) workstations, this sub-agent also submits requests to the server for future Wake-On-LAN calls.

INVENTORYOn WinINSTALL DMS and DAS machines, the Inventory sub-agent performs hardware and software inventory jobs, whether scheduled or launched through the Console in real time.

DISTRIBUTIONThe Distribution sub-agent launches the WinINSTALL Automatic Installer to perform all software distribution jobs.

MIGRATIONThe Migration sub-agent performs extractions and/or injections for all backup, migration, and policy jobs on workstations. This sub-agent is available only with the WinINSTALL Desktop Availability Suite (DAS).

MERGEThe Merge sub-agent, which runs only on servers, reads XML data uploaded to the share by workstations (and servers) and merges the information in these files into the WinINSTALL database.

PUBLISHERThe Publisher sub-agent runs only on servers and performs several tasks. It reads configuration and job information from the database and writes out XML files containing that information for agents on workstations and servers to process. In the WinINSTALL Desktop Management and Desktop Availability Suites (DMS and DAS), this sub-agent is also responsible for maintaining the MAC address files, which enable machines to retain their machine names and IDs across Client Reset processes, as well as the Dynamic List Files, which enable machines to automatically reinstall their applications after a Client Reset.

Page 45: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .T H E W I N I N S TA L L A G E N T SAgent Deployment

April, 2006 Reference Guide 33

REPLICATIONThe WinINSTALL DMS and DAS Replication sub-agent moves packages, lists and patches, Client Reset templates, and Personality Transfer repositories from one server to another. This sub-agent is responsible for both the sending and receiving of replication data and can operate in unicast or multicast, as appropriate.

HOUSEKEEPERThe Housekeeper sub-agent cleans up old XML files and, when running on servers, is also responsible for database cleanup operations.

CLIENT RESETThe Client Reset sub-agent executes on WinINSTALL Desktop Availability Suite PXE reset servers, handling communication between the server where it is running and PXE client machines which are in the process of booting up or performing PXE resets.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A G E N T D E P L O Y M E N TThe WinINSTALL Agent can be deployed directly from the Console, manually, or through a script or package, using Secure Manual Deployment (SMD).

For systems running NT 4 and above, the Agent is most easily deployed from within the WinINSTALL Console.

For Windows 9x systems, the Agent must be installed manually or through a script or a package. You can also use scripting along with some of the special features of SMD to automatically deploy the WinINSTALL agent to your entire network or to selected subsets of your network.

SECURE MANUAL DEPLOYMENTDeploying the WinINSTALL Agent manually using a Secure Manual Deployment (SMD) file involves two steps. First, you create the SMD file from the Console machine. Then, you deploy the agent on the machine using the SMD file you created and the WIDeploy.exe utility, located in the \bin directory of the WinINSTALL share.

WARNING: When you create a Secure Manual Deployment file, you specify the share to use for the initial connection. All machines which use a particular SMD file will connect to the specified share and will be assigned to the server which owns that share.

Page 46: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SAgent Deployment

34 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

The following switches are valid for command-line deployment with WIDeploy.exe:

TIP: To assign machines to different servers using Secure Manual Deployment, create separate SMD files to connect to different shares.

-c <string> • Supplies the database connection string instead of reading it from the WINSTALL.CFG file.

-d <mode> • Sets the database mode:

• 0 = Don't try to retrieve machine IDs (GUIDs) from the database.

• 1 <default> = Try to retrieve machine IDs (GUIDs) from the database. If unsuccessful, generate a machine ID (GUID).

• 2 = Only deploy to machines that have a machine ID (GUID) in the database.

-e • Stops deployment when errors occur (when deploying to multiple machines)

-f • Forces an automatic reboot, if required

-i • Ignores the Agent deployed flag in the database when selecting machines

-k <context> • Specifies an Active Directory search context (see Query Active Directory (“+”), below).

-l • Generates an installer log file in the Windows folder

-m MyMachine • -m MyMachine Deploys the Agent to a single machine named MyMachine.

-m @MyList.xml • -m @MyList.xml Deploys the Agent to a set of machines, as specified in the XML file MyList.xml located in the current directory. A full path can be used to point to an XML file located elsewhere. The XML file must be in a specific format. See Deploy to a List of Machines (“@”), below.

-m * • -m * Deploys the Agent to all machines currently defined in the database to which the Agent has not already been deployed.

Page 47: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .T H E W I N I N S TA L L A G E N T SAgent Deployment

April, 2006 Reference Guide 35

A U T O M A T I N G W I N I N S T A L L A G E N T D E P L O Y M E N TWIDeploy.exe can deploy to multiple specified machines, it can query the WinINSTALL database and deploy to all listed machines which do not have the WinINSTALL Agent deployed (or to a subset of such machines), and it can sweep the network, using Active Directory, for machines to be added and deployed automatically.

In a dynamic IT environment, regular scheduling of this type of automated deployment (for example, through system scheduling of a batch file or the desired command line) can help to significantly reduce administrator workload and assure that all new machines appear in the database promptly and automatically.

• -m “*MACHINEGROUP='MyGroup' “ Deploys the Agent to all machines that are in the MyGroup machine group to which the Agent has not already been deployed.

Anything after “* and before “ is part of a SQL WHERE clause. Technically speaking, the double-quotes are not necessary unless the WHERE clause contains a space (for example, if you use AND or OR). See Query the WinINSTALL Database (“*”), below.

• -m +[ad-search-filter][::column] Uses Active Directory to search for machines to which to deploy. See Query Active Directory (“+”), below for full details.

-n <count> • Limit the Active Directory search to <count> machines.

-p <password> • Supplies the password - if needed - for the database connection string

-q • Shows no progress messages (Quiet Mode)

-r • Suppresses automatic reboot if required

-s • Shows the contents of the SMD (Secure Manual Deployment) file

-t <threads> • Specifies the number of simultaneous remote deployments to perform.

-u • Monitor the progress of each remote deployment.

-w <seconds> • Waits the specified number of seconds between deploying the agent to machines (simple form of bandwidth throttling)

-x • Simulates deployment instead of actually deploying the Agent, to verify the machine selection.

-? • Shows help

Page 48: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SAgent Deployment

36 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

Three variations on the WIDeploy.exe -m switch facilitate this type of automated deployment operation:

Q U E R Y T H E W I N I N S T A L L D A T A B A S E ( “ * ” )“*” indicates a SQL query of the WinINSTALL database. By default, this switch returns all machines in the database which are marked as not having the WinINSTALL agent deployed. SQL syntax can further limit the list of returned machines to a specific subset.

D E P L O Y T O A L I S T O F M A C H I N E S ( “ @ ” )“@” indicates an XML file, which contains a list of machines to deploy to, in the following format:

<?xml version=”1.0” encoding=”utf-8”?>

<MachineList>

<Machine>MACHINE1</Machine>

<Machine>MACHINE2</Machine>

. . .

<Machine>MACHINEn</Machine>

</MachineList>

Q U E R Y A C T I V E D I R E C T O R Y ( “ + ” )“+” indicates an Active Directory query. Further details on AD deployment follow below.

The AD query option uses AD query syntax to search the directory.

In all of these cases, what is found is automatically filtered by whether the machines are already in the database and deployed. Machines already listed as deployed will not be included in the deployment.

In its simplest form, “-m +” would search AD for all computers, check the database to make sure they're not already deployed, and do the deployment as is done for SQL- and XML-selected machines automatically.

TIP: Command line execution of WIDeploy.exe can be piped to a log file (i.e., wideploy.exe -m * >> WIAgentDeploy.log) which can be examined later to assure that all deployments executed as expected.

Page 49: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .T H E W I N I N S TA L L A G E N T SAgent Deployment

April, 2006 Reference Guide 37

But the Active Directory option provides additional capabilities: “-m +” uses Active Directory to search for machines to which to deploy. The general syntax is:-m +[ad-search-filter][::column]

By default, the entire AD tree is searched for computers, and any that aren't already in the database are candidates for deployment. The “ad-search-filter” is an AD/LDAP filter in RFC2254 form that can be used to qualify the machines selected. The “column” can specify a column to be used for the hostname, and defaults to “dNSHostName.” Typically, the column would only be specified in cases where you don't want deployment to use the fully qualified DNS name for the machine, in which case “cn” would be specified.

If no filter is specified, “(&(objectCategory=computer))” is used to select any machines in the forest. If a filter is specified, it will be added to the default so that in no case will anything other than machines be selected. For instance, “-m +cn=a*” would select any machines that began with the letter “a” (resulting in a filter of “(&(objectCategory=computer)(cn=a*))”). The context of the search is determined by the login account, so that if the user is logged in to a sub-domain, only machines in and below that domain are visible. On the other hand, if the login user is in the top level domain, the entire forest is visible (with potential performance implications).

The –k switch can be used to change the search context from the default. For instance, “-k cn=Computers,dc=unitedwidgets,dc=com” would search the Computers folder only, and not the entire AD forest.

As each machine is returned from AD, it is checked against the database to see if has already been added, and if not, becomes a candidate for deployment. In this way, the AD tree can be periodically swept for machines that aren't already in the database, for instance. By default, both the long (“dNSHostName”) and short (“cn”) are checked to make sure the machine(s) aren't already in the database. If the machine has no long name, or if “cn” was specified as the hostname column, only the short name would be searched. Both the NAME and SHORTNAME columns are searched in any case.

The –n switch can be used to limit the number of machines to be added, or to return a larger number of machines than AD supports by default – 1000 or 1500, depending on the OS.

TIP: It is strongly recommended to use the –x switch to simulate deployment until the search filter and context have been refined to select the machines to which to be deployed.

Page 50: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SAgent Communication

38 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A G E N T C O M M U N I C A T I O NAgents communicate via TCPIP.

Agent communication with the database is bidirectional, to and from the WinINSTALL Share.

Information is stored in XML format and moved via the WinINSTALL Agent to and from the WinINSTALL Share.

The WinINSTALL Master Agent runs as a service on Windows NT 4, Windows 2000, Windows XP, and Windows 2003.

The WinINSTALL Master Agent runs as a process on Windows 9x systems.

CONFIGURATION AND TRANSACTION FILESCommunication from the database to the agents is by means of XML files written by the server’s Publisher sub-agent into the share’s \CFGFiles folder. These files include the site list (the list of shares available for connection and their selection configuration information), agent-specific configuration files, and scheduled jobs.

Each machine’s Master Agent retrieves its configuration files and stores them in the local CFGFiles folder (C:\Program Files\OnDemand\CFGFiles\).

Communication from the agents to the database is by means of XML files uploaded by each machine’s Master Agent from its local TxFiles folder (C:\Program Files\OnDemand\TxFiles\) to the share’s \TxFiles folder, where the server’s Merge Agent reads them and enters their data into the WinINSTALL database. These files include job completion notifications, inventory result files, and event log entries,

C F G F I L E SDuring normal operation, the CFGFiles folder contains a collection of xml files such as these:

0B33DAF4-3970-4B51-B015-005D99D9FF55.Type=CFGDST.State=Written.Seq=0.Flags=0.xml

0B33DAF4-3970-4B51-B015-005D99D9FF55.Type=CFGMA.State=Written.Seq=0.Flags=0.xml

608B7DFE-15D2-4CD3-9860-52326EC56C80.Type=CFGHK.State=Written.Seq=0.Flags=0.xml

608B7DFE-15D2-4CD3-9860-52326EC56C80.Type=CFGMRG.State=Written.Seq=0.Flags=0.xml

Page 51: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .T H E W I N I N S TA L L A G E N T SAgent Communication

April, 2006 Reference Guide 39

608B7DFE-15D2-4CD3-9860-52326EC56C80.Type=CFGPUB.State=Written.Seq=0.Flags=0.xml

608B7DFE-15D2-4CD3-9860-52326EC56C80.Type=SlSites.State=Written.Seq=0.Flags=0.xml

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=Sched(8C30BC5C-DBC9-4A95-8BED-A95AF2FAE083).State=Written.Seq=0.Flags=0.xml

T X F I L E STypical files in the TxFiles folder are ones like these:

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=EvLog.State=Writing.Seq=1.Flags=2.xml

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=SlSw.State=Uploaded.Seq=1.Flags=1.xml

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=SlSw.State=Uploaded.Seq=2.Flags=4.xml

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=SlSys.State=Uploaded.Seq=1.Flags=1.xml

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=SlSw.State=Merged.Seq=2.Flags=4.xml

24DEDFFD-048B-425F-B845-79F7DCE50849.Type=SlSys.State=Merged.Seq=3.Flags=4.xml

X M L F I L E N A M E SThe filenames of the CFGFiles and TXFiles are constructed of five elements, each of which is used to convey important information to the various agents involved:

1. GUID • Machine or machine group ID, indicating the machine or group of machines to which the file is applicable.

2. Type= • Possibilities vary, depending on whether it’s a CfgFile or a TxFile.

• Cfg file types:

• CFGagent (configuration information for sub-agent agent)

• Sched(GUID) (scheduled job, including job GUID)

• SlSites (site list).

Page 52: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SAgent Communication

40 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

INFORMATION FLOW FROM THE DATABASE TO THE WORKSTATION1 When changes are made to settings from within the WinINSTALL Console, they are

written directly to the WinINSTALL database.

2 The Publisher sub-agent reads the changes from the database and writes them as XML files into the CfgFiles directory of the WinINSTALL Share. Depending on the configuration, the publisher performs this action in one or more of the following ways: immediately, as soon as the information is written to the database; at the specified Publisher Processing Interval; or on demand,

3 The XML files are named with the GUID of the appropriately affected machines to insure that settings and jobs are retrieved by the intended machines.

4 At the specified Config File Processing Interval, the WinINSTALL Master Agents on the server and workstations examine the CfgFiles directory of the WinINSTALL Share, locate any XML files that contain settings or jobs for their local machines, and copy these files to their own local CfgFiles directories.

• Tx file types:

• slsw (software inventory)

• slsys (hardware inventory)

• EvLog (event log)

• JobComp (job completion).

3. State= • Current file status: writing, written, uploaded, merging, merged, or error (diagnostic info.).

4. Seq= • Sequence number. Each time a new file is generated, and a file of the same type already exists, the sequence number is incremented. Most often seen with EvLog files.

5. Flags= • Currently unused.

NOTE: The Publisher Processing Interval is set on the Server tab of the WinINSTALL Agent Settings dialog.

Page 53: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .T H E W I N I N S TA L L A G E N T SShare Configuration and Selection

April, 2006 Reference Guide 41

5 The Scheduler agent reads scheduled job XML files and notifies appropriate sub-agents at the appointed times that they have jobs scheduled.

6 At each workstation or server, when sub-agents are executed, they read the configuration files to be sure they use the most current settings.

DATA FLOW FROM THE WORKSTATION TO THE DATABASE1 At the specified Transaction File Processing Interval, the WinINSTALL Master Agents

on both servers and workstations read their local TxFiles directories and copy any new XML files found there to the TxFiles directory of the WinINSTALL Share. These files contain information such as logs of sub-agent activity, inventory data, etc.

2 At the specified Merge Processing Interval or on demand, the WinINSTALL Master Agent on the server launches the Merge sub-agent, which examines the TxFiles directory on the WinINSTALL Share, looking for new XML files. The Merge sub-agent reads these files and merges the information they contain into the WinINSTALL database.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S H A R E C O N F I G U R A T I O N A N D S E L E C T I O NThis section presents a brief overview of WinINSTALL share configuration and selection. Please consult the Managing Machines and Agents chapter of the WinINSTALL Administrators Guide for full details on these subjects.

NOTE: The Config File Processing Interval is set on the Advanced tab of the WinINSTALL Agent Settings dialog.

NOTE: The Transaction File Processing Interval is set on the Advanced tab of the WinINSTALL Agent Settings dialog.

NOTE: The Merge Processing Interval is set on the Server tab of the WinINSTALL Agent Settings dialog.

Page 54: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SShare Configuration and Selection

42 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

SHARE ASSIGNMENTWinINSTALL workstations are assigned to servers. One or more WinINSTALL shares are assigned to each WinINSTALL server. The shares assigned to a server are available to those workstations which are assigned to that server.

SHARE OWNERSHIP AND MERGE/PUBLISH RESPONSIBIL ITYEach WinINSTALL share has a WinINSTALL server designated as its owner. That server may or may not be the physical host for the share. That is, a share may be located on one machine but owned by another machine. This configuration flexibility enables even non-Windows machines to host WinINSTALL shares.

By default, the share owner is responsible for merge and publish responsibility for that share. However, network topology and other considerations may make it more desirable to configure merge and publish responsibility for a share to a WinINSTALL server other than the share owner. WinINSTALL fully supports such configurations.

Nevertheless, share ownership is important, particularly for Secure Manual Deployment. When WinINSTALL agents are deployed to a machine through SMD, the machine is assigned to the server designated as owner of the machine’s initial WinINSTALL share.

Share ownership is also critical to WinINSTALL replication. Replication moves data from the source server’s first owned share to (in most cases) all the target server’s owned shares. For details on replication, including sources and targets, see the Replication chapter of the WinINSTALL Administrators Guide. For details on configuring share ownership, and for ordering owned shares, see the Machines and Agents chapter of the WinINSTALL Administrators Guide.

SHARE SELECTION PROCEDURESBy default, each WinINSTALL machine attempts to connect to the first share in its sitelist file. If that connection fails, the machine will move on to the next share in the list, and so on, until a connection succeeds or the machine runs out of shares to try. This procedure, known as sequential scan, provides good backup/failover capability, but it is not necessarily the optimal procedure for mobile users.

The WinINSTALL Desktop Management Suite and Desktop Availability Suite products provide additional share selection options that enable each machine to dynamically determine the nearest share to connect to. This determination can be accomplished by means of examining subnet addresses, or by traffic analysis--or both.

These configuration options are configured on a per-share basis. That is, one share in a machine’s site list may be configured to use one selection procedure, while others may be configured to use different procedures.

Page 55: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .T H E W I N I N S TA L L A G E N T SShare Configuration and Selection

April, 2006 Reference Guide 43

In such a situation, the machine will always process shares configured to use subnet address selections first.

If no share with a suitable subnet address is found, the machine will next process those shares configured for selection by traffic analysis.

If traffic analysis does not yield a share with an acceptable response time, then the machine will finally revert to the sequential scan method.

As with the other areas of share configuration, details on the share selection process and how to configure it to meet your needs are presented in the Managing Machines and Agents chapter of the WinINSTALL Administrators Guide.

Page 56: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

T H E W I N I N S TA L L A G E N T SShare Configuration and Selection

44 WinINSTALL Desktop Management Suite and Desktop Availability Suite

4

Page 57: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 45

. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Section 2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . WININSTALL DATABASECHAPTER 5: WININSTALL DATABASE

CHAPTER 6: WININSTALL DATABASE TABLES

Page 58: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

46 WinINSTALL Desktop Management Suite and Desktop Availability Suite

Page 59: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 47

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .WININSTALL DATABASE 5

ll WinINSTALL information is stored in a centralized database. WinINSTALL Agents installed on WinINSTALL workstations and servers control the flow of information to and from the database. From the database, configuration changes

can be sent out globally or individually, inventory and conflict assessment information can be viewed and used for desktop management, and reports can be generated.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D A T A B A S E S C H E M AA complete description of all tables in the WinINSTALL database is included in the WinINSTALL Database Tables chapter of this Reference Guide. You can use this information with third-party database mining tools and to create custom reports, if you have a copy of Crystal Designer.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S U P P O R T E D D A T A B A S E P L A T F O R M SWinINSTALL supports the following database platforms:

MICROSOFT® SQL SERVER 2000 DESKTOP ENGINE (MSDE 2000)• MSDE 2000 with Service Pack 3a ships with WinINSTALL..

• Database size limited to 2 GB.

• Has a 5-session limit.

• A good database to use for small locations with less than 100 computers.

MICROSOFT® SQL SERVER 2000• A much more robust database engine.

• Recommended for larger organizations.

• Should have latest service packs installed.

MICROSOFT® SQL SERVER 2005• Latest version of Microsoft database engine.

• Available in a variety of editions for organizations of various sizes.

A

Page 60: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S EUpgrading the Database Schema from Previous Releases

48 WinINSTALL Desktop Management Suite and Desktop Availability Suite

5

• Should have latest service packs installed.

ORACLE® 9I OR LATER• Another very robust database engine.

• Recommended for larger organizations that have Oracle already in use for other purposes.

• Should have latest updates installed.

U P G R A D I N G T H E D A T A B A S E S C H E M A F R O M

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P R E V I O U S R E L E A S E SWinINSTALL comes with two DDL files that can be used to install a new database and two DDLs that can be used upgrade an older database schema to the current version. These DDLs ship with WinINSTALL and can be found in the bin directory of the WinINSTALL share.

The easiest way to set up a new database is to use the DB Setup Wizard. However, users who prefer to install the database with a SQL Server or Oracle utility can use one of the two following DDLs:

Users who need to upgrade their WinINSTALL database from its current (older) version to the newest version should use one of the two following DDLs:

WI_SSRV_UPD.DDL is used with the utility OSQL to update a SQL Server/MSDE database.

WI_ORAC_UPD.DDL is used with the utility SQLPLUS to update an Oracle 9i or later database.

Instructions are provided below for upgrading each type of database.

UPGRADING A MICROSOFT SQL SERVER OR MSDE WININSTALL DATABASEIf you have a previous version of the WinINSTALL database and want to upgrade to the most current version, do the following:

1 From the machine where the database resides, open a command prompt and use OSQL.EXE to update the database schema, using the WI_SSRV_UPD.DDL in the WinINSTALL\bin directory.

2 If you use SQL Server authentication, use the following command:

WINSTALL.DB.DDL • for use with SQL Server and MSDE 2000

WINSTALL.DB_ORC.DDL • for use with Oracle 9

Page 61: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S EUpgrading the Database Schema from Previous Releases

April, 2006 Reference Guide 49

osql -I -n -S DBMachine\WinINSTALL -d DBName -i C:\Program Files\WinINSTALL\bin\WI_SSRV_UPD.DDL -U sa -P pwd

where DBMachine refers to the machine where your WinINSTALL database resides, \WinINSTALL refers to the instance name, DBName refers to the name of your database, sa refers to the account and pwd refers to your password.

3 If you use NT authentication, use the following command:

osql -I -n -S DBMachine\WinINSTALL -d DBName -i C:\Program Files\WinINSTALL\bin\WI_SSRV_UPD.DDL -E

where DBMachine refers to the machine where your WinINSTALL database resides, \WinINSTALL refers to the instance name, and DBName refers to the name of your database.

UPGRADING AN ORACLE WININSTALL DATABASEUpgrading an Oracle database requires the use of the program SQLPLUS, provided with Oracle. You can use the command line utility, SQLPLUS, or the version providing a user interface, SQLPLUSW. If you have a previous version of an Oracle WinINSTALL database and want to upgrade to the most current version, use the following instructions apply to upgrade with SQLPLUS.

You will need the following information:

• The local net service name associated with the WinINSTALL database.

• The user ID of the owner of the WinINSTALL database.

• The password associated with the user ID.

• The path of the file containing the upgrade DDL - WI_ORAC_UPD.DDL. This file is found in the \bin directory of the WinINSTALL share.

It is easiest to run the utility on a machine where the WinINSTALL console is installed because such a machine should already have a local net service name assigned to the database.

Running SQLPLUS to perform the upgrade is a four-step process.

1 Open a command prompt window for entering the command.

2 Start the SQLPLUS program.

3 Tell SQLPLUS to run the .DDL file.

4 Exit the SQLPLUS program.

Here is an example of how to perform an Oracle upgrade, using the values specified below:

Local Net Service Name: YourDB

User ID: system

Page 62: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S EUpgrading the Database Schema from Previous Releases

50 WinINSTALL Desktop Management Suite and Desktop Availability Suite

5

Password: pwd

DDL File Path: \\ShareMachine\WinINSTALL\Bin\WI_ORAC_UPD.DDL

First, open a command prompt and start SQLPLUS with the following command line:

sqlplus system/pwd@YourDB

A few lines of copyright information will be displayed, followed by a SQL> prompt. At this prompt, enter the following command:

start \\ShareMachine\WinINSTALL\Bin\WI_ORAC_UPD.DDL

Several screens full of informational messages will display as the schema is updated. You may want to scroll back to ensure that no errors were encountered.

Finally, to exit the program, at the next SQL> prompt, enter this command:

exit

You return to the command prompt window's command prompt and enter another exit, which closes the command prompt window.

Page 63: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 51

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .WININSTALL DATABASE TABLES 6

his chapter documents all tables in the WinINSTALL database, presenting each database table in a tabular arrangement, including table name, column name, data type, column size, and precision (where applicable) for both SQL Server and Oracle,

plus whether the field is required or not.

For character data types, the length shown is the length in characters. For other data types, the specified length is the number of bytes occupied by the value within the table. Some types, such as text and image, occupy space in a special place in the database, because they are often too large for a normal row. These types have 16 bytes of overhead in the row. Similar Oracle types, (LONG and LONG RAW), do not have a length specified, for the same reason.

The tables are grouped below according to the WinINSTALL components which make primary use of them. Note that, despite their grouping here, many of these tables are used by multiple WinINSTALL features and components, and often for purposes which are not obvious.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D A T A B A S E V E R S I O N T A B L E

WI_VERSION

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

DBVERSION decimal 5 4 NUMBER 22 4 YesPRODVERSION nvarchar 12 VARCHAR2 12 NoINTERIM decimal 5 2 NUMBER 22 2 No

T

Page 64: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

52 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A G E N T I N F R A S T R U C T U R E T A B L E S

WIAI_CHANGE_NOTICES

WIAI_EXCLUSION

WIAI_EXTENSION

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TYPE smallint 2 5 NUMBER 22 3 YesTARGETID uniqueidentifier 16 CHAR 38 YesPARAM1 nvarchar 40 VARCHAR2 40 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

EXCLUSIONID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesEXCLUSION nvarchar 256 VARCHAR2 256 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

EXTENSIONID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesEXTENSION nvarchar 10 VARCHAR2 10 Yes

Page 65: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

April, 2006 Reference Guide 53

WIAI_HKSETTINGS

WIAI_ INVSETTINGS

WIAI_JOBBIGPARAMS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesLOGPURGE smallint 2 5 NUMBER 22 5 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesMODE tinyint 1 3 NUMBER 22 38 YesFULLSCAN tinyint 1 3 NUMBER 22 38 YesCHANGELOG tinyint 1 3 NUMBER 22 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBBIGPARAMID uniqueidentifier 16 CHAR 38 YesJOBID uniqueidentifier 16 CHAR 38 YesPARAM_NAME nvarchar 50 VARCHAR2 50 YesAGENT_PARAMETER text 16 LONG Yes

Page 66: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

54 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIAI_JOBCOMPLETION

WIAI_JOBMACHINES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBCOMPLETIONID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesJOBID uniqueidentifier 16 CHAR 38 NoSTART_TIME datetime 8 DATE 7 YesEND_TIME datetime 8 DATE 7 YesERROR_CODE int 4 10 NUMBER 22 10 YesAGENT_NAME nvarchar 100 VARCHAR2 100 YesMESSAGE nvarchar 2048 VARCHAR2 2048 NoPARAM1 text 16 LONG NoPARAM2 nvarchar 256 VARCHAR2 256 NoPARAM3 nvarchar 256 VARCHAR2 256 NoPARAM4 nvarchar 256 VARCHAR2 256 NoPARAM5 nvarchar 256 VARCHAR2 256 NoPROCESSED bit 1 1 CHAR 1 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 Yes

Page 67: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

April, 2006 Reference Guide 55

WIAI_JOBNETCRITERIA

WIAI_JOBPARAMS

WIAI_JOBS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBNETCRITERIAID uniqueidentifier 16 CHAR 38 YesJOBID uniqueidentifier 16 CHAR 38 YesTYPE tinyint 1 3 NUMBER 22 38 YesVALUE nvarchar 255 VARCHAR2 255 YesPARENTVALUE nvarchar 255 VARCHAR2 255 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBPARAMID uniqueidentifier 16 CHAR 38 YesJOBID uniqueidentifier 16 CHAR 38 YesPARAM_NAME nvarchar 50 VARCHAR2 50 YesAGENT_PARAMETER nvarchar 256 VARCHAR2 256 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 50 VARCHAR2 50 YesAGENT_NAME nvarchar 256 VARCHAR2 256 YesAGENT_OPERATION int 4 10 NUMBER 22 38 YesCRITERIA tinyint 1 3 NUMBER 22 38 YesSCHEDULE ntext 16 LONG YesUPDATED datetime 8 DATE 7 YesDELETED tinyint 1 3 NUMBER 22 1 No

Page 68: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

56 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIAI_LOGVARIABLE

WIAI_MASETTINGS

WAKE_OPTIONS smallint 2 5 NUMBER 22 3 NoROLE smallint 2 5 NUMBER 22 3 NoSUSPENDED tinyint 1 3 NUMBER 22 1 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

LOGVARIABLEID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesTYPE tinyint 1 3 NUMBER 22 38 YesVARIABLE nvarchar 255 VARCHAR2 255 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesLOGGING_LEVEL int 4 10 NUMBER 22 38 NoLOGGING_OPTIONS bigint 8 19 NUMBER 22 38 NoTRAY_ICON int 4 10 NUMBER 22 38 NoTRAY_CLOSEABLE int 4 10 NUMBER 22 38 NoCFG_INTERVAL int 4 10 NUMBER 22 38 NoTF_INTERVAL int 4 10 NUMBER 22 38 NoNETWORK_RETRY int 4 10 NUMBER 22 38 NoJOBSCAN_INTERVAL int 4 10 NUMBER 22 38 NoIPC_PORT int 4 10 NUMBER 22 38 NoDISABLE_SEH int 4 10 NUMBER 22 38 NoNETWARE_NDS int 4 10 NUMBER 22 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 69: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

April, 2006 Reference Guide 57

WIAI_MERGESETTINGS

WIAI_PACKAGE_PATHS

NETWARE_SERVER nvarchar 256 VARCHAR2 256 NoNETWARE_TREE nvarchar 256 VARCHAR2 256 NoNETWARE_USER nvarchar 256 VARCHAR2 256 NoNETWARE_PASSWORD nvarchar 256 VARCHAR2 256 NoDB_CONNECTION nvarchar 256 VARCHAR2 256 NoDB_PASSWORD nvarchar 100 VARCHAR2 100 NoUPDATE_INTERVAL int 4 10 NUMBER 22 9 NoUPDATE_ONSTART tinyint 1 3 NUMBER 22 3 NoNEAREST_SERVER tinyint 1 3 NUMBER 22 1 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesSUPPRESS_DB_WRITE tinyint 1 3 NUMBER 22 38 NoROLLUP_PATH1 nvarchar 255 VARCHAR2 255 NoROLLUP_PATH2 nvarchar 255 VARCHAR2 255 NoROLLUP_PATH3 nvarchar 255 VARCHAR2 255 NoINTERVALSCAN int 4 10 NUMBER 22 38 NoTXFILE_GENERATIONS smallint 2 5 NUMBER 22 4 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PACKAGEID uniqueidentifier 16 CHAR 38 YesPATHID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 70: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

58 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIAI_PACKAGES

WIAI_PUBSETTINGS

WAI_REASSIGNED_WORKSTATIONS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PACKAGEID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 128 VARCHAR2 128 YesPATH varchar 512 VARCHAR2 512 YesFLAGS smallint 2 5 NUMBER 22 2 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesINTERVALSCAN int 4 10 NUMBER 22 38 NoDYNLSTINTCOUNT int 4 10 NUMBER 22 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

WORKSTATIONID uniqueidentifier 16 CHAR 38 YesOLDSERVERID uniqueidentifier 16 CHAR 38 YesNEWSERVERID uniqueidentifier 16 CHAR 38 YesSTATUS tinyint 1 3 NUMBER 22 1 Yes

Page 71: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SAgent Infrastructure Tables

April, 2006 Reference Guide 59

WIAI_REPSETTINGS

WIAI_SDSETTINGS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesMCASTRANGESTART int 4 10 NUMBER 22 38 NoMCASTRANGEEND int 4 10 NUMBER 22 38 NoUSEMADCAP tinyint 1 3 NUMBER 22 38 NoJOBLOGRETENTION smallint 2 5 NUMBER 22 38 NoACTIVEQSIZE smallint 2 5 NUMBER 22 38 NoPENDINGQSIZE smallint 2 5 NUMBER 22 38 NoPORTSETTINGS int 4 10 NUMBER 22 10 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesLST_FILE nvarchar 256 VARCHAR2 256 YesSTARTUP_MODE int 4 10 NUMBER 22 38 NoSCAN_SUBLSTS int 4 10 NUMBER 22 38 NoCLIENT_LAUNCH_DACL ntext 16 VARCHAR2 10 NoELEVATION_DACL ntext 16 VARCHAR2 10 NoCLIENT_LAUNCH_DACL_CLOBID (Oracle Only)

CHAR 38 No

ELEVATION_DACL_CLOBID (Oracle Only)

CHAR 38 No

Page 72: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

60 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIAI_WAKESETTINGS

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C O N F L I C T A S S E S S M E N T T A B L E S

WICA_ASSESSEDPACKAGES

WICA_ASSESSMENTHISTORY

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesDELIVERY_METHOD smallint 2 5 NUMBER 22 3 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_ASSESSEDPACKAGES_ID

uniqueidentifier 16 CHAR 38 Yes

CA_WFILES_ID1 uniqueidentifier 16 CHAR 38 YesCA_WFILES_ID2 uniqueidentifier 16 CHAR 38 YesLOAD1_ID uniqueidentifier 16 CHAR 38 NoLOAD2_ID uniqueidentifier 16 CHAR 38 NoSTATUS smallint 2 5 NUMBER 22 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_ASSESSMENTSETS_ID uniqueidentifier 16 CHAR 38 YesCA_ASSESSEDPACKAGES_ID uniqueidentifier 16 CHAR 38 Yes

Page 73: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

April, 2006 Reference Guide 61

WICA_ASSESSMENTSETS

WICA_CONFLICTS

WICA_INIFILEADDS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_ASSESSMENTSETS_ID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 80 VARCHAR2 80 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_ASSESSEDPACKAGES_ID uniqueidentifier 16 CHAR 38 YesSEQ int 4 10 NUMBER 22 38 YesCATEGORY smallint 2 5 NUMBER 22 38 YesSUB_CATEGORY smallint 2 5 NUMBER 22 38 YesDATA_ID uniqueidentifier 16 CHAR 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 YesVALUE ntext 16 LONG No

Page 74: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

62 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICA_INIFILEREMOVES

WICA_JOBHISTORY

WICA_PACKAGEDIRADDS

WICA_PACKAGEDIRREMOVES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 YesFLAGS smallint 2 5 NUMBER 22 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_ASSESSMENTSETS_ID uniqueidentifier 16 CHAR 38 YesCA_JOB_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Page 75: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

April, 2006 Reference Guide 63

WICA_PACKAGEFILEADDS

WICA_PACKAGEFILEREMOVES

WICA_PATHS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 YesFILE_VERSION nvarchar 30 VARCHAR2 30 NoFILE_MOD_DATE datetime 8 DATE 7 NoFILE_SIZE bigint 8 19 NUMBER 22 38 NoFILE_ATTRIBUTES int 4 10 NUMBER 22 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_PATHS_ID uniqueidentifier 16 CHAR 38 YesPARENT_ID uniqueidentifier 16 CHAR 38 NoNAME nvarchar 440 VARCHAR2 512 Yes

Page 76: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

64 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICA_REGISTRYKEYADDS

WICA_REGISTRYKEYDELETES

WICA_REGISTRYVALUEADDS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 YesVALUE_TYPE int 4 10 NUMBER 22 38 YesVALUE_SIZE smallint 2 5 NUMBER 22 38 YesVALUE nchar 8 CHAR 8 Yes

Page 77: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

April, 2006 Reference Guide 65

WICA_REGISTRYVALUEDELETES

WICA_SHORTCUTADDS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesCA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesLINK_FILE_CA_PATHS_ID

uniqueidentifier 16 CHAR 38 Yes

EXECUTABLE_CA_PATHS_ID

uniqueidentifier 16 CHAR 38 Yes

EXECUTABLE_ARGS nvarchar 256 VARCHAR2 256 YesICON_FILE_CA_PATHS_ID

uniqueidentifier 16 CHAR 38 Yes

ICON_INDEX smallint 2 5 NUMBER 22 38 YesWORKING_DIR_CA_PATHS_ID

uniqueidentifier 16 CHAR 38 Yes

HOT_KEY smallint 2 5 NUMBER 22 38 YesSHOW_CMD smallint 2 5 NUMBER 22 38 YesLABEL nvarchar 256 VARCHAR2 256 Yes

Page 78: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConflict Assessment Tables

66 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICA_SHORTCUTDELETES

WICA_WFILE_XREF

WICA_WFILES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesLINK_FILE_CA_PATHS_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_ASSESSMENTSETS_ID uniqueidentifier 16 CHAR 38 YesCA_WFILES_ID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CA_WFILES_ID uniqueidentifier 16 CHAR 38 YesWFILE_PATH nvarchar 1000 VARCHAR2 1000 YesDESCRIPTION nvarchar 80 VARCHAR2 80 YesFLAGS smallint 2 5 NUMBER 22 38 YesSTATUS smallint 2 5 NUMBER 22 38 YesFILE_TIME datetime 8 DATE 7 YesLOAD_ID uniqueidentifier 16 CHAR 38 NoFILE_SIZE int 4 10 NUMBER 22 38 Yes

Page 79: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SConsole Tables

April, 2006 Reference Guide 67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C O N S O L E T A B L E S

WICON_ASSET

WICON_ASSETTYPE

WICON_CLOB (ORACLE-ONLY TABLE)

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

ASSETID uniqueidentifier 16 CHAR 38 YesASSETNAME nvarchar 128 VARCHAR2 128 NoDESCRIPTION nvarchar 128 VARCHAR2 128 NoLOCATION nvarchar 128 VARCHAR2 128 NoOWNER nvarchar 64 VARCHAR2 64 NoDELIVERYDATE datetime 8 DATE 7 NoMATCHINGTYPE tinyint 1 3 NUMBER 22 3 NoMATCHINGID nvarchar 256 VARCHAR2 256 NoASSETTYPEID uniqueidentifier 16 CHAR 38 NoDEPARTMENT nvarchar 64 VARCHAR2 64 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

ASSETTYPEID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 50 VARCHAR2 50 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CLOBID CHAR 38 YesCLOB LONG No

Page 80: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConsole Tables

68 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICON_INVAPPFILE

WICON_LICENSE

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

INVAPPFILEID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesAPPNAME nvarchar 512 VARCHAR2 512 YesAPPTYPE smallint 2 5 NUMBER 22 38 YesFILESTATUS nchar 1 CHAR 1 YesFILENAME nvarchar 512 VARCHAR2 512 YesAPPLICATIONID1 nvarchar 512 VARCHAR2 512 NoAPPLICATIONID2 nvarchar 512 VARCHAR2 512 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

LICENSEKEY nvarchar 128 VARCHAR2 128 YesPRODUCTGUID uniqueidentifier 16 CHAR 38 NoLICENSECOUNT int 4 10 NUMBER 22 38 NoCOST nvarchar 64 VARCHAR2 64 NoTERM int 4 10 NUMBER 22 38 NoSTARTDATE datetime 8 DATE 7 NoREQUESTOR nvarchar 128 VARCHAR2 128 NoDEPARTMENT nvarchar 128 VARCHAR2 128 NoLICENSERESERVE int 4 10 NUMBER 22 10 No

Page 81: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SConsole Tables

April, 2006 Reference Guide 69

WICON_LOG

WICON_LOGDATA

WICON_MACHINEGROUPS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

LOGID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesEVENTSEVERITY smallint 2 5 NUMBER 22 38 YesEVENTDATE datetime 8 DATE 7 YesEVENTSOURCE nvarchar 50 VARCHAR2 50 YesEVENTCODE smallint 2 5 NUMBER 22 38 YesCATEGORY smallint 2 5 NUMBER 22 38 YesDESCRIPTION nvarchar 500 VARCHAR2 500 NoEVENTUSER nvarchar 50 VARCHAR2 50 NoOBJECTID uniqueidentifier 16 CHAR 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

LOGDATAID uniqueidentifier 16 CHAR 38 YesLOGID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 255 VARCHAR2 255 NoVALUE nvarchar 255 VARCHAR2 255 NoMACHINEID uniqueidentifier 16 CHAR 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

GROUPID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 255 NVARCHAR2 255 Yes

Page 82: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConsole Tables

70 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICON_MACHINEPATHS

TYPE tinyint 1 3 NUMBER 22 2 YesUPDATED datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEPATHID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesPATH nvarchar 255 VARCHAR2 255 YesTYPE tinyint 1 3 NUMBER 22 38 YesPATH_INDEX tinyint 1 3 NUMBER 22 1 YesPUBLISH tinyint 1 3 NUMBER 22 1 NoMERGE tinyint 1 3 NUMBER 22 1 NoNS_INHERIT tinyint 1 3 NUMBER 22 1 NoNS_USE_SUBNET tinyint 1 3 NUMBER 22 1 NoNS_SKIP_OFF_SUBNET tinyint 1 3 NUMBER 22 1 NoNS_SUBNET_MASK nchar 15 CHAR 15 NoNS_PING_SIZE smallint 2 5 NUMBER 22 5 NoNS_AGENT_PING_SIZE smallint 2 5 NUMBER 22 5 NoNS_PING_THRESHOLD smallint 2 5 NUMBER 22 5 NoNS_PING_TYPE tinyint 1 3 NUMBER 22 1 NoNS_PING_COUNT tinyint 1 3 NUMBER 22 3 NoNS_AGENT_PING_COUNT smallint 2 5 NUMBER 22 3 NoNS_PING_TIMEOUT smallint 2 5 NUMBER 22 4 NoNEAREST_SERVER tinyint 1 3 NUMBER 22 1 NoOWNERSHIP tinyint 1 3 NUMBER 22 1 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 83: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SConsole Tables

April, 2006 Reference Guide 71

WICON_MACHINES

WICON_SEARCHCONDITIONS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesSERVERID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 255 VARCHAR2 255 YesMACHINEGROUP nvarchar 255 VARCHAR2 255 YesSOURCE smallint 2 5 NUMBER 22 38 YesROLE smallint 2 5 NUMBER 22 38 YesAGENTDEPLOYED tinyint 1 3 NUMBER 22 38 YesIPADDRESS int 4 10 NUMBER 22 38 NoUPDATED datetime 8 DATE 7 YesDEPARTMENT nvarchar 64 VARCHAR2 64 NoDNSDOMAIN nvarchar 255 VARCHAR2 255 NoSHORTNAME nvarchar 50 VARCHAR2 50 YesWAKETIME datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

SEARCHCONDITIONID uniqueidentifier 16 CHAR 38 YesSEARCHID uniqueidentifier 16 CHAR 38 YesFIELD int 4 10 NUMBER 22 38 YesOPERATOR smallint 2 5 NUMBER 22 38 YesOPERAND1 nvarchar 255 VARCHAR2 255 NoOPERAND2 nvarchar 255 VARCHAR2 255 No

Page 84: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SConsole Tables

72 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICON_SEARCHES

WICON_SECACC

WICON_SERVERSETTINGS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

SEARCHID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 255 VARCHAR2 255 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

WISECACCID uniqueidentifier 16 CHAR 38 YesROLETYPE smallint 2 5 NUMBER 22 38 YesDACL ntext 16 LONG No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesNEAREST_SERVER tinyint 1 3 NUMBER 22 1 NoNS_SUBNET_MASK nchar 15 CHAR 15 NoNS_PING_SIZE smallint 2 5 NUMBER 22 5 NoNS_AGENT_PING_SIZE smallint 2 5 NUMBER 22 5 NoNS_REFRESH_INTERVAL bigint 8 19 NUMBER 22 14 NoNS_PING_THRESHOLD smallint 2 5 NUMBER 22 5 NoNS_USE_SUBNET tinyint 1 3 NUMBER 22 1 NoNS_SKIP_OFF_SUBNET tinyint 1 3 NUMBER 22 1 NoNS_PING_TYPE tinyint 1 3 NUMBER 22 1 NoNS_PING_COUNT tinyint 1 3 NUMBER 22 3 No

Page 85: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SClient Reset Tables

April, 2006 Reference Guide 73

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C L I E N T R E S E T T A B L E S

WICR_FILES

WICR_LOOKUPMSDOSNICDRIVERS

NS_AGENT_PING_COUNT smallint 2 5 NUMBER 22 3 NoNS_PING_TIMEOUT smallint 2 5 NUMBER 22 4 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

FILEID uniqueidentifier 16 CHAR 38 YesFILENAME nvarchar 16 VARCHAR2 16 YesGROUPTYPE tinyint 1 3 NUMBER 22 3 YesCOPYTYPE tinyint 1 3 NUMBER 22 3 YesSERVERTYPE tinyint 1 3 NUMBER 22 3 YesISLANGUAGEDEPENDENT bit 1 1 CHAR 1 YesSHARERELPATH nvarchar 64 VARCHAR2 64 NoFLOPPYRELPATH nvarchar 16 VARCHAR2 16 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

LOOKUPMSDOS-NICDRIVERID

uniqueidentifier 16 CHAR 38 Yes

TEMPLATEID uniqueidentifier 16 CHAR 38 YesMSDOSNICDRIVERID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 86: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SClient Reset Tables

74 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WICR_MSDOSADDITIONALFILES

WICR_MSDOSNICDRIVERS

WICR_OSLICENSEKEYS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MSDOSADDITIONAL-FILEID

uniqueidentifier 16 CHAR 38 Yes

TEMPLATEID uniqueidentifier 16 CHAR 38 YesFILENAME nvarchar 16 VARCHAR2 16 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MSDOSNICDRIVERID uniqueidentifier 16 CHAR 38 YesFILENAME nvarchar 16 VARCHAR2 16 YesISNETWARE bit 1 1 CHAR 1 YesDESCRIPTION nvarchar 64 VARCHAR2 64 YesVENDORID smallint 2 5 NUMBER 22 5 NoDEVICEID smallint 2 5 NUMBER 22 5 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

OSLICENSEKEYID uniqueidentifier 16 CHAR 38 YesLANGUAGE nvarchar 32 VARCHAR2 32 YesOPERATINGSYSTEM tinyint 1 3 NUMBER 22 3 YesLICENSE nvarchar 32 VARCHAR2 32 Yes

Page 87: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SClient Reset Tables

April, 2006 Reference Guide 75

WICR_SHARES

WICR_TEMPLATES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

SHAREID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 64 VARCHAR2 64 YesMACHINE nvarchar 68 VARCHAR2 68 YesSHARE nvarchar 16 VARCHAR2 16 YesSERVERTYPE tinyint 1 3 NUMBER 22 3 YesCONNECTTYPE tinyint 1 3 NUMBER 22 3 YesJOINTYPE tinyint 1 3 NUMBER 22 3 NoJOINNAME nvarchar 64 VARCHAR2 64 NoLOGON varchar 150 VARCHAR2 150 NoTIMESTAMP datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 64 VARCHAR2 64 YesMETHOD tinyint 1 3 NUMBER 22 3 YesOPERATINGSYSTEM tinyint 1 3 NUMBER 22 3 YesLANGUAGE nvarchar 32 VARCHAR2 32 YesLNGFILE nvarchar 16 VARCHAR2 16 NoADDITIONALAU-TOEXEC

nvarchar 1000 VARCHAR2 1000 No

ADDITIONALCONFIG-SYS

nvarchar 1000 VARCHAR2 1000 No

LOGFILELEVEL tinyint 1 3 NUMBER 22 3 YesPARTITIONPERMIT-TED

tinyint 1 3 NUMBER 22 3 Yes

FORMATPERMITTED tinyint 1 3 NUMBER 22 3 Yes

Page 88: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SClient Reset Tables

76 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

FILESYSTEMTYPE tinyint 1 3 NUMBER 22 3 YesVOLUMELABEL nvarchar 16 VARCHAR2 16 NoOSTARGETDIR nvarchar 16 VARCHAR2 16 NoISNETCARDDE-TECTENABLED

bit 1 1 CHAR 1 No

NETCARDINFFILE nvarchar 16 VARCHAR2 16 NoNETCARDOPTION nvarchar 32 VARCHAR2 32 NoISRESETPARTITION-ENABLED

bit 1 1 CHAR 1 Yes

ISNWLNKIPXEN-ABLED

bit 1 1 CHAR 1 No

ISNETBEUIENABLED bit 1 1 CHAR 1 NoISTCPIPENABLED bit 1 1 CHAR 1 NoISDHCPENABLED bit 1 1 CHAR 1 NoIPADDRESS int 4 10 NUMBER 22 10 NoSUBNETMASK int 4 10 NUMBER 22 10 NoWINSPRIMARY int 4 10 NUMBER 22 10 NoWINSSECONDARY int 4 10 NUMBER 22 10 NoDNSNAME nvarchar 68 VARCHAR2 68 NoDNSSERVER int 4 10 NUMBER 22 10 NoWIPACKAGEPATH nvarchar 260 VARCHAR2 260 NoISMSCLIENTENABLED bit 1 1 CHAR 1 NoISNWCLIENTENA-BLED

bit 1 1 CHAR 1 No

JOINTYPE tinyint 1 3 NUMBER 22 3 NoJOINNAME nvarchar 16 VARCHAR2 16 NoLOGONDOMAIN nvarchar 16 VARCHAR2 16 NoPRIMARYLOGONTYPE tinyint 1 3 NUMBER 22 3 NoPREFERREDSERVER nvarchar 16 VARCHAR2 16 NoFIRSTNETDRIVE nchar 1 CHAR 1 NoISPROCESSLOGIN-SCRIPTENABLED

bit 1 1 CHAR 1 No

NTSERVERLI-CENSEOPTION

tinyint 1 3 NUMBER 22 3 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 89: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SClient Reset Tables

April, 2006 Reference Guide 77

CONCURRENTCON-NECTIONS

smallint 2 5 NUMBER 22 5 No

ISINSTALLIISEN-ABLED

bit 1 1 CHAR 1 No

COMPANYNAME nvarchar 64 VARCHAR2 64 NoTIMEZONE nvarchar 64 VARCHAR2 64 NoISSERVICEPACKEN-ABLED

bit 1 1 CHAR 1 No

SERVICEPACK nvarchar 16 VARCHAR2 16 NoADMINLOGON varchar 150 VARCHAR2 150 NoOSINSTALLERPATH nvarchar 16 VARCHAR2 16 NoOSIMAGEPATH nvarchar 16 VARCHAR2 16 NoOSCMDLINE nvarchar 256 VARCHAR2 256 NoTIMESTAMP datetime 8 DATE 7 NoWINSTALLPATH nvarchar 260 VARCHAR2 260 YesEXTENDPARTITION int 4 10 NUMBER 22 10 NoUSERNAME nvarchar 20 VARCHAR2 20 NoPOSTINSTALLTYPE tinyint 1 3 NUMBER 22 3 NoWICUSTOMPATH nvarchar 260 VARCHAR2 260 NoWICUSTOMPARAMS nvarchar 80 VARCHAR2 80 NoWICUSTOMLOGON varchar 150 VARCHAR2 150 NoISSTARTMENUEN-ABLED

bit 1 1 CHAR 1 No

ISDEPLOYENABLED bit 1 1 CHAR 1 NoDEPLOYLOGON varchar 150 VARCHAR2 150 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 90: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SInventory Tables

78 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I N V E N T O R Y T A B L E S

WIINV_ARPAPPS

WIINV_CHANGELOG

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesPRODUCTGUID uniqueidentifier 16 CHAR 38 YesPRODUCTNAME nvarchar 128 VARCHAR2 128 YesPRODUCTVER nvarchar 50 VARCHAR2 50 NoINSTALLDATE nvarchar 50 VARCHAR2 50 NoINSTALLPATH nvarchar 255 VARCHAR2 255 NoLASTUSED datetime 8 DATE 7 NoFREQUENCY int 4 10 NUMBER 22 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CHANGELOGID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesOBJECTTYPE smallint 2 5 NUMBER 22 38 YesOBJECTID nvarchar 255 VARCHAR2 255 NoOBJECTSUBID nvarchar 255 VARCHAR2 255 NoFIELD smallint 2 5 NUMBER 22 38 YesOLDVALUE nvarchar 255 VARCHAR2 255 NoTIMESTAMP datetime 8 DATE 7 No

Page 91: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SInventory Tables

April, 2006 Reference Guide 79

WIINV_DETECTEDFILEEXT

WIINV_DETECTEDFILES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesFILEGUID uniqueidentifier 16 CHAR 38 YesPRODUCTNAME nvarchar 128 VARCHAR2 128 NoPRODUCTVERSION nvarchar 64 VARCHAR2 64 NoMANUFACTUR-ERNAME

nvarchar 128 VARCHAR2 128 No

FILEVERSION nvarchar 64 VARCHAR2 64 NoFILEDESCRIPTION nvarchar 256 VARCHAR2 256 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesFILENAME nvarchar 128 VARCHAR2 128 YesPATH nvarchar 300 VARCHAR2 300 YesFILEGUID uniqueidentifier 16 CHAR 38 NoCREATIONDATE datetime 8 DATE 7 NoMODIFICATIONDATE datetime 8 DATE 7 NoFILESIZE bigint 8 19 NUMBER 22 38 YesREGISTRYASSOCIA-TION

nvarchar 64 VARCHAR2 64 No

Page 92: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SInventory Tables

80 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIINV_DEVICES

WIINV_LOCALLOGICALDRIVE

WIINV_MACHINEHW

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

DEVICEID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesDEVICENAME nvarchar 128 VARCHAR2 128 YesDRIVERDATE nvarchar 50 VARCHAR2 50 NoDEVICETYPE nvarchar 128 VARCHAR2 128 NoDRIVERVERSION nvarchar 50 VARCHAR2 50 NoDEVICESTATUS smallint 2 5 NUMBER 22 38 NoDRIVERPRODUCER nvarchar 128 VARCHAR2 128 NoDRIVERFILE nvarchar 255 VARCHAR2 255 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesDRIVELETTER nchar 1 CHAR 1 YesTOTALSPACE bigint 8 19 NUMBER 22 38 YesFREESPACE bigint 8 19 NUMBER 22 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesCPUMODEL nvarchar 128 VARCHAR2 128 NoCPUVENDOR nvarchar 128 VARCHAR2 128 NoCPUSPEED nvarchar 50 VARCHAR2 50 No

Page 93: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SInventory Tables

April, 2006 Reference Guide 81

WIINV_NTSERVICES

BIOSVERSION nvarchar 128 VARCHAR2 128 NoBIOSDATE nvarchar 50 VARCHAR2 50 NoNUMPROCESSORS smallint 2 5 NUMBER 22 38 NoMAXPAGEFILESIZE bigint 8 19 NUMBER 22 38 NoTOTALRAM bigint 8 19 NUMBER 22 38 NoSYSTEMMANUFAC-TURER

nvarchar 128 VARCHAR2 128 No

SYSTEMMODEL nvarchar 128 VARCHAR2 128 NoMONITORMANUFAC-TURER

nvarchar 128 VARCHAR2 128 No

MONITORMODEL nvarchar 128 VARCHAR2 128 NoMACADDRESS nvarchar 128 VARCHAR2 128 NoTIMEZONE nvarchar 128 VARCHAR2 128 NoSERIALNUMBER nvarchar 128 VARCHAR2 128 NoIPADDRESS nvarchar 128 VARCHAR2 128 NoIPSUBNET nvarchar 128 VARCHAR2 128 NoMAXRAMSIZE bigint 8 19 NUMBER 22 38 NoNUMRAMSLOTS int 4 10 NUMBER 22 38 NoCHASSISTYPES nvarchar 50 VARCHAR2 50 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesNAME nvarchar 128 VARCHAR2 128 YesDISPNAME nvarchar 128 VARCHAR2 128 NoCURSTATE smallint 2 5 NUMBER 22 38 NoSTARTTYPE smallint 2 5 NUMBER 22 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 94: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SInventory Tables

82 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIINV_OSINFO

WIINV_PRINTER

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesPRODUCTNAME nvarchar 128 VARCHAR2 128 YesVERSION nvarchar 128 VARCHAR2 128 NoBUILDNUMBER nvarchar 50 VARCHAR2 50 NoSERVICEPACK nvarchar 50 VARCHAR2 50 NoPLUSVER nvarchar 50 VARCHAR2 50 NoWINPLATFORM nvarchar 50 VARCHAR2 50 NoINVDATETIME datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesDEVICEID nvarchar 256 VARCHAR2 256 YesNAME nvarchar 256 VARCHAR2 256 NoISDEFAULT smallint 2 5 NUMBER 22 38 NoDRIVERNAME nvarchar 128 VARCHAR2 128 NoPORTNAME nvarchar 128 VARCHAR2 128 NoPRINTERSTATUS smallint 2 5 NUMBER 22 38 NoPRINTPROCESSOR nvarchar 128 VARCHAR2 128 NoSERVERNAME nvarchar 128 VARCHAR2 128 NoSHARENAME nvarchar 128 VARCHAR2 128 NoNETWORK smallint 2 5 NUMBER 22 38 NoPRIORITY int 4 10 NUMBER 22 38 NoAVAILABILITY smallint 2 5 NUMBER 22 38 NoLOCATION nvarchar 128 VARCHAR2 128 NoDESCRIPTION nvarchar 128 VARCHAR2 128 No

Page 95: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SInventory Tables

April, 2006 Reference Guide 83

WIINV_RAMSLOT

WIINV_REGISTEREDMSI

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesTAG nvarchar 128 VARCHAR2 128 YesCAPACITY bigint 8 19 NUMBER 22 38 NoDEVICELOCATOR nvarchar 128 VARCHAR2 128 NoMEMORYTYPE int 4 10 NUMBER 22 38 NoTYPEDETAIL int 4 10 NUMBER 22 38 NoPOSITIONINROW int 4 10 NUMBER 22 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesPRODUCTGUID uniqueidentifier 16 CHAR 38 YesFEATUREID nvarchar 128 VARCHAR2 128 YesPRODUCTNAME nvarchar 128 VARCHAR2 128 NoPRODUCTVER nvarchar 50 VARCHAR2 50 NoPRODUCTSTATE smallint 2 5 NUMBER 22 38 NoINSTALLDATE nvarchar 50 VARCHAR2 50 NoPKGPATHNAME nvarchar 255 VARCHAR2 255 NoFEATURESTATE smallint 2 5 NUMBER 22 38 NoFEATUREACCESSES int 4 10 NUMBER 22 38 NoFEATURELASTUSE datetime 8 DATE 7 NoFEATURENAME nvarchar 128 VARCHAR2 128 No

Page 96: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SMigration Tables

84 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIINV_REGISTEREDNAI

WI INV_WINUPDATE

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M I G R A T I O N T A B L E S

WIMIG_JOBS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesNAIFILE nvarchar 255 VARCHAR2 255 YesPKGNAME nvarchar 128 VARCHAR2 128 YesLSTFILE nvarchar 255 VARCHAR2 255 NoINSTALLTIME nvarchar 50 VARCHAR2 50 NoPACKAGEID uniqueidentifier 16 CHAR 38 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MACHINEID uniqueidentifier 16 CHAR 38 YesUPDATEID nvarchar 64 VARCHAR2 64 YesPRODUCTNAME nvarchar 128 VARCHAR2 128 YesDESCRIPTION nvarchar 128 VARCHAR2 128 NoISINSTALLED smallint 2 5 NUMBER 22 38 NoINSTALLEDBY nvarchar 128 VARCHAR2 128 NoINSTALLEDDATE datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBID uniqueidentifier 16 CHAR 38 YesTASKID uniqueidentifier 16 CHAR 38 Yes

Page 97: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SMigration Tables

April, 2006 Reference Guide 85

WIMIG_SKIPPEDCONTENTNODES

WIMIG_TASKS

SOURCEMACHINEID uniqueidentifier 16 CHAR 38 NoSOURCESERVERID uniqueidentifier 16 CHAR 38 NoDESTINATIONMACHI-NEID

uniqueidentifier 16 CHAR 38 No

PERSONALITYPATH nvarchar 260 VARCHAR2 260 NoRESULT bigint 8 19 NUMBER 22 10 NoMESSAGE nvarchar 500 VARCHAR2 500 NoSTARTDATE datetime 8 DATE 7 YesENDDATE datetime 8 DATE 7 NoSHAREPATH nvarchar 260 VARCHAR2 260 NoELIGIBLEUSERCOUNT int 4 10 NUMBER 22 6 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TASKID uniqueidentifier 16 CHAR 38 YesCONTENTNODEID nvarchar 50 VARCHAR2 50 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TASKID uniqueidentifier 16 CHAR 38 YesTYPE int 4 10 NUMBER 22 10 YesNAME nvarchar 100 VARCHAR2 100 YesDESCRIPTION nvarchar 255 VARCHAR2 255 NoTEMPLATEPATH nvarchar 260 VARCHAR2 260 NoOVERWRITEMODE int 4 10 NUMBER 22 10 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 98: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SMigration Tables

86 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIMIG_USERS

NEWACCOUNTS-GETADMINRIGHTS

bit 1 1 CHAR 1 Yes

AUTODELETE bit 1 1 CHAR 1 YesSCHEDULEDJOBID uniqueidentifier 16 CHAR 38 NoSOURCEJOBID uniqueidentifier 16 CHAR 38 NoRESETOPTION int 4 10 NUMBER 22 9 YesCREATEINJECTION-LOG

bit 1 1 CHAR 1 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

USERID uniqueidentifier 16 CHAR 38 YesTASKID uniqueidentifier 16 CHAR 38 YesSOURCEUSER nvarchar 100 VARCHAR2 100 NoSOURCEDOMAIN nvarchar 100 VARCHAR2 100 NoDESTINATIONUSER nvarchar 100 VARCHAR2 100 NoDESTINATIONDO-MAIN

nvarchar 100 VARCHAR2 100 No

SOURCETYPE int 4 10 NUMBER 22 6 NoDESTINATIONTYPE int 4 10 NUMBER 22 6 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 99: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SPXE Client Reset Tables

April, 2006 Reference Guide 87

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P X E C L I E N T R E S E T T A B L E S

WIPXECR_CLIENTS

WIPXECR_CLIENTLICENSES

WIPXECR_DRIVERS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CLIENTID uniqueidentifier 16 CHAR 38 YesTEMPLATEID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 NoUUID uniqueidentifier 16 CHAR 38 NoMAC binary 6 RAW 6 NoRESETCMD tinyint 1 3 NUMBER 22 3 NoRESETSTATUS tinyint 1 3 NUMBER 22 3 NoRESETLOG image 16 LONG RAW NoTIMESTAMP datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

CLIENTLICENSEID uniqueidentifier 16 CHAR 38 YesCLIENTID uniqueidentifier 16 CHAR 38 YesLICENSEKEYID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

DRIVERID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 64 VARCHAR2 64 Yes

Page 100: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SPXE Client Reset Tables

88 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIPXECR_LICENSEKEYS

WIPXECR_OPERATINGSYSTEMS

TYPE tinyint 1 3 NUMBER 3 YesNUMBER smallint 2 5 NUMBER 5 YesFILENAME nvarchar 64 VARCHAR2 12 YesOSES varbinary 11 RAW 11 YesLANGUAGES varbinary 30 RAW 30 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

LICENSEKEYID uniqueidentifier 16 CHAR 38 YesOS tinyint 1 3 NUMBER 3 YesLANGUAGE smallint 2 5 NUMBER 5 YesLICENSE nvarchar 29 VARCHAR2 29 YesMAXCOUNT smallint 2 5 NUMBER 5 NoCURRENTCOUNT smallint 2 5 NUMBER 5 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

OPERATINGSYSTEMID uniqueidentifier 16 CHAR 38 YesOS tinyint 1 3 NUMBER 3 YesLANGUAGE smallint 2 5 NUMBER 5 NoSP tinyint 1 3 NUMBER 3 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 101: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SPXE Client Reset Tables

April, 2006 Reference Guide 89

WIPXECR_SERVERS

WIPXECR_TEMPLATES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

SERVERID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesACCOUNT nvarchar 93 VARCHAR2 93 YesPASSWORD varbinary 254 RAW 254 NoDEFAULTTEMPLATEID uniqueidentifier 16 CHAR 38 NoAUTOREGISTER bit 29 CHAR 1 NoACTIVE bit 2 5 CHAR 1 YesNBPSCHEDWAIT smallint 2 5 NUMBER 5 NoNBPUNSCHEDWAIT smallint 2 5 NUMBER 5 NoNBPCONTINUEWAIT smallint 2 5 NUMBER 5 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 64 VARCHAR2 64 YesLOGLEVEL tinyint 1 3 NUMBER 3 NoOS tinyint 1 3 NUMBER 3 YesLANGUAGE smallint 2 5 NUMBER 5 YesFULLUSERNAME nvarchar 64 VARCHAR2 64 NoORGANIZATION nvarchar 64 VARCHAR2 64 YesREPARTITION bit 2 5 CHAR 1 YesVOLUMELABEL nvarchar 32 VARCHAR2 32 NoOSTARGETDIR nvarchar 16 VARCHAR2 16 NoDNSDOMAIN nvarchar 64 VARCHAR2 64 NoDNS nvarchar 80 VARCHAR2 80 NoWINS varbinary 80 RAW 80 NoJOINTYPE tinyint 1 3 NUMBER 3 No

Page 102: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SPXE Client Reset Tables

90 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIPXECR_TEMPLATEACCOUNTS

JOINNAME nvarchar 64 VARCHAR2 64 NoJOINACCOUNT nvarchar 93 VARCHAR2 93 NoJOINPASSWORD varbinary 254 RAW 254 NoORGUNIT nvarchar 256 VARCHAR2 256 NoNWCLIENT bit 2 5 CHAR 1 NoNWPREFERREDSERVER nvarchar 64 VARCHAR2 64 NoNWPROCESSLOGIN-SCRIPT

bit 2 5 CHAR 1 No

SERVERAUTOMODE tinyint 1 3 NUMBER 3 NoSERVERAUTOUSERS smallint 2 5 NUMBER 5 NoIIS bit 2 5 CHAR 1 NoTERMSERV bit 2 5 CHAR 1 NoVRESOLUTION tinyint 1 3 NUMBER 3 NoVCOLOR tinyint 1 3 NUMBER 3 NoVREFRESH tinyint 1 3 NUMBER 3 NoFIREWALL bit 2 5 CHAR 1 NoLOCALADMINPASS-WORD

varbinary 254 RAW 254 No

DEPLOYAGENT bit 2 5 CHAR 1 NoAGENTROLE tinyint 1 3 NUMBER 3 NoAGENTACCOUNT nvarchar 93 VARCHAR2 93 NoAGENTPASSWORD varbinary 254 RAW 254 NoRESTOREAPPS bit 2 5 CHAR 1 NoTIMESTAMP datetime 8 DATE 7 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEACCOUNTID uniqueidentifier 16 CHAR 38 YesTEMPLATEID uniqueidentifier 16 CHAR 38 YesACCOUNT nvarchar 93 VARCHAR2 93 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 103: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SPXE Client Reset Tables

April, 2006 Reference Guide 91

WIPXECR_TEMPLATEFIREWALLEXCLS

WIPXECR_TEMPLATEPACKAGES

LOCALGROUP nvarchar 93 VARCHAR2 93 YesPASSWORD varbinary 254 RAW 254 NoLOCALTYPE bit 1 1 CHAR 1 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEFIRE-WALLEXCLID

uniqueidentifier 16 CHAR 38 Yes

TEMPLATEID uniqueidentifier 16 CHAR 38 YesTYPE tinyint 1 3 NUMBER 3 NoEXCLUSION varbinary 512 RAW 512 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEPACKAGEID uniqueidentifier 16 CHAR 38 YesTEMPLATEID uniqueidentifier 16 CHAR 38 YesRELPATH nvarchar 256 VARCHAR2 256 YesSEQUENCE smallint 2 5 NUMBER 5 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 104: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SPXE Client Reset Tables

92 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIPXECR_TEMPLATEUTIL ITIES

WIPXECR_UTIL IT IES

WIPXECR_UTILITYSUPPORTFILES

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEUTILITYID uniqueidentifier 16 CHAR 38 YesTEMPLATEID uniqueidentifier 16 CHAR 38 YesUTILITYID uniqueidentifier 16 CHAR 38 YesSEQUENCE smallint 2 5 NUMBER 5 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

UTILITYID uniqueidentifier 16 CHAR 38 YesDESCRIPTION nvarchar 64 VARCHAR2 64 YesNUMBER smallint 2 5 NUMBER 5 YesFILENAME nvarchar 256 VARCHAR2 256 YesPARAMETERS nvarchar 256 VARCHAR2 256 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

UTILITYSUPPORT-FILEID

uniqueidentifier 16 CHAR 38 Yes

UTILITYID uniqueidentifier 16 CHAR 38 YesFILENAME nvarchar 256 VARCHAR2 256 Yes

Page 105: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SReplication Tables

April, 2006 Reference Guide 93

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R E P L I C A T I O N T A B L E S

WIREP_JOBS

WIREP_JOBSTATUS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

REPJOBID uniqueidentifier 16 CHAR 38 YesJOBID uniqueidentifier 16 CHAR 38 YesSOURCETYPE tinyint 1 3 NUMBER 22 3 YesCREATED datetime 8 DATE 7 YesTRANSPORT tinyint 1 3 NUMBER 22 3 YesOVERWRITE tinyint 1 3 NUMBER 22 3 YesTHROTTLE int 4 10 NUMBER 22 10 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBSTATUSID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesSTARTTIME datetime 8 DATE 7 YesSTATUSTIME datetime 8 DATE 7 YesSTATUS tinyint 1 3 NUMBER 22 3 YesPROGRESS tinyint 1 3 NUMBER 22 3 YesSOURCETYPE tinyint 1 3 NUMBER 22 3 YesTRANSPORT tinyint 1 3 NUMBER 22 3 YesOVERWRITE tinyint 1 3 NUMBER 22 3 YesDETAIL image 16 LONG RAW NoTHROTTLE int 4 10 NUMBER 22 10 Yes

Page 106: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SReplication Tables

94 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIREP_JOBSTATUSLOGS

WIREP_MIGRATIONSOURCES

WIREP_MIGRATIONTARGETS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

JOBSTATUSLOGID uniqueidentifier 16 CHAR 38 YesJOBSTATUSID uniqueidentifier 16 CHAR 38 YesLOGTYPE tinyint 1 3 NUMBER 22 3 YesSOURCETYPE tinyint 1 3 NUMBER 22 3 YesTIME datetime 8 DATE 7 YesSERVER nvarchar 255 VARCHAR2 255 YesCARGO nvarchar 256 VARCHAR2 256 YesPATH nvarchar 260 VARCHAR2 260 YesRESULT nvarchar 32 VARCHAR2 32 YesDETAIL image 16 LONG RAW No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MIGRATIONSOUR-CEID

uniqueidentifier 16 CHAR 38 Yes

REPJOBID uniqueidentifier 16 CHAR 38 YesMIGJOBID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

MIGRATIONTAR-GETID

uniqueidentifier 16 CHAR 38 Yes

Page 107: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SReplication Tables

April, 2006 Reference Guide 95

WIREP_PACKAGESOURCES

WIREP_PACKAGETARGETS

WIREP_PATCHSOURCES

REPJOBID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PACKAGESOURCEID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesPATH nvarchar 260 VARCHAR2 260 YesPRESERVEFOLDERS bit 1 1 CHAR 1 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PACKAGETARGETID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 YesPATH nvarchar 260 VARCHAR2 260 No

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PATCHSOURCEID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 108: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SReplication Tables

96 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

WIREP_PATCHTARGETS

WIREP_PXECRSOURCES

WIREP_PXECRTARGETS

REPJOBID uniqueidentifier 16 CHAR 38 YesPATH nvarchar 260 VARCHAR2 260 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PATCHTARGETID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PXECRSOURCEID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

PXECRTARGETID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesMACHINEID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

Page 109: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L D A T A B A S E TA B L E SReplication Tables

April, 2006 Reference Guide 97

WIREP_TEMPLATESOURCES

WIREP_TEMPLATESREPLICATED

WIREP_TEMPLATETARGETS

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATESOURCEID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesTEMPLATEID uniqueidentifier 16 CHAR 38 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATEREPLI-CATEDID

uniqueidentifier 16 CHAR 38 Yes

TEMPLATEID uniqueidentifier 16 CHAR 38 YesSHAREID uniqueidentifier 16 CHAR 38 YesSTATUS tinyint 1 3 NUMBER 22 3 YesSTATUSTIME datetime 8 DATE 7 Yes

Column NameSQL Server Oracle

Req’d?Type Length Precision Type Length Precision

TEMPLATETARGETID uniqueidentifier 16 CHAR 38 YesREPJOBID uniqueidentifier 16 CHAR 38 YesSHAREID uniqueidentifier 16 CHAR 38 NoMACHINEID uniqueidentifier 16 CHAR 38 No

Page 110: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L D A T A B A S E TA B L E SReplication Tables

98 WinINSTALL Desktop Management Suite and Desktop Availability Suite

6

Page 111: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 99

. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Section 3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . APPLICATIONSCHAPTER 7: WININSTALL VARIABLES

CHAPTER 8: CONFLICT ASSESSMENT CATEGORIES

CHAPTER 9: MSI CUSTOM ACTIONS

Page 112: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

100 WinINSTALL Desktop Management Suite and Desktop Availability Suite

Page 113: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 101

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .WININSTALL VARIABLES 7

variable is a value that can change. WinINSTALL includes two broad categories of variables: system-defined variables and user-defined variables. Using variables, you can customize packages for a particular environment or make them generic

enough to run on almost any platform.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S Y S T E M - D E F I N E D V A R I A B L E SThe following variables are defined by WinINSTALL and cannot be modified. WinINSTALL discovers them through API calls. Each system-defined variable has up to four instances - file name, short file name, file name in a registry file, and short file name in a registry file. Each instance can be selected or deselected when doing a scan for variables.

SYSTEM-DEFINED VARIABLES FOR WININSTALL (NAI ) PACKAGES:

Variable Typical Value Description

@AdminTools C:\Documents and Settings\<user>\Start Menu\ Programs\Administrative Tools

@AppData C:\Documents and Settings\<user>\Application Data

Location of the user’s application data (per-user, roaming).

@CommonAppData C:\Documents and Settings\All Users\Application Data

Location of the common application data (per machine, non-user specific & non- roaming).

@CommonDesktop C:\Documents and Settings\All Users\Desktop Location of the common desktop icons (per machine, non-user specific & non- roaming).

@CommonPrograms C:\Documents and Settings\All Users\Start Menu\Programs

Location of the common programs (per machine, non-user specific & non- roaming).

@CommonStartmenu C:\Documents and Settings\All Users\Start Menu

Location of the common items on the Start menu (per machine, non-user specific & non- roaming).

@CommonStartup C:\Documents and Settings\All Users\Start Menu\ Programs\Startup

@Desktop C:\Documents and Settings\<user>\Desktop

@Favorites C:\Documents and Settings\<user>\Favorites

@Fonts C:\Windows\Fonts

A

Page 114: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L VA R I A B L E SSystem-defined Variables

102 WinINSTALL Desktop Management Suite and Desktop Availability Suite

7

@LocalAppData C:\Documents and Settings\<user>\Local Settings\Application Data

Location of the user’s local application data (per user, non-roaming).

@MyPictures C:\Documents and Settings\<user>\My Documents\My Pictures

@NetHood C:\Documents and Settings\<user>\NetHood

@PackageDir \\<WinINSTALL share>\Packages Location of the directory that holds the WinINSTALL and Windows Installer packages managed by WinINSTALL.

@PatchDir \\<WinINSTALL share>\Patches Location of the directory that holds the Microsoft patches managed by WinINSTALL.

@Personal C:\Documents and Settings\<user>\My Documents

@PrintHood C:\Documents and Settings\<user>\PrintHood

@ProgFiles C:\Program Files

@Programs C:\Documents and Settings\<user>\Start Menu\ Programs

@Recent C:\Documents and Settings\<user>\Recent

@SendTo. C:\Documents and Settings\<user>\SendTo

@Shared C:\Program Files\Common Files

@ShellNew C:\Documents and Settings\<user>\Templates

@SourceDir \\<WinINSTALL share>\Bin Relative path that specifies the location of the source directory – the path is relative to the file in which the variable is located (i.e., the list file or package file).

@StartMenu C:\Documents and Settings\<user>\Start Menu

@Startup C:\Documents and Settings\<user>\Start Menu\ Programs\Startup

@System C:\Windows\System32

@Sys16 C:\Windows\System

@Temp C:\Documents and Settings\<user>\Local Settings\Temp

@Windows C:\Windows

@Winstalldir \\<WinINSTALL share>\Bin Location of the directory from which the WinINSTALL executables are currently being run.

Page 115: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L VA R I A B L E SUser-defined Variables

April, 2006 Reference Guide 103

SYSTEM-DEFINED VARIABLES FOR WINDOWS INSTALLER (MSI ) PACKAGES:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . U S E R - D E F I N E D V A R I A B L E SUser-defined variables are of five types: Constant Values, Environment Variables, Global Prompts, Application Prompts, and URL Variables. The first three types can be set either at the package level or at the list level. Variables set at the list level are shared by all of the packages in the list unless they are specifically overridden--or the package is installed without reference to the list. Application and URL variables can be set only at the package level.

CONSTANT VALUESThis type of variable can be used for replacing a pre-set value for the variable name. Constants work rather like global search and replace. They let you tell the installers, “Wherever you see this constant in a package, replace it with the specified value.”

ENVIRONMENT VARIABLES These are useful in situations where the user-specific information required for the installation of a package is located in the client machine's environment.

GLOBAL PROMPTS Global Prompts are used to prompt users for a response. When the user responds to a prompt, the installer uses the provided information when the package references the variable.

@WinVol C:

$NetAddr$ The hardware MAC address of the network card on the workstation that the distribution package will be run on.

$UserName$ The Microsoft network user name of the currently logged-in user.

$WksName$ The NETBIOS machine name of the workstation that the distribution package will be run on.

WI_Username • The login name of the user running the Console when the package was created.

WI_Wksname • The name of the computer on which the package was created.

Page 116: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L VA R I A B L E SUser-defined Variables

104 WinINSTALL Desktop Management Suite and Desktop Availability Suite

7

APPLICATION PROMPTS Like Global Prompts, Application Prompts are a means of asking users for a response, which is then substituted wherever the variable name is found. But unlike Global Prompts, Application Prompts are WinINSTALL-package-specific. When the user responds to a prompt, the installer uses the provided information when the package references the variable.

URL VARIABLES This type of variable works rather like global search and replace. They let you instruct the installers, “Wherever you see the code @URL in a package, replace it with the specified web address.”

Page 117: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 105

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .CONFLICT ASSESSMENT CATEGORIES 8

he Conflict Assessment feature of WinINSTALL provides information on conflicts between and among packages and baselines. This chapter lists the categories of conflict, subcategories of conflict, and conflict messages presented by the Conflict

Assessment feature.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M A I N C O N F L I C T C A T E G O R I E S

F I L E C O N F L I C T S U B C A T E G O R I E S A N D

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M E S S A G E S

2 • File conflict

3 • Registry conflict

4 • Shortcut conflict

5 • INI file conflict

1 • Both packages add a file and their attributes are different

2 • Both packages remove the same file

3 • First package adds file and second removes it

4 • Second package adds file and first removes it

5 • Both packages add a file and some attributes are unknown

6 • Both packages add a file and the attributes match

7 • The file names are the same but their path is not necessarily the same

8 • Both add the same directory

9 • Both remove the same directory

10 • First package adds directory and second removes it

11 • Second package adds and first package removes directory

T

Page 118: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

C O N F L I C T A S S E S S M E N T C A T E G O R I E SRegistry conflict subcategories and messages

106 WinINSTALL Desktop Management Suite and Desktop Availability Suite

8

R E G I S T R Y C O N F L I C T S U B C A T E G O R I E S A N D

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M E S S A G E S

S H O R T C U T C O N F L I C T S U B C A T E G O R I E S A N D

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M E S S A G E S

I N I F I L E C O N F L I C T S U B C A T E G O R I E S A N D

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M E S S A G E S

1 • Both packages add the same registry key

2 • Both packages remove the same registry key

3 • First package adds a registry key and second removes it

4 • Second package adds a registry key and first removes it

5 • Packages set the same registry value to different values

6 • Both packages remove the same registry value

7 • First package adds and second package removes value

8 • Second package adds and first removes value

9 • Both packages set the same registry value to the same value

1 • Both packages write a shortcut in the same place, but the details of the shortcut differ

2 • Both packages remove the same shortcut

3 • First package adds a shortcut and second removes it

4 • Second package adds a shortcut and first removes it

5 • Both packages add a shortcut and both shortcuts have the same attributes

1 • Both packages add the same ini section

2 • Both packages remove the same ini section

Page 119: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .C O N F L I C T A S S E S S M E N T C A T E G O R I E SINI File conflict subcategories and messages

April, 2006 Reference Guide 107

3 • First package adds and second package removes the same ini section

4 • Second package adds and first package removes the same ini section

5 • Both packages add the same ini value, with different values

6 • Both packages remove the same ini value

7 • First package adds and second package removes the ini value

8 • Second package adds and first package removes the ini value

9 • Both package add the same ini value with the same value

Page 120: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

C O N F L I C T A S S E S S M E N T C A T E G O R I E SINI File conflict subcategories and messages

108 WinINSTALL Desktop Management Suite and Desktop Availability Suite

8

Page 121: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 109

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .MSI CUSTOM ACTIONS 9

his chapter uses the simple launching of an external program as an example of a Windows Installer custom action. Such actions can be configured to executed as part of a package installation or uninstallation, and at any point during the install or

uninstall process.

This chapter details how to call an external program at the start or completion of the installation or uninstallation of a package. These four examples are intended to serve as a first step in understanding how to create and configure custom actions for Windows Installer packages.

Configuring any of these simple behaviors is straightforward, and involves two separate actions. First you must set up the custom action itself. Once the custom action has been created, you must then add it to the sequence table, which includes specifying at what point in the process and under what conditions it will be executed. WinINSTALL makes these actions very simple and easy to perform.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D E F I N I N G T H E C U S T O M A C T I O N :You can define an external program as a custom action within an MSI package by running the WinINSTALL Custom Action Wizard:

1 Select the desired Windows Installer package in the tree pane, select General in the list pane, select the Advanced tab in the data pane and select the Custom Actions sub-tab.

2 Click the Add icon to launch the Custom Action Wizard.

3 On the Source Type panel, provide a name for the custom action (alphanumeric characters only--no spaces or special characters), select EXE as the type, and click Next.

4 On the Source Storage panel, select the Directory radio button, and click Next.

5 When the Directory panel appears, leave the Enter directory where the custom action may be found field blank, and click Next.

TIP: For additional details on custom actions and their configuration, please see the Windows Installer help file, MSI.CHM, available from Microsoft.

T

Page 122: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

M S I C U S T O M A C T I O N SDefining the Custom Action:

110 WinINSTALL Desktop Management Suite and Desktop Availability Suite

9

6 On the Target panel, enter the UNC path and filename of the target executable, along with any command line parameters. Note that properties can be included here (e.g. [SourceDir]winstala.exe).

Be sure to include quotation marks around the executable path if you are using long path names.

Click Next.

7 On the Final Details panel, select Inscript/Commit for the Execution of custom action and Continue as the Return Type.

8 The Completing panel reminds you that you will need to add the custom action to the sequence table in the appropriate place (see the additional steps below). Click Finish to complete the wizard, and then click the Save icon (diskette) on the tool bar to save the package.

9 To complete the preparation of your custom action, you will need to specify where in the install sequence the custom action should be executed, as well as the appropriate sequence condition. These specifications differ, depending on your intent, and are detailed below for pre-install, post-install, pre-uninstall, and post-uninstall situations.

SPECIFYING THE CUSTOM ACTION SEQUENCE:To instruct the Windows Installer to execute your custom action at the appropriate time and under the appropriate conditions, you will need to follow one of the procedures outlined below, depending on your intentions.

P R E - P R O C E S S I N G D U R I N G I N S T A L L :To enter your custom action to execute at the start of the package installation, you must add it to the sequence table immediately following the InstallInitialize action by following these steps:

1 Select the Advanced tab, the Sequence sub tab, the Install sub tab, and the Execute sub tab, then sort the events by sequence.

2 Choose a sequence number between the InstallInitialize event and the event immediately following it.

3 Click the Add icon to add your custom action into the sequence.

NOTE: If you specify the SourceDir property, you must also add the ResolveSource action to the sequence table prior to the custom action.

Page 123: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .M S I C U S T O M A C T I O N SDefining the Custom Action:

April, 2006 Reference Guide 111

4 On the Sequence Entry dialog, enter the sequence number you have chosen, type in NOT Installed as the sequence condition, and click the Ellipsis button beside the Action field to browse for and select your custom action.

5 Click OK to add the custom action to the sequence and again save the package.

P O S T - P R O C E S S I N G D U R I N G I N S T A L L :To enter your custom action to execute at the end of the package installation, you must add it to the sequence table immediately before the InstallFinalize action by following these steps:

1 Select the Advanced tab, the Sequence sub tab, the Install sub tab, and the Execute sub tab, then sort the events by sequence.

2 Choose a sequence number between the InstallFinalize event and the event immediately preceding it.

3 Click the Add icon to add your custom action into the sequence.

4 On the Sequence Entry dialog, enter the sequence number you have chosen, type in NOT Installed as the sequence condition, and click the Ellipsis button beside the Action field to browse for and select your custom action.

5 Click OK to add the custom action to the sequence and again save the package.

P R E - P R O C E S S I N G D U R I N G U N I N S T A L L :To enter your custom action to execute at the start of the package uninstallation, you must add it to the sequence table immediately following the InstallInitialize action by following these steps:

1 Select the Advanced tab, the Sequence sub tab, the Install sub tab, and the Execute sub tab, then sort the events by sequence.

2 Choose a sequence number between the InstallInitialize event and the event immediately following it.

3 Click the Add icon to add your custom action into the sequence.

4 On the Sequence Entry dialog, enter the sequence number you have chosen, type in Installed as the sequence condition, and click the Ellipsis button beside the Action field to browse for and select your custom action.

5 Click OK to add the custom action to the sequence and again save the package.

Page 124: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

M S I C U S T O M A C T I O N SDefining the Custom Action:

112 WinINSTALL Desktop Management Suite and Desktop Availability Suite

9

P O S T - P R O C E S S I N G D U R I N G U N I N S T A L L :To enter your custom action to execute at the end of the package uninstallation, you must add it to the sequence table immediately before the InstallFinalize action by following these steps:

1 Select the Advanced tab, the Sequence sub tab, the Install sub tab, and the Execute sub tab, then sort the events by sequence.

2 Choose a sequence number between the InstallFinalize event and the event immediately preceding it.

3 Click the Add icon to add your custom action into the sequence.

4 On the Sequence Entry dialog, enter the sequence number you have chosen, type in Installed as the sequence condition, and click the Ellipsis button beside the Action field to browse for and select your custom action.

5 Click OK to add the custom action to the sequence and again save the package.

Page 125: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 113

. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Section 4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MISCELLANEOUSCHAPTER 10: WININSTALL LOGGING

CHAPTER 11: SPECIAL WININSTALL UTILITIES

CHAPTER 12: WININSTALL SCRIPTING EXTENSIONS

Page 126: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

114 WinINSTALL Desktop Management Suite and Desktop Availability Suite

Page 127: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 115

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .WININSTALL LOGGING 10

inINSTALL logging is carried out in three places - the Console, the WinINSTALL Agent, and the installers. Console logging can have either or both of two targets: the WinINSTALL database and/or the Windows Event Log. The

WinINSTALL Agent can log to the database, the event log, and/or to a file, and the WinINSTALL installers can log to any or all of those targets, plus e-mail and/or SNMP traps.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C O N S O L E L O G G I N G Console logging provides an audit trail of console user activity.

The only Console Logging setting (View/Console Options) is whether to log to the WinINSTALL database, the Windows Event Log, both, or neither.

When you click the Console Log node in the tree pane, you can view Console logging on either the Database Log or Windows Event Log tab in the data pane.

WININSTALL DATABASE LOGWhen the Console Log node is highlighted in the tree pane, a list of all Console user activity that has been logged to the WinINSTALL database displays on the Database Log tab in the data pane.

You have the option of purging this log on demand.

The following information displays for each entry:

Type • Because Console logging simply provides an audit trail of console user activity, all of the entries displayed on this tab are Informational.

Date • The date on which the console user activity was logged to the WinINSTALL database.

Time • The time at which the console user activity was logged to the WinINSTALL database.

Category • For WinINSTALL database logging, only entries in the Console category display.

Description • A brief explanation of the console user activity that was logged to the WinINSTALL database.

W

Page 128: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L L O G G I N GConsole logging

116 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 0

Click the Purge button to erase all of the existing entries that have been logged to the WinINSTALL database.

WINDOWS EVENT LOGWhen the Console Log node is highlighted in the tree pane, a list of all Console user activity that has been logged to the Windows Event Log on the Console machine displays on the Windows Event Log tab in the data pane.

You have the option of refreshing this view on demand.

The following information displays for each entry:

Event Code • Each Console activity has a numeric event code that corresponds to a particular activity. Refer to Console Log Event Codes and Descriptions for the meaning of each numeric code.

User • The name of the console user who was logged in when the activity was logged to the WinINSTALL database.

TIP: You configure WinINSTALL to log Console activity to the WinINSTALL database on the Console Options dialog, accessible from the View/Console Options menu item.

Type • Because Console logging simply provides an audit trail of console user activity, all of the entries displayed on this tab are Informational.

Date • the date on which the console user activity was logged to the Windows Event Log.

Time • This is the time at which the console user activity was logged to the Windows Event Log.

Category • For Windows Event Logging, only Application entries with the source of WinINSTALL for the console machine will display.

Description • This is a brief explanation of the console user activity that was logged to the Windows Event Log.

Event Code • Each Console activity has a numeric event code that corresponds to a particular activity. Refer to Console Log Event Codes and Descriptions for the meaning of each numeric code.

User • This is the name of the console user who was logged in when the activity was logged to the Windows Event Log.

Page 129: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L L O G G I N GConsole logging

April, 2006 Reference Guide 117

Click the Refresh button to refresh this view on demand.

CONSOLE LOG EVENT CODES AND DESCRIPTIONSThe Event column contains a numeric value which reflects the activity that was logged.

TIP: You configure WinINSTALL to log Console activity to the Windows Event Log on the Console Options dialog, accessible from the View/Console Options menu item.

1 • the *** top-level list has been added.

2 • the *** top-level list has been removed.

3 • the *** list has been added to the +++ list.

4 • the *** list has been modified.

5 • the *** list has been removed from the +++ list.

6 • the *** package has been added to the +++ list.

7 • the *** package has been modified.

8 • the *** package has been removed from the +++ list.

9 • the *** machine has been added.

10 • the *** machine has been modified.

11 • the *** machine has been removed.

12 • the WinINSTALL Agent has been deployed to the *** machine.

13 • the *** scheduled task has been added.

14 • the *** scheduled task has been modified.

15 • the *** scheduled task has been removed.

16 • the *** search has been added.

17 • the *** search has been modified.

18 • the *** search has been removed.

19 • the *** task has been run on the +++ machine.

20 • An error has occurred ***.

21 • the *** machine has been configured.

Page 130: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L L O G G I N GConsole logging

118 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 0

22 • the following Client Reset Template was added: ***.

23 • the following Client Reset Template was removed: ***.

24 • the following Client Reset Template was edited: ***.

25 • the following Client Reset Share was added: ***.

26 • the following Client Reset Share was removed: ***.

27 • the following Client Reset Share was edited: ***.

28 • A boot floppy was created for the following Client Reset Template: ***.

29 • A user security access violation occurred in Client reset Console.

30 • A database access failure occurred in Client Reset: ***.

31 • A language file is missing in Client Reset: ***.

32 • Failed to create a boot floppy for the following Client Reset Template: ***.

33 • the following Replication Job was added: ***.

34 • the following Replication Job was removed: ***.

35 • the following Replication Job was edited: ***.

36 • the following Client Reset Share Job was added: ***.

37 • the following Client Reset Share Job was removed: ***.

38 • the following Client Reset Share Job was edited: ***.

39 • the following Replication Job was run: ***.

40 • the following Replication Job was aborted: ***.

41 • the following Replication Job status history was cleared: ***.

42 • Failed to run the following Replication Job: ***.

43 • Failed to abort the following Replication Job: ***.

44 • Failed to clear status history for the following Replication Job: ***.

45 • A user security access violation occurred in Replication Console.

46 • A database access failure occurred in Replication: ***.

47 • Debug: ***.

Page 131: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L L O G G I N GWinINSTALL Agent logging

April, 2006 Reference Guide 119

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W I N I N S T A L L A G E N T L O G G I N G WinINSTALL Agent logging occurs on both servers and workstations and is used primarily for diagnostic purposes. The Agent makes entries directly into the machine’s event log and/or produces an event log transaction file, which then gets merged into the WinINSTALL database or written to a file.

If logging to a file is enabled, the WinINSTALL Agent will log to a text file on the local machine. The file is called WInn.tmp (where nn is an incremented number) and is stored in the Windows folder. Each time the WinINSTALL Agent service is stopped and started again, a new .tmp file is generated with an incremented number in the file name. You cannot copy or read the file while the WinINSTALL Agent is running on the local machine.

WinINSTALL Agent logging has three levels, each of which can be directed to a file, to the event log, and/or to the database.

NOTE: If logging to a file is enabled, the Agents will log events to a text file in the local Windows directory. The filename will be WInn.tmp, where nn is a numeric value between 00 and 99).

WARNING: When the WinINSTALL Agent logs to a text file, that log file is written in Unicode and therefore cannot be read on a machine with a Windows 9x operating system. However, you can copy it to a Windows NT, 2000, XP, or 2003 machine and read it there.

Standard • Errors, warnings, and successes will be logged.

Verbose • Errors, warnings, successes, and informational messages will be logged.

Diagnostic • Errors, warnings, successes, informational messages, and diagnostic messages will be logged.

Page 132: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L L O G G I N GInstaller logging

120 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 0

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I N S T A L L E R L O G G I N G Installer logging takes place when the WinINSTALL agent is performing software distribution and obeys the Notification settings for the specific list or package being installed.

Installer logging has six levels, each of which can be directed to any of the traditional logging targets (database, event log, file, e-mail, and SNMP trap).

WARNING: Diagnostic logging produces an enormous amount of data, which can be very useful for troubleshooting. But after the troubleshooting process is complete, it is important to set the logging level back to a lower level in order to avoid flooding the database or event log with this extra data.

None • No logging will occur.

Errors Only • Only errors will be logged.

Errors + Warnings

• Only errors and warnings will be logged.

Standard • Errors, warnings, and successes will be logged.

Verbose • Errors, warnings, successes, and informational messages will be logged.

Diagnostic • Errors, warnings, successes, informational messages, and diagnostic messages will be logged.

WARNING: Diagnostic logging produces an enormous amount of data, which can be very useful for troubleshooting. But after the troubleshooting process is complete, it is important to set the logging level back to a lower level in order to avoid flooding the log target with this extra data.

Page 133: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 121

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .SPECIAL WININSTALL UTILITIES 11

inINSTALL includes a number of special purpose utilities and sample packages. The executables are generally located in the bin directory of the WinINSTALL share.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N E T W O R K D E T E C T I O N ( N O N E T N O G O . E X E )This utility allows you to specify that a particular action should be executed only if the network is detected. If no network is detected, the specified action simply does not happen. This is very helpful for remote or laptop users who are not always connected to the network. If a specific activity is scheduled to occur during a time when the user is not connected to the network, this utility can make sure that nothing crashes/blows up as a result. For example, you can put NoNetNoGo.exe in a script that runs when the machine boots up.

C R E A T I N G A B A S E L I N E F O R C O N F L I C T

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A S S E S S M E N T ( W I B A S E L I N E G E N . E X E )This utility creates a “baseline” of a machine which can then be used for conflict assessment. A baseline defines the theoretical initial state of a machine before any packages are installed, such as the state of a machine with only a particular operating system and a service pack installed. You can include a baseline in a conflict assessment to determine if there will be potential conflicts when specific packages are installed on machines with that baseline. You run a conflict assessment baseline on a machine by remotely invoking WIBaselineGen.exe in the bin directory of a WinINSTALL share.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C L I E N T L A U N C H ( W I C L I E N T . E X E )This utility allows a user to install software on a workstation using the administrative privileges of the WinINSTALL service. Normally, a user does not have administrative privileges and thus cannot perform software installations. However, there may be instances in which an administrator wants a particular user to be able to install a particular package on a particular machine. On the Distribution tab of the WinINSTALL Agent Settings dialog, the administrator checks the Client Launch checkbox and then specifies the permissions for the appropriate user(s). The administrator must then give the user(s) a link to WIClient.exe or tell them where it can be accessed. WIClient.exe passes the entire command line to the

W

Page 134: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SScript to Add a Database User (dbAddUser.cmd)

122 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

installer via the distribution functionality of the WinINSTALL Agent. The only thing that is not passed is an optional -w, which tells WIClient to wait for the installation to complete. For example, using the following command would pass everything after -w to the installer:

WIClient –w test.lst

S C R I P T T O A D D A D A T A B A S E U S E R

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( D B A D D U S E R . C M D )This script enables an administrator to give permission to other users to use a Microsoft SQL Server 2000 or MSDE 2000 (Microsoft SQL Server 2000 Database Engine) database with NT Authentication. (NT Authentication is the WinINSTALL default for permissions on an MSDE 2000 or SQL Server 2000 database.)

This script must be run from a command prompt on a machine that has the OSQL.exe installed in the path. (OSQL.exe would normally be in the path on a machine where MSDE 2000 or SQL Server 2000 has been installed.) The script requires three parameters - the name of the database server/instance, the name of the database, and the name of the user to whom permission will be granted.

A sample command line is shown below:

dbAddUser.cmd MACHINE\ONDSQL WINSTALL8 MyDomain\MyUser

This script is intended to address situations where a Console user is unable to gain access to the database because of authentication problems.

P R O C E D U R E T O S E T T H E D Y N A M I C L I S T

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P U B L I S H I N G I N T E R V A LThe 8.70.0201 release adds a column DYNLSTINTCOUNT in the table WIAI_PUBSETTINGS. The value of this column determines the number of publishing intervals that will elapse between publishing processing of dynamic LST files. This processing can be quite time-consuming, so a larger count is desirable.

NOTE: Versions of WinINSTALL prior to 8.x performed the client launch functionality of WIClient.exe through the NTSVC32.exe and SSWNTSVC.exe utilities.

Page 135: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SProcedure to Set the Dynamic List Publishing Interval

April, 2006 Reference Guide 123

The default count is 15, meaning that, for example, if the publishing interval is two minutes, dynamic LST file processing will occur every 30 minutes.

The 8.70.0201 database includes three different stored procedures for setting this value in the database, in case you want to use a value other than 15.

PROCEDURE TO SET THE INTERVAL COUNT FOR A SPECIFIC SERVER

PROCEDURE TO SET THE INTERVAL COUNT FOR ALL SERVERS

Purpose • Sets the interval count for a specific server.

Syntax • Oracle: WI_SETDYNLSTINTCOUNT

• SQL Server: dbo.WI_SETDYNLSTINTCOUNT

Arguments • machine name, desired count.

Example • To change the count for server CENTRALSTATION to 30:

• Oracle: execute WI_SETDYNLSTINTCOUNT('CENTRALSTATION',30);

• SQL Server:dbo.WI_SETDYNLSTINTCOUNT 'CENTRALSTATION',30

Purpose: • Sets the interval count for all servers.

Syntax: • Oracle: WI_SETALLDYNLSTINTCOUNT

• SQL Server: dbo.WI_SETALLDYNLSTINTCOUNT

Argument: • desired count.

Example: • To change the count for all servers to 40:

• Oracle: execute WI_SETALLDYNLSTINTCOUNT(40);

• SQL Server: dbo.WI_SETALLDYNLSTINTCOUNT 40

Page 136: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSpecial Utility for Microsoft Patches (PatchCatalog.exe)

124 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

PROCEDURE TO SET THE GLOBAL DEFAULT INTERVAL COUNT (FOR NEW SERVERS)

S P E C I A L U T I L I T Y F O R M I C R O S O F T P A T C H E S

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( P A T C H C A T A L O G . E X E )The WinINSTALL 8.7 command line utility, PatchCatalog.exe, is designed to overcome limitations of the Microsoft-supplied mssecure.xml file. This utility parses the more comprehensive Microsoft-supplied patch file, wsusscan.cab, to produce a language-specific mssecure.xml file which the WinINSTALL console can read and process, in much the same way that it processes the regular mssecure.xml file. The PatchCatalog-generated XML file does have some differences from the original mssecure.xml file, though, so WinINSTALL will behave slightly differently when using this file—but WinINSTALL’s patch management features basically function in the same way with either file. Differences are itemized below.

The basic steps in using this utility are as follows:

1 Download the latest version of wsusscan.cab.

2 Run PatchCatalog.exe to extract the necessary data and build the special version of mssecure.xml.

3 Make the new mssecure.xml file available to the WinINSTALL console.

4 Perform patch management tasks as desired, using the WinINSTALL product in the usual fashion.

Full details on each of these steps are included below.

Purpose: • Sets the global default interval count. This value is used when new servers are established.

Syntax: • Oracle: WI_SETGLOBALDYNLSTINTCOUNT

• SQL Server: dbo.WI_SETGLOBALDYNLSTINTCOUNT

Example: • To change the global default count to 25:

• Oracle: execute WI_SETGLOBALDYNLSTINTCOUNT(25);

• SQL Server: dbo.WI_SETGLOBALDYNLSTINTCOUNT 25

Page 137: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SSpecial Utility for Microsoft Patches (PatchCatalog.exe)

April, 2006 Reference Guide 125

GENERATING MSSECURE FILESTo use the command line utility, PatchCatalog.exe, perform the following steps:

1 Install WinINSTALL and verify that the Console works properly.

2 Download the file wsusscan.cab from this URL: http://download.windowsupdate.com/microsoftupdate/v6/wsusscan/wsusscan.cab.

Be certain to place this file in a directory to which you have write permission. It is recommended that you create a new directory for this purpose, because this directory will be used to hold the many subdirectories and files extracted from wsusscan.cab and also to hold the generated mssecure.xml file.

3 Run the command line utility by specifying at least the path to the wsusscan.cab file plus a language code for the desired language (the full syntax is given below).

For example, if you downloaded wsusscan.cab to C:\WinINSTALL\wsusscan\wsusscan.cab and chose the Chinese language, you would enter the following at the command prompt:

PatchCatalog C:\WinINSTALL\wsusscan\wsusscan.cab zh-cn

This command will extract all files from wsusscan.cab necessary to generate the mssecure.xml file for the Chinese language.

By default, each file will be extracted only if wsusscan.cab is newer than the existing file of the same name in the target extract directory. The directory structure after the command line utility extracts files from wsusscan.cab for the Chinese language (language code “zh-cn”) will look like this:

wsussscan

core

extended

localized

zh-cn

NOTE: The process of extracting the necessary files and building the language-specific version of mssecure.xml can take a long time, depending on the processing and disk speed of the machine involved. A fast machine may be able to complete this operation in 10 minutes or less; a slower machine could take much longer.

Page 138: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSpecial Utility for Microsoft Patches (PatchCatalog.exe)

126 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

4 When the command line utility completes successfully, an mssecure XML file, with a name of the form, mssecure_<language code>.xml, will be contained in the directory holding the specified wsusscan.cab file, where <language code> is the language code specified on the command line. For example, if you specified the language code zh-cn, the resulting mssecure file will be named mssecure_zh-cn.xml.

5 To use this file with the Patch Management feature of the WinINSTALL Console, close the WinINSTALL Console application, copy the generated mssecure XML file to the bin directory of the WinINSTALL share, and rename the file mssecure.xml.

Restart the WinINSTALL Console application and use all the Patch Management features normally.

PATCHCATALOG COMMAND SYNTAXThe syntax of the PatchCatalog command line is as follows:

PatchCatalog [options] <wsusscan file path> <language code>

Where options are the following:

-o <overwrite type> = The overwrite behavior for files extracted from wsusscan.cab.

<overwrite type> is one of the following:

• newer (default) = extract file if wsusscan.cab is newer than existing extracted file of the same name.

• always = always extract files and overwrite existing files of the same name.

• never = don’t extract a file if it will overwrite an existing file of the same name.

-s = Suppress progress messages.

-h or ? = Display help for PatchCatalog command.

<wsusscan file path> = Absolute file path to the wsusscan.cab file (includes the file name, e.g., wsusscan.cab). For example, C:\WinINSTALL\wsusscan\wsusscan.cab

NOTE: PatchCatalog creates three subdirectories to hold extracted files for core, extended and localized update properties. Under the localized directory, PatchCatalog will create subdirectories for each language to contain the extracted localized update files.

Page 139: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SSpecial Utility for Microsoft Patches (PatchCatalog.exe)

April, 2006 Reference Guide 127

<language code> = Code for the language of the updates (patches) to be extracted from wsusscan.cab and used to create the mssecure XML file. For example, the French language has the code fr. (The full list of the supported language codes appears below).

SUPPORTED LANGUAGESUltimately, the supported languages depend upon the content of the wsusscan.cab file. However, the PatchCatalog command line utility will recognize the following languages according to the associated language codes shown below.

Language Language Code

Arabic • “ar”

Czech • “cs”

Danish • “da”

German • “de”

Greek • “el”

English • “en”

Spanish • “es”

Finnish • “fi”

French • “fr”

Hebrew • “he”

Hungarian • “hu”

Italian • “it”

Japanese • “ja”

Korean • “ko”

Dutch • “nl”

Norwegian • “no”

Polish • “pl”

Portuguese • “pt”

Portuguese (Brazil) • “pt-br”

Russian • “ru”

Swedish • “sv”

Turkish • “tr”

Page 140: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSpecial Utility for Microsoft Patches (PatchCatalog.exe)

128 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

PATCH MANAGEMENT BEHAVIORThe data contained in wssuscan.cab differs somewhat from that provided in mssecure.xml, with the result that Patch Management will operate a little differently with a generated mssecure XML file from the way it will operate with the original file.

The following differences should be expected:

1 The wsusscan.cab file contains update (patch) information for a limited number of products.

2 Certain updates (patches) in wsusscan.cab are not associated with any bulletin. Since Patch Management groups patches by bulletin, bulletin IDs had to be automatically generated for these updates. The KB article number is used when available, e.g., KB321884. If two such updates have the same KB article number then an incremental number is appended to make the ID unique, e.g., KB321884-2. If for some reason there is no KB article information for these updates, the bulletin IDs will be incrementally generated as KBUndefined-1, KBUndefined-2, and so on.

3 The patch’s Date posted and Date revised values displayed on the bulletin’s General property page have a different meaning when using a generated file.

• The Date posted value is the earliest creation date of all the updates (patches) associated with the bulletin in wsusscan.cab.

• The Date revised value is the latest creation date of all the updates (patches) associated with the bulletin in wsusscan.cab.

4 Patch file names and folder names are less intelligible with the generated mssecure XML file because they are based on unique IDs found in the wsusscan.cab file. The names are still qualified by the bulletin ID, but as noted above, the bulletin ID may under certain circumstances be generated by the command line utility.

5 Affected service pack information is not available for generated mssecure XML files. Patches are from the generated mssecure.xml are associated only with the affected product and are not differentiated by affected service pack on the bulletin General page Products tab or on the Download Patches and Delete Patches dialogs.

6 Bulletin summary information from wsusscan.cab is not as informative as that from mssecure.xml.

Chinese • “zh-cn”

Chinese (Traditional) • “zh-tw”

Page 141: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SPersonality Transfer Command Line Utility (WIMigCmd.exe)

April, 2006 Reference Guide 129

P E R S O N A L I T Y T R A N S F E R C O M M A N D L I N E

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . U T I L I T Y ( W I M I G C M D . E X E )The Personality Transfer command line utility, WIMigCmd.exe, enables backups and restores to be initiated from the client machine, as opposed to the usual method of initiating such operations from the Console.

As a command line utility, WIMigCmd.exe can easily be called from within a package, making WinINSTALL’s many distribution methods available as mechanisms for launching backups and restores. You can see examples of this in two of the sample packages provided with WinINSTALL (see Sample Packages, in this chapter).

WIMigCmd [options] <operation> [repository path (share-relative)]

[options] can be any combination of the following:

<operation> can be either Backup or Restore:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S A M P L E P A C K A G E SWinINSTALL includes a number of sample packages intended to fulfill two purposes. First, these packages all perform functions which are likely to be immediately useful to many WinINSTALL users. Second, the packages also illustrate a number of useful techniques and are therefore good examples of some of the possibilities available through the range of functionality offered by the WinINSTALL product.

-a • Create new users as local administrators (implies -u).

-k <key> • Key for encrypting/decrypting data.

-o <type> • Overwrite data type: never (default), newer, or always.

-t <path> • Path to the template file (share-relative).

-u • Create new users as needed.

-v • Verbose messages.

-w • Wait for the operation to complete.

-? or -h • Show help.

Backup • Backup user data to the repository.

Restore • Restore user data from the repository.

Page 142: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

130 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

Most of the packages are provided in both WinINSTALL (.nai) and Windows Installer (.msi) format, to encourage comparison of the two package formats and understanding of their relationship. The packages can be used as provided, or modified to work more precisely the way you need them to.

INTERACTIVE INSTALLER ICONThis package installs a shortcut to access the WinINSTALL Interactive User's Menu (Interactive Installer). This shortcut specifies no list file, thereby pointing the Installer to the default list file, winapps.lst. You could modify the Target File field to add a list file of your choice as a command line parameter to winstall.exe.

RUN AUTOMATIC INSTALLER AT STARTUPThis package writes an entry to the registry to cause the WinINSTALL Automatic Installer to execute at startup. The entry is written to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run to execute winstala.exe. The package restarts the system to complete the install, thereby invoking the Automatic Installer for the first time at that point.

This entry specifies no list file, thereby pointing the Installer to the default list file, winapps.lst. You could modify the registry entry to add a list file of your choice as a command line parameter to winstala.exe

NOTE: The sample WinINSTALL packages (not the Windows Installer packages) are provided with both install and uninstall disabled to prevent accidental deployments. To enable a package, select it in the tree view, select General in the list view, and then select the Conditions/General tab, where you can allow or deny access to install and/or uninstall.

Description • WinINSTALL Interactive User Menu

List File • Distribution Methods

NAI • \Packages\WIMenu\WIMenu.nai

MSI • \Bin\WIMenu.msi

Description • WinINSTALL Automatic

List File • Distribution Methods

Page 143: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

April, 2006 Reference Guide 131

ENABLE E-MAIL DISTRIBUTIONThis package writes an entry to the registry to enable a double-click on a .nai file e-mail attachment to launch the WinINSTALL Automatic Installer to install the e-mailed .nai file.

The entry is written to HKEY_CLASSES_ROOT to register the .nai file type, including a shell open command to execute winstala.exe.

EVENT VIEWER SUPPORTIt is, of course, possible to successfully run the WinINSTALL Installers on a machine which does not have the WinINSTALL Agent installed. This sample package adds and registers the .DLL necessary for viewing WinINSTALL Installer event log entries on such systems. It is not needed on systems where the WinINSTALL Agent is installed.

This package installs SSWLOGMC.DLL as a system service to enable the viewing of WinINSTALL Installer event log entries in the event log. The package installs one file plus associated registry entries.

NAI • \Packages\WIAuto\WIAuto.nai

MSI • \Bin\WIAuto.msi

Description • WinINSTALL E-Mail

List File • Distribution Methods

NAI • \Packages\WIEmail\WIEmail.nai

MSI • \Bin\WIEmail.msi

Description • WinINSTALL NT Event Viewer Support

List File • Notification Methods

NAI • \Packages\NTEvents\NTEvents.nai

MSI • \Packages\NTEvents\NTEvents.nai

Page 144: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

132 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

SNMP GET NOTIFICATIONThis package installs WinINSTALL support for Installer result reporting through SNMP Get capability. The installation is carried out by having the Installer launch the SNMPCfg.exe executable as an external process (or MSI Custom Action) with a /nt command line switch.

SNMP GET AND SET NOTIFICATIONThis package installs WinINSTALL support for Installer result reporting through SNMP Get and Set capabilities. The installation is carried out by having the Installer launch the SNMPCfg.exe executable as an external process (or MSI Custom Action) with /nt and /set command line switches .

BACKUP USER DATA AND INIT IATE RESETThis package demonstrates how to use the Client Reset feature in conjunction with the WinINSTALL Desktop Availability Suite’s Personality Transfer capability to perform a full client reset, beginning with a full backup of user data and settings to the repository on the server.

Description • WinINSTALL SNMP Support (Get Only)

List File • Notification Methods

NAI • \Packages\snmp\snmp.nai

MSI • \Packages\snmp\snmp.msi

Description • WinINSTALL SNMP Support (Get and Set)

List File • Notification Methods

NAI • \Packages\snmp\snmps.nai

MSI • \Packages\snmp\snmps.msi

Page 145: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

April, 2006 Reference Guide 133

The package consists of two simple calls to external programs. The first of these is a pre-install execution of the Personality Transfer Command Line Utility (WIMigCmd.exe), using the -w switch to wait for the completion of the operation before returning, and the Backup parameter to specify which operation (backup or restore) to perform. Note that the Do not wait for shell to complete checkbox for this operation is unchecked, instructing the Installer to pause after launching the backup, resuming only after the backup finishes. This selection is essential to prevent the machine reset from beginning before the backup has completed.

The second external process is a post-install execution of the WIRPWks.exe utility, which reboots a machine to its hidden reset partition. (This file is installed on the local machine when the reset partition is installed.) The /Q command line switch is included to run the utility in quiet mode, meaning that it will display no user interface. Note that the Do not wait for shell to complete checkbox for this operation is checked, instructing the Installer to call the utility and then complete its operation without pausing. This selection enables the Installer to complete its work and shut down so that the machine reset can proceed.

TIP: To create a complete, one-step, full client reset, use this sample package in conjunction with the Restore User Data sample package, described below. See the Client Reset chapter of the Administrator’s Guide for details on the various options available for this comprehensive, remote client reset capability.

TIP: If you create a Boot Floppy Package, you can add this backup command line to that package and perform a full reset without a hidden partition. See the Client Reset chapter of the Administrators Guide for full details on creating a Boot Floppy Package.

NOTE: To use the sample client reset package, you must first create a Client Reset template, and you must have installed a reset partition on the target machine (see the Client Reset chapter of the Administrators Guide for details on these items).

Description • Backup User Data & Initiate Reset

List File • Client Reset Samples

Page 146: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

134 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

OPEN XP F IREWALL PORTS FOR WININSTALL OPERATIONSThis package opens the ports on the Windows XP SP2 firewall necessary to enable all WinINSTALL operations. The package modifies the registry to open the following ports:

1 File and printer sharing (TCP 139 & 445, plus UDP 137 & 138).

2 WinINSTALL console IPC communications (TCP 3674).

3 WinINSTALL replication agent communications (UDP 3674).

Depending on your environment, you may find that one or more of these ports are not necessary. For example, you may find that you do not need all the file and printer sharing ports open on every workstation, or you may not be using WinINSTALL Replication and therefore do not need to open UDP 3674.

Note that this package has a system prerequisite set. To install this package as supplied, machines must be running Windows XP, SP2 or later.

RESTORE USER DATAThis package employs the WinINSTALL Desktop Availability Suite’s Personality Transfer feature to restore all user data and settings from the last backup of the same client machine. The package operates by calling a single external process, the Personality Transfer Command Line Utility (WIMigCmd.exe), using the -w switch to wait for the completion of the operation before returning, and the restore parameter to specify which operation (backup or restore) to perform. Note that the Do not wait for shell to complete checkbox for this operation is unchecked, instructing the Installer to pause after launching the restore, resuming only after the backup finishes.

NAI • \Packages\ClientReset\Reset.nai

MSI • None

Description • XP SP2 Firewall Settings

List File • Client Reset Samples

NAI • \Packages\XPSP2FirewallSettings\XPSP2FirewallSettings.nai

MSI • None

Page 147: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

April, 2006 Reference Guide 135

This sample package is located in the \Packages folder of the WinINSTALL share, and it is automatically added as the last package in all Dynamic List Files (see the Client Reset chapter of the Administrator’s Guide for details on Dynamic List Files).

WARNING: Restoring user settings and data is not supported on Windows 95 or Windows 98.

Description • Restore User Data

List File • Client Reset Samples

NAI • \Packages\restore.nai

MSI • None

Page 148: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

S P E C I A L W I N I N S TA L L U T I L I T I E SSample Packages

136 WinINSTALL Desktop Management Suite and Desktop Availability Suite

11

Page 149: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

April, 2006 Reference Guide 137

. . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .WININSTALL SCRIPTING EXTENSIONS 12

inINSTALL includes support for user-written scripts to execute Console operations and modify and extend Installer functionality for WinINSTALL (.NAI) packages.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I N S T A L L E R S C R I P T I N GScripts can be run before, during or after installation or removal of a package. WinINSTALL supports any script that has an associated script engine installed on the target machine. Common script engines are JavaScript and VBScript. You can instantiate any automation-capable object and invoke its methods and properties.

In addition to built-in language elements, WinINSTALL includes its own unique language features. These language features include built-in objects, constants and functions that allow the script developer to gain access to the state of the installation or removal process and to affect the state of the process.

INSTALLER OBJECT PROPERTIES AND METHODSAt all times, an instance of an Installer object is available. This object, named Installer, is the vehicle for obtaining information about the state of the installer, and for modifying the state where possible. The Installer object cannot be created - you can use only the constant instance.

Through the object model and WinINSTALL scripting extensions, scripts have read access to the full range of WinINSTALL variables (using the SetVar and GetVar methods).

The following properties and methods are defined for the Installer object. For each property or method, the type, description and an example are listed.

Example:

Installer.Abort “Installs of this app not allowed on Fridays.”

Name: • Abort

Type: • Method

Description: • Aborts the install process. Can optionally include a message, a (long) return code, and a (long) error code.

W

Page 150: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

138 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

Example:

Installer.SetVar “$Company$” “Spaceley Sprockets”

Example:

Dim WinDir As String

WinDir = Installer.GetVar “@Windows”

Example:

Dim File As String

File = Installer.NAIFile

Name: • SetVar

Type: • Method

Description: • Allows an installer variable to be set. These variables are global to all installs for the life of the installer and can be used in place of any other installer variable.

Name: • GetVar

Type: • Method

Description: • Returns the value of an installer variable.

Name: • NAIFile

Type: • Property (String, Read/Only)

Description: • The current fully-qualified NAI file name.

Name: • LSTFile

Page 151: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 139

Example:

Dim File As String

File = Installer.LSTFile

Example:

If Installer.IsQuiet = False Then

MsgBox “The value of @Windows is “+ Installer.GetVar (“@Windows”)

End If

Example:

If Installer.IsPrompt = False Then

MsgBox “Are you sure that you want to install this?”

Type: • Property (String, Read/Only)

Description: • The current fully-qualified LST file name. If the current NAI file is in a hierarchy of LST files, this string will include all of the LST files in the hierarchy, separated by “::”, with the topmost LST file first.

Name: • IsQuiet

Type: • Property (Boolean, Read/Only)

Description: • The state of the /Quiet flag, whether explicitly specified on the command line or implied by the operating environment. If this flag is set, you should not issue any message boxes or otherwise indirectly generate any messages to the user interface (which may not exist if you are running as an NT service).

Name: • IsPrompt

Type: • Property (Boolean, Read/Only)

Description: • The state of the /NoPrompt flag, whether explicitly specified on the command line or implied by the operating environment. If this flag is set, you should not prompt the user for any information (see IsQuiet).

Page 152: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

140 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

End If

Example:

If Installer.IsNTService = False Then

Shell “SOL.EXE” ' Give the user something to do during install

End If

Example:

If Installer.Operation = OpRemove Then

If MsgBox (“Removing this application will render it unavailable. Continue?”, ebYesNo) = ebNo Then

Installer.Abort “User aborted the remove”

End If

End If

Name: • IsNTService

Type: • Property (Boolean, Read/Only)

Description: • The state of the /NTService flag, whether explicitly specified on the command line or implied by the operating environment. This flag implies /Quiet_NoPrompt, but lets the script developer distinguish between the NT service environment and other environments.

Name: • Operation

Type: • Property (Integer, Read/Only)

Description: • The current operation (install or remove). Constants are defined for the return values: OpRemove and OpInstall.

Name: • Status

Page 153: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 141

Example:

If Installer.Status = StatPost And Installer.Operation = OpInstall Then

MsgBox “Installation of “+ Installer.AppName + “ successful!”

End If

Example:

If Installer.Status = StatPost And Installer.Operation = OpInstall Then

MsgBox “Installation of “+ Installer.AppName + “ successful!”

End If

Example:

If Installer.Reset = ResetRestart Then

Installer.Reset = ResetReboot

Type: • Property (Integer, Read/Only)

Description: • The current installer status (pre-/running/post-). Constants are defined for the return values: StatPre, StatRunning, StatPost.

Name: • AppName

Type: • Property (String, Read/Only)

Description: • The current application name (from the NAI file).

Name: • Reset

Type: • Property (Integer, Read/Write)

Description: • Allows the current Reset value to be viewed and set. Reset values are defined as: ResetNone (no reset), ResetExit (exit Windows (Win16) or Logoff (Win32)), ResetRestart (restart Windows (Win16) or reboot (Win32), ResetReboot (reboot), ResetShutdown (shutdown, Win32 only), ResetLogoff (logoff, Win32 only).

Page 154: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

142 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

End If

INSTALLER SCRIPT EVENTSScripts can be used in all phases of a package installation or uninstallation, but scripts used during the remove phase or add phase must be event-driven. You can construct scripts to execute at the following specified events:

• OnPreFileCopy

• OnPostFileCopy

• OnPreFileUpdate

• OnPostFileUpdate

• OnPreDirCreate

• OnPostDirCreate

• OnPreDirRemove

• OnPostDirRemove

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

• OnPreTextInstall

• OnPostTextInstall

• OnPreTextRemove

• OnPostTextRemove

• OnPreServiceInstall

• OnPostServiceInstall

• OnPreServiceRemove

• OnPostServiceRemove

• OnPreRegInstall

• OnPostRegInstall

• OnPreRegRemove

Page 155: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 143

• OnPostRegRemove

• OnMessageDisplay

• OnPreProgramGroupInstall

• OnPostProgramGroupInstall

• OnPreProgramGroupRemove

• OnPostProgramGroupRemove

Event handlers are functions that take no parameters and return a code. The return codes are the following:

INSTALLER EVENT PROPERTIESEach event is specific to specified data that is available in properties of the Installer object. For example, the OnPreFileCopy and OnPostFileCopy events are specific to the copying of a particular file. The Installer object will contain the data specifying the file being copied (Installer.Source and Installer.Dest), and an event will be triggered when the file being copied matches the one specified in the script. The following Installer properties are defined for these events:

Example:

If Installer.Source = “F:\NewDB\DataFile.DB” Then

EventContinue • Continue installing or removing

EventSkip • Skip the operation that caused the event

EventDisable • Disable the event for the remainder of the install or removal

Name: • Source

Type: • Property (String, Read/Write)

Description: • Specifies the source string data for an event. For example, in the OnPreFileCopy and OnPostFileCopy events, Installer.Source is the source file in the file to copy operation that either is about to be carried out or has just completed.

Page 156: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

144 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

MsgBox “The file ‘DataFile.DB’ is about to be replaced. Please make sure the file is not open before clicking ‘OK’.”

End If

Example:

If Installer.Dest = “C:\Data\Datafile.DB” Then

MsgBox “The file ‘DataFile.DB’ has been updated. You may now see the latest sales figures.”

End If

Example:

If Installer.RCode <> Rcode_Success Then

MsgBox “Copy of “+ Installer.Source + “ to “+ Installer.Dest + “ was unsuccessful!”

End If

Name: • Dest

Type: • Property (String, Read/Write)

Description: • Specifies the destination string data for an event. For example, in the OnPreFileCopy and OnPostFileCopy events, Installer.Dest is the destination file in the file to copy operation that either is about to be carried out or has just completed.

Name: • RCode

Type: • Property (Integer, Read/Only)

Description: • The return code from the event just completed. For example, in the OnPostFileCopy event, Installer.Rcode would contain the return code for the file copy event just completed. Constants are defined for the return values:

Page 157: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 145

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

• OnPreProgramGroupInstall

• OnPostProgramGroupInstall

• OnPreProgramGroupRemove

• OnPostProgramGroupRemove

Example:

If Installer.IconProcessor = IconProcPgmMgr Then

MsgBox “Using program manager to install icons”

Else

MsgBox “Using shell link interface to install icons”

End If

Name: • IconProcessor

Type: • Property (Integer, Read/Only)

Description: • Indicates the facility being used to update icon definitions—either the program manager or the shell link interface. Constants are defined for the return value: IconProcPgmMgr, IconProcLnkFile.

Name: • IconLabel

Type: • Property (String, Read/Write)

Description: • The label used for an icon being added or removed. This is meaningful only when the program manager is being used to install icons.

Page 158: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

146 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

If Installer.IconProcessor = IconProcPgmMgr Then

MsgBox “Installing “+ Installer.IconLabel

End If

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

Installer.CmdLine = Installer.CmdLine + “ /DEBUG”

Name: • CmdLine

Type: • Property (String, Read/Write)

Description: • The command line represented by the icon being installed or removed. This consists of the name of the executable file as well as any arguments to be provided.

Name: • WorkingDir

Page 159: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 147

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

Installer.WorkingDir = “C:\TEMP”

This property is meaningful only when the program manager is being used to process icons and only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

If Installer.IconProcessor = IconProcPgmMgr Then

Installer.IconFile = “C:\MYICONS.ICN”

Installer.IconIdx = 0

Type: • Property (String, Read/Write)

Description: • The working directory associated with the icon being installed or removed. If this is an empty string, then no working directory is associated with the icon.

Name: • IconFile

Type: • Property (String, Read/Write)

Description: • The name of the file containing the graphic icon to be used for the icon being installed or removed. If this is an empty string, then the executable file (whose name is contained in Installer.CmdLine) will be used.

Page 160: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

148 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

End If

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

If Installer.IconProcessor = IconProcPgmMgr Then

Installer.IconFile = “C:\MYICONS.ICN”

Installer.IconIdx = 0

End If

This property is meaningful only during the following operations:

• OnPreIconInstall

Name: • IconIdx

Type: • Property (Integer, Read/Write)

Description: • The index (in the file indicated by Installer.IconFile) of the graphic icon to be used to represent the icon being installed or removed. This is meaningful only when the program manager is being used to process icons and only when Installer.IconFile is not an empty string.

Name: • HotKey

Type: • Property (Integer, Read/Write)

Description: • The key code for the hot key associated with an icon being installed or removed. A value of zero means no hot key.

Page 161: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 149

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

Installer.WorkingDir = “C:\TEMP”

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

Installer.ShowCmd = 1

Name: • ShowCmd

Type: • Property (Integer, Read/Write)

Description: • A show command associated with the icon being installed or removed. This is an integer value that represents the initial state the associated application’s window should have when the application is started using this icon.

Name: • SepMem

Type: • Property (Boolean, Read/Write)

Description: • The separate memory flag for the icon being installed or removed. This property is meaningful only on NT machines and meaningful only when the icon represents a 16-bit application. When true, this flag means that the application associated with the icon should be run in a separate memory space when it is started using this icon.

Page 162: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

150 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

Installer.SepMem = False

This property is meaningful only during the following operations:

• OnPreIconInstall

• OnPostIconInstall

• OnPreIconRemove

• OnPostIconRemove

Example:

If Installer.IconProcessor = IconProcLnkFile

MsgBox “Installing file: “ + Installer.LinkFile

Else

MsgBox “Installing icon: “ + Installer.IconLabel

End If

Name: • LinkFile

Type: • Property (String, Read/Write)

Description: • The full path name of the .LNK file that will be used to represent the icon. This property is meaningful only when shell link files are being used to represent icons.

Page 163: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SInstaller Scripting

April, 2006 Reference Guide 151

This property is meaningful only during the following operations:

• OnPreProgramGroupInstall

• OnPostProgramGroupInstall

• OnPreProgramGroupRemove

• OnPostProgramGroupRemove

Example:

If Installer.GroupName = “Accessories”

Installer.GroupName = “New Accessories”

End If

This property is meaningful only during the following operations:

• OnPreProgramGroupInstall

• OnPostProgramGroupInstall

• OnPreProgramGroupRemove

• OnPostProgramGroupRemove

Name: • GroupName

Type: • Property (String, Read/Write)

Description: • The name of the program manager group being installed or removed. This property is meaningful only when the program manager is being used to install icons.

Name: • GroupCommon

Type: • Property (Boolean, Read/Write)

Description: • Flag indicating whether the program group being installed or removed is a common group. This property is meaningful only when the program manager is being used to install icons and only under Windows NT 3.51.

Page 164: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

152 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

Example:

If Installer.GroupCommon = False

If Installer.GroupName = “Accessories”

Installer.GroupCommon = True

End If

End If

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C O N S O L E S C R I P T I N GThe Console supports two COM objects that can be accessed through Windows Scripting Host (WSH), using any programming language that is supported by WSH (e.g. VB Script and Java Script).

THE MACHINES OBJECT

I M P L E M E N T E D I N :SNAPMACH.DLL

H O W T O C R E A T E :var machines = new ActiveXObject(“WININSTALL.MACHINES”);

M E T H O D S :

G E T M A C H I N E

Prototype • Machine GetMachine(String strMachineName)

Description • GetMachine returns a Machine object which then can be used to issue commands for that particular machine. The return value will be NULL if the machine doesn't exist within the system.

Page 165: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 153

THE MACHINE OBJECT

I M P L E M E N T E D I N : SNAPMACH.DLL

H O W T O C R E A T E :You cannot create the machine object directly. Instead, you should first create a Machines object and then call the GetMachine method.

M E T H O D S :

S T A R T A G E N T

S T O P A G E N T

R U N I N V E N T O R Y

Prototype • BOOL StartAgent()

Description • Starts the agent on the machine. Returns TRUE if successful, FALSE otherwise.

Prototype • BOOL StopAgent()

Description • Stops the agent on the machine. Returns TRUE if successful, FALSE otherwise.

Prototype • BOOL RunInventory()

Description • Runs inventory on the machine. Returns TRUE if successful, FALSE otherwise.

Page 166: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

154 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

R U N M E R G E

R U N P U B L I S H

D I S T R I B U T E

CONSOLE SCRIPTING EXAMPLES

E X A M P L E 1 : I N V E N T O R Yvar WSHShell;

var vbOKCancel = 1; // some helpers

var vbOKOnly = 0

var vbInformation = 64;

var vbCancel = 2;

// our helper function

function makeInputBox ()

{

Prototype • BOOL RunMerge()

Description • Runs the merge process on the machine. Returns TRUE if successful, FALSE otherwise.

Prototype • BOOL RunPublish()

Description • Runs the publish process on the machine. Returns TRUE if successful, FALSE otherwise.

Prototype • BOOL Distribute(String strPackagePath,int nInstallType)

Description • Distributes a package on the machine. The strPackagePath parameter indicates the UNC file path for the list (*.lst) or package (*.msi or *.nai). The nInstallType parameter indicates the install type. Possible values include 0 - Install, 1 - Uninstall, and 2 - Re-install. Returns TRUE if successful, FALSE otherwise.

Page 167: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 155

// Create our Internet Browser object

var oIE4 = WScript.CreateObject(“InternetExplorer.Application”);

oIE4.left=50; // Windows position

oIE4.top = 100;

oIE4.height = 300; // Windows size

oIE4.width = 600;

oIE4.menubar = 1;

oIE4.toolbar = 1;

oIE4.navigate (“about:blank”); // HTML document with function

oIE4.visible = 0; // keep MSIE invisible

while (oIE4.Busy) {} // wait till MSIE is ready

var doc1 = oIE4.Document; // get the document object

doc1.open; // open it

// write a script

doc1.writeln (“<HTML><HEAD>”);

doc1.writeln (“<Script LANGUAGE=\”VBScript\”><!--”);

doc1.writeln (“Function InputBox1 (prompt,title, value)”);

doc1.writeln (“ InputBox1 = InputBox (prompt, title, value)”);

doc1.writeln (“End Function”);

doc1.writeln (“//-->”);

doc1.writeln (“</Script>”);

doc1.writeln (“</HEAD><BODY></BODY></HTML>”);

doc1.close; // close write access

return oIE4;

}

function InputBox (obj, prompt, title, x)

Page 168: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

156 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

{

var oIE4doc = obj.Document.Script;

var result = oIE4doc.InputBox1(prompt,title,x);

return result;

}

var machines = new ActiveXObject(“WININSTALL.MACHINES”);

var machine;

var result;

WSHShell = WScript.CreateObject(“WScript.Shell”);

var mobj = makeInputBox();

var prompt = “Enter the machine name: “;

var title = “Run Inventory”;

var value = “<enter a machine name>”;

var result = InputBox(mobj, prompt, title, value);

machine = machines.GetMachine(result);

if ( machine == null )

WScript.Echo('Machine not Found');

else

{

WSHShell.Popup(“Running Inventory on \\” + result, 0, “Running Inventory...”, vbOKOnly + vbInformation);

//WScript.Echo('found');

result = machine.RunInventory();

}

mobj.Quit();

Page 169: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 157

E X A M P L E 2 : M E R G Evar WSHShell;

var vbOKCancel = 1; // some helpers

var vbOKOnly = 0

var vbInformation = 64;

var vbCancel = 2;

// our helper function

function makeInputBox ()

{

// Create our Internet Browser object

var oIE4 = WScript.CreateObject(“InternetExplorer.Application”);

oIE4.left=50; // Windows position

oIE4.top = 100;

oIE4.height = 300; // Windows size

oIE4.width = 600;

oIE4.menubar = 1;

oIE4.toolbar = 1;

oIE4.navigate (“about:blank”); // HTML document with function

oIE4.visible = 0; // keep MSIE invisible

while (oIE4.Busy) {} // wait till MSIE is ready

var doc1 = oIE4.Document; // get the document object

doc1.open; // open it

// write a script

doc1.writeln (“<HTML><HEAD>”);

doc1.writeln (“<Script LANGUAGE=\”VBScript\”><!--”);

doc1.writeln (“Function InputBox1 (prompt,title, value)”);

Page 170: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

158 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

doc1.writeln (“ InputBox1 = InputBox (prompt, title, value)”);

doc1.writeln (“End Function”);

doc1.writeln (“//-->”);

doc1.writeln (“</Script>”);

doc1.writeln (“</HEAD><BODY></BODY></HTML>”);

doc1.close; // close write access

return oIE4;

}

function InputBox (obj, prompt, title, x)

{

var oIE4doc = obj.Document.Script;

var result = oIE4doc.InputBox1(prompt,title,x);

return result;

}

var machines = new ActiveXObject(“WININSTALL.MACHINES”);

var machine;

var result;

WSHShell = WScript.CreateObject(“WScript.Shell”);

var mobj = makeInputBox();

var prompt = “Enter the machine name: “;

var title = “Running Merge”;

var value = “<enter a machine name>”;

var result = InputBox(mobj, prompt, title, value);

machine = machines.GetMachine(result);

Page 171: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 159

if ( machine == null )

WScript.Echo('Machine not Found');

else

{

WSHShell.Popup(“Running Merge on \\” + result, 0, “Running Merge...”, vbOKOnly + vbInformation);

//WScript.Echo('found');

result = machine.RunMerge();

}

mobj.Quit();

E X A M P L E 3 : P U B L I S Hvar WSHShell;

var vbOKCancel = 1; // some helpers

var vbOKOnly = 0

var vbInformation = 64;

var vbCancel = 2;

// our helper function

function makeInputBox ()

{

// Create our Internet Browser object

var oIE4 = WScript.CreateObject(“InternetExplorer.Application”);

oIE4.left=50; // Windows position

oIE4.top = 100;

oIE4.height = 300; // Windows size

oIE4.width = 600;

oIE4.menubar = 1;

Page 172: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

160 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

oIE4.toolbar = 1;

oIE4.navigate (“about:blank”); // HTML document with function

oIE4.visible = 0; // keep MSIE invisible

while (oIE4.Busy) {} // wait till MSIE is ready

var doc1 = oIE4.Document; // get the document object

doc1.open; // open it

// write a script

doc1.writeln (“<HTML><HEAD>”);

doc1.writeln (“<Script LANGUAGE=\”VBScript\”><!--”);

doc1.writeln (“Function InputBox1 (prompt,title, value)”);

doc1.writeln (“ InputBox1 = InputBox (prompt, title, value)”);

doc1.writeln (“End Function”);

doc1.writeln (“//-->”);

doc1.writeln (“</Script>”);

doc1.writeln (“</HEAD><BODY></BODY></HTML>”);

doc1.close; // close write access

return oIE4;

}

function InputBox (obj, prompt, title, x)

{

var oIE4doc = obj.Document.Script;

var result = oIE4doc.InputBox1(prompt,title,x);

return result;

}

var machines = new ActiveXObject(“WININSTALL.MACHINES”);

var machine;

Page 173: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 161

var result;

WSHShell = WScript.CreateObject(“WScript.Shell”);

var mobj = makeInputBox();

var prompt = “Enter the machine name: “;

var title = “Running Publish”;

var value = “<enter a machine name>”;

var result = InputBox(mobj, prompt, title, value);

machine = machines.GetMachine(result);

if ( machine == null )

WScript.Echo('Machine not Found');

else

{

WSHShell.Popup(“Running Publish on \\” + result, 0, “Running Publish...”, vbOKOnly + vbInformation);

//WScript.Echo('found');

result = machine.RunPublish();

}

mobj.Quit();

Page 174: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

162 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

E X A M P L E 4 : S T A R T A G E N Tvar WSHShell;

var vbOKCancel = 1; // some helpers

var vbOKOnly = 0

var vbInformation = 64;

var vbCancel = 2;

// our helper function

function makeInputBox ()

{

// Create our Internet Browser object

var oIE4 = WScript.CreateObject(“InternetExplorer.Application”);

oIE4.left=50; // Windows position

oIE4.top = 100;

oIE4.height = 300; // Windows size

oIE4.width = 600;

oIE4.menubar = 1;

oIE4.toolbar = 1;

oIE4.navigate (“about:blank”); // HTML document with function

oIE4.visible = 0; // keep MSIE invisible

while (oIE4.Busy) {} // wait till MSIE is ready

var doc1 = oIE4.Document; // get the document object

doc1.open; // open it

// write a script

doc1.writeln (“<HTML><HEAD>”);

doc1.writeln (“<Script LANGUAGE=\”VBScript\”><!--”);

doc1.writeln (“Function InputBox1 (prompt,title, value)”);

Page 175: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 163

doc1.writeln (“ InputBox1 = InputBox (prompt, title, value)”);

doc1.writeln (“End Function”);

doc1.writeln (“//-->”);

doc1.writeln (“</Script>”);

doc1.writeln (“</HEAD><BODY></BODY></HTML>”);

doc1.close; // close write access

return oIE4;

}

function InputBox (obj, prompt, title, x)

{

var oIE4doc = obj.Document.Script;

var result = oIE4doc.InputBox1(prompt,title,x);

return result;

}

var machines = new ActiveXObject(“WININSTALL.MACHINES”);

var machine;

var result;

WSHShell = WScript.CreateObject(“WScript.Shell”);

var mobj = makeInputBox();

var prompt = “Enter the machine name: “;

var title = “Start Agent”;

var value = “<enter a machine name>”;

var result = InputBox(mobj, prompt, title, value);

machine = machines.GetMachine(result);

Page 176: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

164 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

if ( machine == null )

WScript.Echo('Machine not Found');

else

{

WSHShell.Popup(“Started Agent on \\” + result, 0, “Starting Agent...”, vbOKOnly + vbInformation);

//WScript.Echo('found');

result = machine.StartAgent();

}

mobj.Quit();

E X A M P L E 5 : S T O P A G E N Tvar WSHShell;

var vbOKCancel = 1; // some helpers

var vbOKOnly = 0

var vbInformation = 64;

var vbCancel = 2;

// our helper function

function makeInputBox ()

{

// Create our Internet Browser object

var oIE4 = WScript.CreateObject(“InternetExplorer.Application”);

Page 177: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 165

oIE4.left=50; // Windows position

oIE4.top = 100;

oIE4.height = 300; // Windows size

oIE4.width = 600;

oIE4.menubar = 1;

oIE4.toolbar = 1;

oIE4.navigate (“about:blank”); // HTML document with function

oIE4.visible = 0; // keep MSIE invisible

while (oIE4.Busy) {} // wait till MSIE is ready

var doc1 = oIE4.Document; // get the document object

doc1.open; // open it

// write a script

doc1.writeln (“<HTML><HEAD>”);

doc1.writeln (“<Script LANGUAGE=\”VBScript\”><!--”);

doc1.writeln (“Function InputBox1 (prompt,title, value)”);

doc1.writeln (“ InputBox1 = InputBox (prompt, title, value)”);

doc1.writeln (“End Function”);

doc1.writeln (“//-->”);

doc1.writeln (“</Script>”);

doc1.writeln (“</HEAD><BODY></BODY></HTML>”);

doc1.close; // close write access

return oIE4;

}

function InputBox (obj, prompt, title, x)

{

var oIE4doc = obj.Document.Script;

var result = oIE4doc.InputBox1(prompt,title,x);

Page 178: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

166 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

return result;

}

var machines = new ActiveXObject(“WININSTALL.MACHINES”);

var machine;

var result;

WSHShell = WScript.CreateObject(“WScript.Shell”);

var mobj = makeInputBox();

var prompt = “Enter the machine name: “;

var title = “Stop Agent”;

var value = “<enter a machine name>”;

var result = InputBox(mobj, prompt, title, value);

machine = machines.GetMachine(result);

if ( machine == null )

WScript.Echo('Machine not Found');

else

{

WSHShell.Popup(“Stopped Agent on \\” + result, 0, “Stopping Agent...”, vbOKOnly + vbInformation);

//WScript.Echo('found');

result = machine.StopAgent();

Page 179: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

April, 2006 Reference Guide 167

}

mobj.Quit();

Page 180: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

W I N I N S TA L L S C R I P T I N G E X T E N S I O N SConsole Scripting

168 WinINSTALL Desktop Management Suite and Desktop Availability Suite

1 2

Page 181: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .I N D E X

April, 2006 Reference Guide 169

. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Index

AAdd a Database User 122Agent Deployment 33Automatic Installer 14Automating WinINSTALL Agent Deployment 35

CCA File conflict subcategories and messages 105CA INI File conflict subcategories and messages 106CA Registry conflict subcategories and messages 106CA Shortcut conflict subcategories and messages 106Client Reset 14, 17 to 20, 23, 26 to 28, 118Config File Processing Interval 40Conflict Assessment 121Console 5 to 6, 13, 17, 21, 33, 103, 115 to 118Console Log node 115 to 116Console logging 115Create Reset Partition application 20 to 21, 26Crystal Designer 16, 47

DData Flow to WinINSTALL Database 41Database 5, 16, 47 to 48, 115dbAddUser.cmd 122Discover Wizard 10

GGenerating mssecure Files 125

IInstaller logging 120Interactive Installer 14

Page 182: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N D E X

170 WinINSTALL Desktop Management Suite and Desktop Availability Suite

Llanguage-specific mssecure.xml 124Launch 121

MMAC address 103Machines 17Main CA Conflict Categories 105Merge Processing Interval 41Microsoft Patches 124mssecure.xml 124

NNetwork Detection 121NoNetNoGo.exe 121NTSVC 121NTSVC32.exe 122

OOperating System 5 to 9Oracle 5, 9, 48 to 49

PPatch Management 16PatchCatalog command syntax 126PatchCatalog supported languages 127PatchCatalog.exe 124Patches 16, 102

RReference Machine 9Reference Machine WinINSTALL Database 9Registry 105 to 106Replication 42, 118replication 15, 31Reports 16Reset Workstation 22Reset Workstation application 22

SSample Packages 129Secure Manual Deployment 33SSWNTSVC.exe 122Supported Database Platforms 47

Page 183: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

. . .

. .I N D E X

April, 2006 Reference Guide 171

System-defined Variables 101, 103

TTime 115 to 116Transaction File Processing Interval 41

UUnicode 22User-defined Variables 103

WWIBaselineGen.exe 121WIClient.exe 121Windows 9x 10, 33, 38Windows Installer package 10, 12, 102WinINSTALL Administrator Requirements 11WinINSTALL Agent 14, 16 to 17, 31, 33, 38, 40 to 41, 47, 115, 117, 119, 121WinINSTALL Agent logging 119WinINSTALL Agent Settings dialog 121WinINSTALL Console 5, 13, 16, 31, 33, 40WinINSTALL Console Installation Requirements 5WinINSTALL Database 8, 41, 48 to 49, 115WinINSTALL database 5, 8, 17, 31, 40 to 41, 47 to 49, 115 to 116, 119WinINSTALL Database WinINSTALL Database 8WinINSTALL package 10WinINSTALL Server 6WinINSTALL Server Installation Requirements 6WinINSTALL Share 6, 13, 17, 38, 40 to 41WinINSTALL share 6, 17, 28, 48 to 49, 102, 121WinINSTALL Share Installation Requirements 6WinINSTALL Workstation Installation Requirements 7wsusscan.cab 124

Page 184: WinINSTALL 8.70.03 Desktop Management Suite and Desktop

I N D E X

172 WinINSTALL Desktop Management Suite and Desktop Availability Suite


Recommended