maxXPsoft

Ask your Seven xml ? here

616 posts in this topic

Hi maxXPsoft and myselfidem,

May I ask a stupid question for my culture :blushing:

What difference between launching prog from <SynchronousCommand...<order and $OEM$\$$\Setup\scripts\SetupComplete.cmd?

Which is launched first <SynchronousCommand or SetupComplete.cmd?

Do SetupComplete.cmd is launched automaticaly (No external command)?

Can I use both <SynchronousCommand and SetupComplete.cmd?

Regards

0

Share this post


Link to post
Share on other sites

It's an interesting question, you know!

I use both:

Inside Autounattend.xml

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

And SetupComplete.cmd inside: $OEM$\$$\Setup\Scripts\SetupComplete.cmd

I think SetupComplete.cmd is launched first (which runs after OOBE phase but before first logon) and after the <SynchronousCommand > at first logon!

http://social.techne...d4-868cfe0635d7

Yes! SetupComplete.cmd is launched automaticaly if exists

http://technet.micro...314(WS.10).aspx

http://technet.micro...314(WS.10).aspx

FirstlogonCommands:

http://technet.micro...150(WS.10).aspx

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

It's an interesting question, you know!

I use both:

The question is not fortuitous.

In fact, I noticed, that some of the registry tweaks are not applied with the <SynchronousCommand, especially the here bellow attached Mouse Pointer. On the other hand, that registry is applied when it run under WPI.

My next test is to run that registry via SetupComplete.cmd.

Pointer Inverted Extra Large.reg

Edited by coucou
0

Share this post


Link to post
Share on other sites

Yes, you can use SetupComplete.cmd to add registry keys!

Example (You can also add other registry keys!):

SetupComplete.cmd


@ECHO OFF
SET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\001 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\Tweaks.reg" /f
EXIT

If you want you can also inject the keys inside the mounted hives (post #91 and after):

http://www.msfn.org/board/topic/139572-ask-your-seven-xml-here/page__st__80

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

I'm starting the tests and let you know later tomorrow

0

Share this post


Link to post
Share on other sites

Test made here the rsult...

SetupComplete.cmd is launched first is launched widely befor WPI <SynchronousCommand <order>6</order>.

This time almost all registries are implemented except the here bellow Mouse Pointer. I think, I'll add the same cursor registry entries to

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cursors

I tested setAcl works like a charm :thumbup

setAcl is also launched by SetupComplete.cmd

I encountered 2 problems.

1) During the install after the 1st or second reboot I got the messages "Activate Windows" that I cancelled then I got "This copy of Windows is NOT genuine"...

I remind you all my install test are on a VMWare Worstation machine. I made many many test installation before, is the first time i get that genuine message.

2) Right clik Desktop, I've "Task Manager" shortcut directing to nowhere.

Regards

Pointer Inverted Extra Large.reg (3.29K)

Edited by coucou
0

Share this post


Link to post
Share on other sites

Test made here the rsult...

1) During the install after the 1st or second reboot I got the messages "Activate Windows" that I cancelled then I got "This copy of Windows is NOT genuine"...

1) Have you used the original key or the default key for Windows 7?

If you have used LicRestore to save and use Tokens.dat and pkeyconfig.xrm-ms, you need to make a new time for Windows 7 SP1 because the files aren't the same that Windows SP0!

Help here also:

http://www.msfn.org/.../page__st__1400

2) It seems the registry key isn't the good one for "Task Manager"! Could you attach the reg file to check?

*Edit:

I use this one (Task Manager with right click on the Desktop):

TaskManager.reg


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\taskmgr]
@="Gestionnaire des tâches"
"Icon"="taskmgr.exe"
"Position"="Bottom"

[HKEY_CLASSES_ROOT\Directory\Background\shell\taskmgr\command]
@="taskmgr.exe"

Edited by myselfidem
0

Share this post


Link to post
Share on other sites
1) Have you used the original key or the default key for Windows 7?
Since allways I'm using the default key.

Moreover, I've used that unattended Win7 SP1 since 8 tests with no genuine message during the install. All what I modify is <SynchronousCommand in Autounattend.xml, added $OEM$\$$\Setup\Scripts\SetupComplete.cmd and $OEM$\$$\Setup\Scripts\MyTweaks.reg :blink:

Regarding TaskManager.reg, the following was missed

[HKEY_CLASSES_ROOT\Directory\Background\shell\taskmgr\command] 
@="taskmgr.exe"

Regards

Edited by coucou
0

Share this post


Link to post
Share on other sites

Could you attach your new Autounattend.xml file, please?

0

Share this post


Link to post
Share on other sites

Could you attach your new Autounattend.xml file, please?

Here ist it

0

Share this post


Link to post
Share on other sites

I think you need to use the new KB890830 (May) inside your Autounattend.xml file:

windows-kb890830-v3.19.exe

windows-kb890830-v3.19-delta.exe

I don't integrate this update and this one change every month!

http://catalog.updat...aspx?q=kb890830

http://forums.mydigitallife.info/threads/23139-Not-genuine-after-KB890830-(latest-quot-software-removal-tool-quot-)

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

I think you need to use the new KB890830 (May) inside your Autounattend.xml file:

I don't integrate this update and this one change every month!

TNX for the new KB890830 .

I will NOT integrate the delta.

What I don't understand is I was using that same KB890830 +delta since 9 install without any genuine problem :blink:

0

Share this post


Link to post
Share on other sites

I suggest do not install KB890830 but let Windows Update install this update!

It's just my advice!

The silent installation is faster whithout KB890830.

0

Share this post


Link to post
Share on other sites

I'll made other tests. As a last resort I'll not install KB890830

I let you know further

Edited by coucou
0

Share this post


Link to post
Share on other sites

Bonsoir myselfidem,

As promised, I made the tests and here the results.

1) Regarding the messages I got "Activate Windows" during the install after the 1st or second reboot is due to my installed VMWare Workstation, I had to uninstall and RE-install it. In fact the vmware-vmx.exe file in the VMWare Workstation prog is acting as the BIOS for the virtual machine. That file was failed.

So after having my virtual machine Win7 activated, I backup it with this TOOL. I got backup success. I made again some modifications inside my unattended Wi7 and RE-install it, I loose the activation. So Itest that same tool for the restore, this time I got "ERROR: Windows activation info backup is not found" altough the backup exists :blink:

2) Except the Mouse Pointer tweak (post #171) evrything works just fine :thumbup

3) I updated WPI 8.1 to 8.2 it looks more accurate. (I copy from 8.1 to 8.2 config.js; useroptions.js and windowoptions.js).

The only problem I've with WPI 8.2 is 2 screens overlaped.

In fact my WPI consist of 4 screens of prog to install. When WPI start, everything goes fine. Few minutes later screen 3 and 4 become overlaped and can't check or uncheck any prog to install (see image bellow).

I'll appreciate if you can help

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.