Topic: msscript.ocx is not registered in "Scripting Support MS"  (Read 3869 times)

0 Members and 1 Guest are viewing this topic.

msscript.ocx is not registered in "Scripting Support MS"
« on: May 20, 2017, 10:19:30 PM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 59
I am using one program that is based on scripting which I want to use in WinPE. I have Components\Core\1 System\ScriptingMS enabled, but when I start the mentioned program I still get the error saying that msscript.ocx is not registered, so I need to do that manually using regsvr32.

By the way, I searched all .script files in the project for "msscript.ocx" and found that string only in the mentioned plugin, which is visible in GUI, and also in Basic\Shells\Core\1 System\05CoreScripting.script, that is invisible. That second file has a line that registers msscript.ocx, but it seems that that second file is never executed during build. I am wondering now why there are two scripting plugins, one user-selectable and another invisible.

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #1 on: May 21, 2017, 09:18:26 PM »

Galapo

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 1972
'Basic\Shells\Core\1 System\05CoreScripting.script' is for the RegFactory set of plugins. The author fxscrpt was amazing, but unfortunately he disappeared and we do not know what has become of him.

Under 'Shells\Core' you will see 'CoreMain'. This is where the RegFactory group is enabled. We haven't tested RegFactory for a long time now.

Regards,
Galapo.

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #2 on: May 22, 2017, 12:06:11 PM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 59
Thanks for the explanation.

It would be nice if you consolidate those plugins from the CoreMain group with the similar plugins from other groups since there are some duplicates: 03CoreCrypto, 05CoreScripting and 10CoreMMC exist in Components/Core/System as well, and many another from CoreMain group have duplicates elsewhere like NET and Storage. By consolidation I mean that you include those parts of their code that are missing in another plugins like msscript.ocx that is not registered in "Scripting Support MS".

However, now when I took a look at it, I am most interested in 30CorePerfLogs which has no counterpart in another plugins. I tried to get it enabled changing its Level to 1 and ticking: "Enable CoreMain (Standalone)" check box in CoreMain, but after that I get this Error all the time, even when I click on the blue Play button:
"You must start your Build (Big Blue) After CoreMain Standalone Enabled. CoreMain Script exit now."

Do you have any suggestion what I should do to get 30CorePerfLogs plugin working?

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #3 on: May 22, 2017, 03:35:18 PM »

Galapo

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 1972
It would be nice if you consolidate those plugins from the CoreMain group with the similar plugins from other groups since there are some duplicates

Yes, I have always wanted to get around to taking a look at this. But time has not been on my side.  :frusty:

Regarding RegFactory plugins, what I was meaning by saying "set of plugins" and "RegFactory group" is indeed that. They come as a set/group. You cannot enable an individual plugin. They way RegFactory works is different, so you have to enable it first and only then enable or disable individual plugins.

So on the main interface, you have to click 'Enable RegFactory' button first.

ila_rendered

Regards,
Galapo.

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #4 on: May 26, 2017, 02:29:26 AM »

ZYX

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Apr 2017
  • Posts: 59
Thanks again for the explanation.

I need to say that that whole thing is not very intuitive. There is no any explanation for what RegFactory is intended and there is no any indication if it is enabled or disabled (I think it would be better if it has one simple check box instead of two Enable/Disable buttons, especially since there already exists "Register Factory API" plugin which is mandatory, i.e. it is always enabled, and whose name could mislead someone to think that the RegFactory option in the CoreMain plugin is automatically enabled as well). It is also unclear what is actually enabled if you tick the "Enable CoreMain" check box.

By the way, when I enable RegFactory in the CoreMain plugin and deselect Management Console plugin, I get the error in the Register Factory VM Installer plugin:
[Failed] IniRead - Failed to find file: [%BaseDir%\Temp\Gena\MscTitle\MscTitle.ini]
[Warning] Halt

Also, whenever I tick the Enable CoreMain check box, I get the error message saying about a missing section. It should be CoreMStandalone_Run instead of _oreMStandalone_Ru_.

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #5 on: May 28, 2017, 08:45:28 PM »

Galapo

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 1972
Also, whenever I tick the Enable CoreMain check box, I get the error message saying about a missing section. It should be CoreMStandalone_Run instead of _oreMStandalone_Ru_.

Thanks for reporting this. I have uploaded a fixed version now.

I haven't been able to address any of your other concerns, aside from making a couple of changes to the language of interface components. I am very busy with work at the moment and don't have much time for this hobby project.

Regards,
Galapo.

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #6 on: June 21, 2017, 10:25:50 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7236
There is no any explanation for what RegFactory is intended
It is intended to make mainly .dll registries and setup (ex: flash) stuff at a virtual step during build.
With other words:
When creating PE, you have a virtual step to install things.

It has a complicated nature which serves mainly to advanced users, and things are obvious for such advanced users.
**
Reminding:
Gena contains 3 ways of build way on core level.
1) Default is "Small Core" where Gena uses an optimized set of files to create PE, where "Saydin77 Builder" used for main operations (registry, hives, language), rest done by plugin.
2) "Small Core" not used --> "Saydin77 Builder" creates PE, fully following MS instructions (very like old BartPE beside works much better).
3) RegFactory, Builds over "Saydin77 Builder" by fully adding all components with virtual step.

Plugins designed to work with "Small Core" , as a result plugins operational with all kind of builds.

4) -> one can create Gena smaller than "Small Core" , but very small number of plugins ( Some File Manager and dependency plugins) designed to work with such build. I had used such builds to design very optimized core plugins. Besides such thing not practical for any normal user.

Tip:
RF builds do not require main dll registration during boot, this gives way to boot Gena "Small Core" with smallest ram requirement using Explorer Shell on internet.
Basic\Build\"RF Hive" designed for that goal.
Well this may look too advanced. Mostly proves Gena is very flexible with provided options.


there is no any indication if it is enabled or disabled (I think it would be better if it has one simple check box instead of two Enable/Disable buttons, especially since there already exists "Register Factory API" plugin which is mandatory, i.e. it is always enabled, and whose name could mislead someone to think that the RegFactory option in the CoreMain plugin is automatically enabled as well).
It is result of missing features of winbuilder.
so workaround is to have Enable/Disable buttons and 2 mandatory plugins.

It is also unclear what is actually enabled if you tick the "Enable CoreMain" check box.

Any user should observe available new plugins, and some not available plugins after Enable button.



****
Well you can create a "RegFactory Instruction" topic to share your experience with new users.


:turtle:

Re: msscript.ocx is not registered in "Scripting Support MS"
« Reply #7 on: June 25, 2017, 08:33:54 AM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7236
I am using one program that is based on scripting which I want to use in WinPE.

btw,

For your mysterious program,
Adding msscript.ocx for none-RF build possible, by adding required things to
Gena\Components\Core\1 System\"Scripting Support MS" plugin

Well, such things goes with feedback. When you achive, let us know.

:turtle:

 

Powered by EzPortal