views:

436

answers:

2

Hi All,

I'm using msscript.ocx in my application which is an activex scripting host for windows.
Although I want to be able to use the same for XP embedded(XPe) which's highly customizable.

1.I want to know whether on XPe, msscript.ocx can be optionally installed or not?
2.Where does it get installed from, IE?
3.Or is it a windows core component which gets installed during the XPe setup?(I know one can unregister it, but can it be an optional installation)

Answering any or all of these questions will be of great help to me.

Thanks in advance.

Sam.

+1  A: 

I think it is not shipped with Windows XP(not a 100% sure)...

But the best choice is to ship it with your installer(even if it was shipped, it can be removed). About the installing - you can put it where you want (in the program folder in Program Files is ok), the important thing is to register it.

The best choice for making installers - Wix

EDIT: reference

The Script control ships with Visual Basic 6.0; however, Visual Basic 6.0 setup does not install the Script Control for you. The control is located in the CD directory Common\Tools\VB\Script. To install the script control, try the following steps:

I think this answers your question....

Svetlozar Angelov
Thanks Svet, but I need exact dependancy. I don't have a copy of XPe to test it out. I will update the same once I get my hands on XPe.Sam.
Samrat Patil
+4  A: 

Microsoft's documentation of the MSScript.ocx library is somewhat contradictory on this issue. The short answer is, starting with Windows 2000, the MSScript.ocx library became part of the Windows OS. Subsequent service packs for Windows 2000, XP, and 2003 included bug fixes (1,2,3) for this library. Since that time, the library has remained part of the 32bit portion of Windows and is still included with Windows 7/2008 R2. Even 64bit versions of Windows still include msscript.ocx with WOW64 in C:\Windows\SysWOW64.

For a little history of this library's distribution keep reading.

Msscript.ocx was originally included on the Visual Studio 6 CD as a "optional" library - optional meaning it had to be manually installed. While the library was part of Visual Studio, it was migrated to being part of the Windows OS starting with Windows 2000.

This is where the confusion comes into play. Since msscript.ocx is considered to be a component of both VS6 and Windows 2000, updates were distributed in service packs for both. Even after the last service pack for VS6 was released, additional bug fixes needed to be distributed for older OS's, so a separate download was created specifically targeting Windows 95, 98 and NT4.

This download is targeted for older OS's for the simple fact that it had become a part of the OS in "modern" versions of Windows. If you are using Windows 2000 or greater, the download is unnecessary and - in my experience - can cause compatibility problems.

John L Veazey