MSFN Forum: Win7PE SE - MSFN Forum

Jump to content


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Win7PE SE Build your PE3 project Rate Topic: -----

#41 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 10 March 2011 - 09:20 PM

Hi ChrisR,

probably another shortcut.exe fix ;)
can we have a fix for [autorun]
I guess it does not like space paths, (and maybe env. variables too)

following does not work :(

[autorun]
...
nowait|Resolution|%SystemDrive%\Program Files\Resolution Changer\Resolution.exe


also tested following, does not work too
[autorun]
...
nowait|Resolution|X:\Program Files\Resolution Changer\Resolution.exe


on the other hand, this works
[autorun]
nowait|MultiRes|Y:\Programs\MultiRes\MultiRes.exe

http://www.mediafire...395i2ivbf9769gb

I feel, because of this failure, some workarounds needed in the past which you will remember........ ;)

Thanks for SendTo fix :wub:

See you. :thumbup


#42 User is offline   ChrisR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 27-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 March 2011 - 07:48 AM

Hi Lancelot,

View PostLancelot_Real, on 10 March 2011 - 09:20 PM, said:

Thanks for SendTo fix :wub:

I can do some changes in AutoIt, but I'm far from being a specialist.


The program shortcuts.exe seems to work fine with autorun and space in paths or env. variables.

If you look in Task Manager, the process Resolution.exe is running, in both cases :

[autorun] 
nowait|Resolution|X:\Program Files\Resolution Changer\Resolution.exe
or
nowait|Resolution|%SystemDrive%\Program Files\Resolution Changer\Resolution.exe

by cons there seems to be an issue with resolution and his tray icon if it is executed before Explorer :wacko: .

If you kill the process Resolution.exe and ReRun shortcuts.exe with :

Shortcuts.exe -f %SystemDrive%\Windows\System32\Win7PE.cfg

in this case resolution.exe working properly and the icon is displayed in the tray (as when running with RunOnce)

MultiRes him, work correctly, executed before or after Explorer, Thanks for the script :)


I tested shortcuts.exe also with a batch file :

test.bat
echo test >"x:\Program Files\Resolution Changer\test.log"

Win7PE.cfg
[autorun] 
nowait|Resolution|X:\Program Files\Resolution Changer\test.bat
or
nowait|Resolution|%SystemDrive%\Program Files\Resolution Changer\test.bat

It work well here also. Thanks a lot JFX for this great program :thumbup

Posted Image

#43 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 11 March 2011 - 04:52 PM

Thanks ChrisrR,

Sharpe eyes indeed :thumbup
(sorry for being a bit careless since currently my main focus can not be pe2/3.....)

View PostChrisR, on 11 March 2011 - 07:48 AM, said:

by cons there seems to be an issue with resolution and his tray icon if it is executed before Explorer :wacko: .

in fact, you found the correct issue here.

following configuration file [autorun] defination
http://www.vistape.net/vistape-api.php

Quote

Description of section [autorun]:
Programs for autorun, starts immediately after the default shell is launched....

rest of defination is to me not much important since it seems to me a lot loader dependent which I like using more modular way (penetwork)

can we get autorun section processed, *after shell launched ? which I feel would fix Resolution.exe following your desciption.

In addition:
yes it is a known phenemon (which I totally missed :whistle: ), when explorer re-starts (or like in above case), some taskbar items disappears (resolution.exe), some come back (multires.exe).
I feel this is about applications, Since such applications normally starts after explorer, some authors can easly overlook (good boy my old friend multires)


View PostChrisR, on 11 March 2011 - 07:48 AM, said:

Thanks a lot JFX for this great program :thumbup
:thumbup Thanks a looot JFX for everything :). (I feel so far, I thanked more than 100 so far including thanks buttons JFX ;))

#44 User is offline   ChrisR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 27-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 March 2011 - 06:15 PM

Quote

Description of section [autorun]:
Programs for autorun, starts immediately after the default shell is launched....

Just an idea, Maybe not good one with existing applications scripts ;) .

We can have a new program like shortcuts.exe executed with RunOnce, which starts after the shell.

This new program read and execute the autorun section of cfg file and also the programs from StartUp folder.

In this case the section postconfig would be the last one executed by the program shortcuts.exe and forget the autorun section.

startup would be

.......
CdUsb.exe
"hide /NOCONSOLE /SILENT /WAIT start.cmd"
"Shortcuts.exe -f %SystemDrive%\Windows\System32\Win7PE.cfg"
"PinTool.exe -debug %SystemDrive%\Windows\System32\Win7PE.cfg"
"X:\Program Files\PEShell\PEShell.exe"
   Explorer.exe (BsExplorer)
      Autorun.exe --> Autorun.cmd
      Runonce --> NewProgram (autorun cfg & StartUp folder)
              --> PeNetwork, ... 


Posted Image

This post has been edited by ChrisR: 11 March 2011 - 06:23 PM


#45 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 11 March 2011 - 06:40 PM

Hi ChrisR,

Ignore startup folder :) (sorry for my previous posts causing confusion), it does not need to be processed since in fact, all startup functions are made by [autorun] , to get multishell compatibiltiy of startup.
With other words, startup is always empty, nothing to process there.

I did not test, but as far as I remember, runonce do not work on waik source builds ??
Yep I know Win7PE SE does not support waik..... but is it possible to produce an overall solution to be used more easly and widely in future (and today) ??

In anyway, Since now you fully understand a well defined case, final decision is up to you. :thumbup

#46 User is offline   ChrisR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 27-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 March 2011 - 07:02 PM

Hi Lancelot,

Yes, you are right, runonce do not work on waik source I think and on some other projects <_<

it would perhaps be a solution for Win7PE_SE but not an overall solution so forget it for now. Just sharing an idea,

Good work on your main focus :)

#47 User is offline   humaxmk1 

  • Group: Members
  • Posts: 1
  • Joined: 17-March 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 March 2011 - 09:21 AM

Hello,

I´ve build a Win7Pe by your Project and it works very fine!

Now I will copy WinPE to a grub4dos Multiboot USB Stick. The Problem is, that after booting the CD Device is missing and teh Programs Archive is not ready!

1. Test: I copy the ISO to Stick and mount it ...
2. Test: I copy the Archive strukture to stick and boot it (like Harddisk?!)

Everytime the Programs Archive is missing

Can anyone help me?

Sorry for the bad english!

humaxmk1

This post has been edited by humaxmk1: 17 March 2011 - 09:24 AM


#48 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 17 March 2011 - 10:16 PM

Hi humaxmk1,

View Posthumaxmk1, on 17 March 2011 - 09:21 AM, said:

2. Test: I copy the Archive strukture to stick and boot it (like Harddisk?!)

For this condition, I guess you also need to add an empty file with name
CdUsb.Y
to root of stick, let me know if it works.


View Posthumaxmk1, on 17 March 2011 - 09:21 AM, said:

1. Test: I copy the ISO to Stick and mount it ...

Here is a solution for this case,
extract following
http://www.mediafire...9sd73o61fjcbutj
to
..\Projects\Win7PE_SE\Build\
folder (overwrite previous)
make your build again.......

Good luck. :thumbup

#49 User is offline   ChrisR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 27-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2011 - 06:29 AM

Project Updated: Win7PE_SE_2011_05_16

the initialization process of the project was partly rewritten to be compatible also with Win7 SP1.
With, among others, the choice of tools for manipulating wim files (WimUtil, ImageX) or from Extracted wim folders.
Wim tools are automatically extracted from Installed WAIK, Your local SystemDir or Your build source (Install.wim). See notes on Retrieve tools script.

Notes: the files imagex.exe and wimgapi.dll are renamed with the extension 6.0 or 6.1 in tools\x86(x64) for coexist both versions.
Press the button "Prerequest files Info" in preconfig script for further information.

Features :

WimUtil : WimUTil Reborn For manipulating Windows Image Files (.wim) without undistributable ImageX.exe. working with both 32 and 64 bit builds, with many options. Thanks Homes32. WimUtil
Common_Api : added new api command ScriptInterface{Read|Write|State} - Removed Getinterface, ShowComponent, WriteInterface (depreciated). Thanks Homes32.
config : Main Configuration Version 17.
00-retrieve : Retrieve hostOS Tools and Wim Tools (wimgapi, wimmount,...).
Images : Images tools and Information, choose your tools for manipulating files wim or Use your Extracted wim folders (manual extraction).
0-PreConfig : Mounting source and more..., Script in Version 19.
2-Config : shortcuts.exe add function SendTo and shorcuts on all types of file (not only exe,cmd,..). RunOnceEx available with entries writing from other scripts.
5-WoW64 : provides support for running 32bit programs in a 64bit environment, now works also with Win7 SP1. thanks JFX.
DotNet : .Net Framework optimized in version 6 with Run From CD, DotNet 2.0 minimal,.... Thanks 2aCD.
hotplug : Safely remove hardware from your computer. Thanks Dera. still in development, here with Hotswap! tools.
HwPnP: Install Plug and Play Hardware Detection version 26. Thanks Paraglider.
IscsI : Ms iSCSI Initiator. Thanks Ludovici.
NetworkCenter: Adds Network Center environment. Thanks Dera.
Internet Explorer : fix Problem with Win7 Enterprise En. Thanks 2aCD.
Display: DirectX and custom .msstyles together fix. Thanks LaVerne.
display drivers: Add original display drivers to your Windows 7 PE.
DaRT65 : Ms Diagnostic and Recovery Toolset. Thanks yahooUK, JonF.
xchm : help file viewer version 1.19, with no FalsePositive on virus total for now.
LetterSwap : Synchronizes letters of disks Host & Guest OS. Thanks Nikzzzz.
RegCPE : Registry Convert PE - Convert .Reg to .Au3 & .Reg & .script to be used for PE Build Tasks Easly and Securely. Thanks BlueLife, Lancelot.
AA_Best_Emulation : Runs your ISO with best possible (available) virtual machine (emulator). Thanks Gena People.

And many other improvements and optimizations, thanks to Gena people and Reboot members.

be happy.
Posted Image


Important: Always Check Win7PE SE topic post 1 to get latest updates and informations.

This post has been edited by ChrisR: 16 May 2011 - 08:06 AM


#50 User is offline   ChrisR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 27-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 May 2011 - 03:45 PM

Project Updated: Win7PE_SE_2011_05_20


Small adjustments and Download Server.

CDDrive_X_Y: times for the drive to be assigned extended to 60 seconds max for various hardware configurations.
Images: Fix a bug on displaying wim information.
Explorer: Fix Add File Attributes Column, improvement of ISO Date-Time Format. thanks Arvy.
Winbuilder.chm: Winbuilder help chm. Thanks Paraglider.
Update some Download_Level for the download server.

The Download server is now available: win7pe.winbuilder.net/SE



Important: Always Check Win7PE SE topic post 1 to get latest updates and informations.

#51 User is offline   bankbb1 

  • Group: Members
  • Posts: 1
  • Joined: 03-June 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 June 2011 - 09:07 PM

Thank :hello:

#52 User is offline   ChrisR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 27-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 July 2011 - 08:32 AM

Project Updated: Win7PE_SE_2011_07_22


Many changes to improve the building speed and lots of small fixes and improvements and among others:

winutil: updated to version 3.1.3.0, thanks homes32.
locale: added support for Hebrew and Belgian
HostOS Import Manager: Import HostOS settings to PE here TimeZone for now.
Super Finder: updated to version 1.6.3.2
Opera_USB: updated to version 11.11
ppAppsGen10: script updated to version 10, thanks amalux
Attribute Changer_Petges: shell extension is a power user tool to change all kind of file and folder attributes, date, time. Thanks Arvy.
72hours: Disable the 72 hours time limit, thanks joakim, TheTruth.
PartedMagic: Added support for PartedMagic v6.3
RegCPE: Registry Convert PE v1.4.2.0 - Convert .Reg to .Au3 & .Reg & .script
Extracted_Wim_Folders: Extract boot.wim and install.wim to folders and get ready to build, thanks Lancelot.
Update_BLexact_Win7PE SE: Script helps you to download 'exact' copy of 'project server' and to Update easly. Thanks to BlueLife for BLExactServer, thanks Lancelot for the script.
And more......

Caution, the Folder Debug was renamed to Utils (more appropriate)

Notes: the update of win7pe.winbuilder.net/SE server with dropbox does not work currently. The scripts on the server are not up to date.

A special thanks to Lancelot, 2aCD for the very good previous additions, and ALL others to make this project better and better :thumbup .


Important: Always Check Win7PE SE topic post 1 to get latest updates and informations.

This post has been edited by ChrisR: 22 July 2011 - 10:10 AM


#53 User is offline   TheKeymaker 

  • Group: Members
  • Posts: 5
  • Joined: 19-September 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 September 2011 - 03:01 PM

Hello everyone,

I am a Win7PE_SE newbie but I've managed to get an image of Win7PE_SE working on my target machine. My problem (question) is how do get a program to automatically start after Win7PE_SE boots?

Here is my current script which I've located in the C:\Win7PE_SE_2011_07_22\Projects\Win7PE_SE\Apps\testProgram directory.

[main]
Title=TestProgram
Description=Autostart test program
Selected=True
Level=5
Version=1
NoWarning=False
Download_Level=0

[variables]
%ProgramTitle%=TestProgram
%ProgramEXE%=TestProgram.exe
%ProgramFolder%=TestProgram

[process]
CopyProgram,%ScriptDir%\%ProgramFolder%,%Target_Prog%\%ProgramFolder%
Hive_Load,HKCU
RegWrite,HKLM,0x2,%reg%\Software\Microsoft\Windows\CurrentVersion\RunOnce,"TestProgram","#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q"
Hive_Unload



The script does not work as TestProgram.exe does not start after Win7PESE boots.

What am i doing wrong?

Thanks in advance

#54 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 20 September 2011 - 02:34 AM

Hi TheKeymaker,

Try
Add_Shortcut,AutoRun

Also check "Script Creator" here http://theoven.org/index.php?topic=178

#55 User is offline   TheKeymaker 

  • Group: Members
  • Posts: 5
  • Joined: 19-September 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 September 2011 - 03:48 AM

@Lancelot_Real.

Thank you for the response. I added Add_Shortcut,AutoRun and that did not work.

Adding "Add_Shortcut,Desktop" and/or "Add_Shortcut,StartMenu" DOES work and when i click on the shortcuts the program launches. So I don't think there is a problem with my program or it's location.

Is there something else I need to do to get a program to automatically start on Win7PE_SE boot up?

Thank you.

This post has been edited by TheKeymaker: 20 September 2011 - 03:48 AM


#56 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 20 September 2011 - 06:10 AM

Hi TheKeymaker,

try with multires
http://www.entechtai...l/multires.shtm

....
%ProgramTitle%=TestMultiRes
%ProgramEXE%=MultiRes.exe
%ProgramFolder%=TestMultiRes
....
Add_Shortcut,AutoRun


here it works nicely.



Here also another test routine:

Test.cmd
Echo Test
pause


%ProgramExe%=Test.cmd
....
Add_Shortcut,AutoRun





If not secret, what is your "TestProgram" ?
or what is your goal with your TestProgram ???
or do you need special* operations, like we used to do with runonce, or is it only about starting an application like multires......

This post has been edited by Lancelot_Real: 20 September 2011 - 09:20 AM


#57 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 20 September 2011 - 08:51 AM

View PostLancelot_Real, on 20 September 2011 - 06:10 AM, said:

try with multires


Is this the same multires?
http://www.entechtai...l/multires.shtm

#58 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 20 September 2011 - 08:58 AM

View PostTripredacus, on 20 September 2011 - 08:51 AM, said:

Is this the same multires?
http://www.entechtai...l/multires.shtm


Yes,
only packed to easly test as plugin..

if there is license trouble, i can find another example.......

#59 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,670
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 20 September 2011 - 09:03 AM

View PostLancelot_Real, on 20 September 2011 - 08:58 AM, said:

View PostTripredacus, on 20 September 2011 - 08:51 AM, said:

Is this the same multires?
http://www.entechtai...l/multires.shtm


Yes,
only packed to easly test as plugin..

if there is license trouble, i can find another example.......


Since not all are free (I didn't download it so you can check the EULA if you want) I'd use a different option. Only because you posted a mediafire link instead of the original link (like me) plus instructions on how to make the plugin.

#60 User is offline   Lancelot_Real 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

Posted 20 September 2011 - 09:23 AM

Yes bad eula,
I changed link on my post 56 :thumbup

Now I need to find another example to be used in future :whistle:

Share this topic:


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy