Jump to content











Photo
- - - - -

New Feature Script


  • Please log in to reply
81 replies to this topic

#51 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 02 November 2010 - 11:26 PM

Thanks Vvurat and Wonko the same :cheers:

I remember now my famous project :cheers: :hyper:

#52 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 05 November 2010 - 10:02 PM

How integrate the Windows Seven NetCenter (As on Make_PE3, or MultiPELeopard); what is the registry setting (I think, i have all the files...) ?

Hi Ludovici,
try:
Attached File  networkcenter.7z   13.03KB   73 downloads

lets say it is for test only
i have tried only in ChrisR's 'Win7PE_SE_2010_10_25' project using Windows7 x86 en-US Ultimate RTM source,
nevertheless seems to me also the 'xwizards' script is mandatory

#53 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 05 November 2010 - 10:26 PM

Thanks dera :lol:

Your Script work :confused1:

#54 RoyM

RoyM

    Frequent Member

  • .script developer
  • 420 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 10 November 2010 - 03:41 AM

Hi Ludovic, Great script, had to be a bear to put it all together, anyhows, Good Job, I have been using the script with some minor modifications for a while now, and it seems to be doing wonderfully, IE8 works great, Gadgets is near complete but functional, I like the addition of Paint. Wordpad, etc. all in the accessories folder, (Good Job), Virtual Keyboard is inop and Media Player needs codecs, Perhaps it's my build, I'm using NativeEx_Win7 aka(Joshua's Project) with Windows Seven Services V2.script.
If you have specific question reguarding your script,Post it here and I will try to accomodate.

My question is this:
Within your script you have Attachments\SxS\2008.7z -> SideBySideXn5.reg
and it's not registered into wb-hive, "Why"

I have included into my wb-hive and can't seem to find any difference:
Please Inform me:
Here's How I did it;

First: Edit SideBySideXn5.reg
Find and Replace;
Find: HKEY_LOCAL_MACHINE\COMPONENTS
Replace: HKEY_LOCAL_MACHINE\WB-COMPONENTS
Replace All, Save SideBySideXn5.reg and Attach it back where it came from;

Here's the code I added inside Feature Pack.script;

Unpack,"SxS","2008.7z","True","%TargetDir%"
Echo,"Getting ready for COMPONENTS into Regedit",WARN
If,ExistFile,"%Target_Sys%\config\COMPONENTS",Begin
Echo,"Loading COMPONENTS into Regedit",WARN
RegHiveLoad,WB-COMPONENTS,"%Target_Sys%\config\COMPONENTS"
ShellExecute,"open","regedit.exe","/s #$q%Target_Sys%\SideBySideXn5.reg#$q"
RegHiveUnLoad,WB-COMPONENTS
End
If,ExistFile,"%Target_Sys%\SideBySideXn5.reg",FileDelete,"%Target_Sys%\SideBySideXn5.reg"


All entries go into COMPONENTS hive and end up in build just fine, but again, I notice no differences. If you have any more info or advice, please inform me.
Thanx Again for your hard work on this script. Good Job
RoyM

#55 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 10 November 2010 - 07:35 AM

My question is this:
Within your script you have Attachments\SxS\2008.7z -> SideBySideXn5.reg
and it's not registered into wb-hive, "Why"

i suppose ludovici aim to register at boot time
as in the [SBS] section at line #7003 i see this line:
TXTAddLine,"%Target_Sys%\autorun.cmd",regedit.exe /s SideBySideXn5.reg,PLACE,2

maybe this script line does not work correctly?

#56 RoyM

RoyM

    Frequent Member

  • .script developer
  • 420 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 10 November 2010 - 07:50 AM

Yes, That seemed to be the original intention to register at boot.
Here's how I found that code originaly;

[SBS]
Echo,Processing SidebySide 2008 v.1 For VistaPE...
#
Unpack,"SxS","2008.7z","True","%TargetDir%"
#
#Hive_Load,HKU
#reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\0","SxS","Regedit /s X:\Windows\System32\SideBySideXn5.reg"
#Hive_Unload,HKU
#AddAutoRun,"SideBySide","X:\Windows\regedit.exe","/s X:\Windows\System32\SideBySideXn5.reg",1
TXTAddLine,"%Target_Sys%\autorun.cmd",regedit.exe /s SideBySideXn5.reg,PLACE,2
#

As you can see it unpacks but most is commented out.
I was interested in why these were included, ie. "What is it for"
It appears to be for C++, but I notice no difference if included in build.

#57 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 10 November 2010 - 08:15 PM

i can easily imagene that to run some application - developed with Visual C++ - may require these runtime components of Visual C++ Libraries
e.g. Avira, Acronis full (not BartPE vesion), etc.


I'm using NativeEx_Win7 aka(Joshua's Project)

in this case probably it's more efficient to comment out the line 'TXTAddLine,"%Target_Sys%\autorun.cmd",etc.'
and uncomment the line
AddAutoRun,"SideBySide","X:\Windows\regedit.exe","/s X:\Windows\System32\SideBySideXn5.reg",1

#58 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 18 November 2010 - 10:37 PM

Hello everybody ;)

Windows Features scripts
Places Windows Features in Projects\Win7pe_SE
It's Script in beta test, if maybe perhaps someone can help me to improve it :hi:

#59 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 18 November 2010 - 10:57 PM

thank you for changing topics Ludovici :hi:

#60 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 20 November 2010 - 02:05 AM

Hello everybody :hi:

Windows Features scripts
Places Windows Features in Projects\Win7pe_SE
It's Script in beta test, if maybe perhaps someone can help me to improve it :hi:

Currently have some issues with a few items...I'm using X64 for the build system (my computer) and the retail, english X86 CD as the source.

1. get an error in the smart card script - will try to get specific error message, but basically, it couldn't find a file to copy. Same thing on the system item "side by side"...had to disable them to get it to complete.

2. not sure what the point of the "power script" script is, since when I select it from the menu, I get a flash, and then it just exits...so something wrong there as well.

3. in the process of tracking down a "crash" in the virtual machine, I get BSOD with wimFsf.sys PAGE_FAULT_IN_NONPAGED_AREA I attached screen shot of the info... Looks like this is from the "fonts" script...General comment about the scripts - lots of stuff in it about all sorts of fonts being added to the registry, without any clue if those fonts are available...There are settings in the project that control if a lot of fonts get added, etc.

Sorry this is still pretty vague - I wanted to at least post what I know now.

Attached Files

  • Attached File  bsod.jpg   16.54KB   22 downloads


#61 vvurat

vvurat

    Frequent Member

  • Advanced user
  • 323 posts

Posted 21 November 2010 - 09:07 AM

BitLocker is available only in the Enterprise and Ultimate editions of Windows 7. If you are trying to build from another version of Windows 7 (forexample Home Premium) it is normal it can not find the specified files. Other files and registry settings can be because of that or from another reason.

#62 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 21 November 2010 - 09:32 AM

BitLocker is available only in the Enterprise and Ultimate editions of Windows 7. If you are trying to build from another version of Windows 7 (forexample Home Premium) it is normal it can not find the specified files. Other files and registry settings can be because of that or from another reason.


I am building from Windows 7 Ultimate 32-bit but as stated, the folder is completely empty.

Edited by skyide, 21 November 2010 - 09:32 AM.


#63 vvurat

vvurat

    Frequent Member

  • Advanced user
  • 323 posts

Posted 21 November 2010 - 09:39 AM

You can try to build from ultimate dvd but did you selected the right image from inside wim. As you know there are 5 editions in the install.wim. Maybe you forgot to select ultimate from editions.

#64 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 21 November 2010 - 09:56 AM

Hi

this is my bitlocker script,

i use it in my special build,
i always build from Windows 7 en-US x86 RTM (Ultimate) source,
if remember right this script works in ChrisR's 'Win7PE_SE_2010_11_12' project, too
(ChrisR's project uses
install.wim image index=1
and ChrisR's project adds also the full
'HKLMSOFTWAREMicrosoftWindows NTCurrentVersionSvchost'
registry tree - it is an important point i think)

unlocking the encrypted drive via GUI (which available from 'Control Panel') seems to work
Attached File  bitlocker_1.jpg   73.58KB   42 downloads

Attached File  bitlocker_2.jpg   64.58KB   40 downloads


so lets say it is for test only:
Attached File  bitlocker.7z   2.27KB   33 downloads

#65 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 21 November 2010 - 10:00 AM

You can try to build from ultimate dvd but did you selected the right image from inside wim


I have not selected anything :hi: I just dropped the Windows Features script and proceeded with the build. I am using Win7PE_SE_2010_11_08 (Chris' package).

Please excuse my ignorance, but where is this option, where do you select this? I have not seen it before.

Edited by skyide, 21 November 2010 - 10:02 AM.


#66 vvurat

vvurat

    Frequent Member

  • Advanced user
  • 323 posts

Posted 21 November 2010 - 10:12 AM

Normally ludovici always forget or skip to put such a button :hi: need to search inside scripts.

Thank you dera for script. I deleted bitlocker files for to gain space becase i couldn't see ever it shows usb drives. After that again added the needed files but this time i don't see bitlocker in the control panel.

Want to check your script very much.

#67 al_jo

al_jo

    Gold Member

  • Members
  • 1218 posts
  • Location:Tellus

Posted 21 November 2010 - 05:28 PM

3. in the process of tracking down a "crash" in the virtual machine, I get BSOD with wimFsf.sys PAGE_FAULT_IN_NONPAGED_AREA I attached screen shot of the info... Looks like this is from the "fonts" script...


Think that is a "pack" issue. Try this:
In ”Finalize” > ”Postconfig” choose ”Maximum” compression!

#68 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 22 November 2010 - 07:45 AM

sbaeder, try these:

http://www.boot-land...?showtopic=2932
http://www.boot-land...?showtopic=2811
http://www.w7forums....-error-t89.html
http://www.tomshardw...-windows-system

I haven't read through but they all talk about wimfs.sys

#69 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 22 November 2010 - 08:39 AM

hi ludovichi

verrrrrrry nice indeed , THANKS a lot.

on coding, interface , organisation I like your style :hi:
I get errors and warnings in
Windows Control Panel Fonts
Windows Control Panel Card
Windows .NET Framework v2.0.50727
Windows SideBySide

Windows Control Panel Card is easy to fix
+
remove line: FileCopy,%InstallSRC%\Windows\System32\scfilter.sys,%TargetDir%\Windows\System32
(line is wrong and cause error + there is already Require_File,drivers\scfilter.sys)
+
FileCopy,%InstallSRC%\Windows\System32\smartcrd.inf,%TargetDir%\Windows\System32
-->
FileCopy,%InstallSRC%\Windows\inf\smartcrd.inf,%TargetDir%\Windows\inf

rest all about regwriting.....
Well, I do not have much free time these days to comment and work more, in time one by one.....
If you can put the .reg files you have inside rest of 3 scripts in your next package as references, I guess solutions will come much more easly :hi:.

Thanks a lot again, Keep the good work ;)

#70 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 22 November 2010 - 03:26 PM

sbaeder, try these:

http://www.boot-land...?showtopic=2932
http://www.boot-land...?showtopic=2811
http://www.w7forums....-error-t89.html
http://www.tomshardw...-windows-system

I haven't read through but they all talk about wimfs.sys

OK, and will also try the pack to MAX, although not sure why that would matter...

#71 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 22 November 2010 - 06:49 PM

Hello everybody :D

Thanks for all your reply :D :D

Normally ludovici always forget or skip to put such a button need to search inside scripts.

I don't understand, Vvurat :)
Vvurat please don't use Ultimate.script in Winbuilder Project (I have also this Error ); it's just for demonstration...
Have you progress on my Question about A Multilanguage Software Hive with Winbuilder ?
Thanks again for your good work, Vvurat :)
Sbaeder, have you test With : In ”Finalize” > ”Postconfig” choose ”Maximum” compression! ?

get an error in the smart card script - will try to get specific error message, but basically, it couldn't find a file to copy. Same thing on the system item "side by side"...had to disable them to get it to complete.

I have also, again this error...
I will update my script, i think tomorrow:
New BitLocker, Audio, SideBySide, rdp, fax Script...
Somebody can help me on Windows 7 Boot Updater and Hide, give me hide example ?

#72 vvurat

vvurat

    Frequent Member

  • Advanced user
  • 323 posts

Posted 22 November 2010 - 08:20 PM

Normally ludovici always forget or skip to put such a button need to search inside scripts.

Means there is no checkbox to select which image in install.wim will be used. Which edition.

A Multilanguage Software Hive with Winbuilder.

Hımm. Strange idea. My first answer could be "NO". But when i write this lines i had another idea. It can be possible. Tell me which languages you want. I can integrate that languages to install.wim with dism and can take that Software.hiv with all languages integrated. Modify that and send to you. If dism works on that hive to change language it can be perfect. You can change language only with (Dism /image:C:\test\offline /Set-AllIntl:fr-FR) If dism not works on it need to change language with a new language script and reg files.

pt-pt;ru-ru;de-de;tr-tr;fr-fr;it-it;nl-nl enough?

I can make a universal software.hiv for theese languages. only thing you will do is copy software.hiv inside winpe. I will send seperate reg files for different languages that needs to change in that software.hiv for desired language. You will do a script that has languages with checkbox. When a language checked script will import the change language reg files to that software.hiv?

What is your idea?

#73 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 22 November 2010 - 10:41 PM

pt-pt;ru-ru;de-de;tr-tr;fr-fr;it-it;nl-nl enough?

Yes, for me is enough :D

I can make a universal software.hiv for theese languages. only thing you will do is copy software.hiv inside winpe. I will send seperate reg files for different languages that needs to change in that software.hiv for desired language. You will do a script that has languages with checkbox. When a language checked script will import the change language reg files to that software.hiv?

I like this idea :D // checkbox will be pt-pt;ru-ru;de-de;tr-tr;fr-fr;it-it;nl-nl
I have already create a System.Hiv script, if you want... I can make this new script :D
How see you The system.Hiv script ? all the entire registry or just few part (Services...) separate with CheckBox (I have already work with the system hive, in the goal to separate the windows features)

#74 vvurat

vvurat

    Frequent Member

  • Advanced user
  • 323 posts

Posted 22 November 2010 - 10:47 PM

All the entire registry more easy. I think i can do that too. But i don't know now. I integrated 3 languages but wim corrupted at 4th language. :D I could give the hiv tonight but language integration takes too much time in my pc. It is 01:00AM. Maybe i run out of space at C: drive.

D:\Yenim>Dism /image:C:\a /Add-Package /PackagePath:"c:\nl-nl\lp.cab"

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package
~31bf3856ad364e35~x86~nl-NL~6.1.7600.16385
[===========================99.9%========================= ]
An error occurred - Microsoft-Windows-Client-LanguagePack-Package Error: 0x80070
5aa

Error: 1450

#75 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 22 November 2010 - 10:59 PM

Somebody can help me on Windows 7 Boot Updater and Hide, give me hide example ?


I can help on hide :D.
you can find following in active projects (ex: VistaPE-Capi, Win7PESE, Leopard, .......)
http://www.mediafire...wmn77eeiwsm95xr
on scripting when I need, I write
If,Not,ExistFile,%target_sys%\hiderun.exe,FileCopy,%Tools%\%SourceArch%\hiderun_%SourceArch%.exe,%target_sys%\hiderun.exe
and usage
hiderun.exe C:\test\mybatch.cmd
hiderun.exe /w C:\test\mybatch.cmd
hiderun.exe /w mybatch.cmd --------> mybatch in system32...
(more info: check hiderun_Info.txt + double click hiderun.exe)

reason using hiderun.exe is:
natural reason is hiding .cmd files (cmd.exe),
also console (cmd) applications cause cmd window popup,
(even if you do not open cmd.exe window previously, such applications open cmd window itsself to process ex: 7z.exe)
on pe1 it is mostly used with runonce.. entries,
One can also use hiderun.exe when creating shortcuts for .cmd files :).

as a result, cmd window target file will not popup when you use hiderun.

ps: most scripting languages also have this feature inside (ex/ wb: shellexecute,hide,... js: ask amalux :D au3:... ) , hiderun.exe is a small application that is used for same goal when one do not want to spend time (or space) with scripting/coding. :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users