IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
2 Pages V  < 1 2  
Reply to this topicStart new topic
> WinPE 2 Made Easy (Easy way to create/maintain your WinPE), Current version 1.0.0.3
jason.claude
post Jun 3 2008, 12:20 AM
Post #21





Group: Members
Posts: 4
Joined: 28-May 08
Member No.: 194133
OS: Vista Ultimate x86
Country Flag


Thanks a heap man, Was having trouble with Waiks command line, so this worked a treat

Jason
Go to the top of the page
 
+Quote Post
brosy
post Jun 4 2008, 01:07 AM
Post #22


Newbie


Group: Members
Posts: 13
Joined: 16-October 03
Member No.: 8189



Hi my question is related to HTA

in the tool there is 2 HTA components

WinPE-HTA-Package
Winpe-HTA-Support

as far as i can see there is only one HTA Package

C:\Program Files\Windows AIK\Tools\PETools>peimg /list D:\Mount
Preinstallation Environment Image Setup Tool for Windows
Copyright © Microsoft Corporation. All rights reserved.

Culture: en-US
Time zone offset: (GMT-08:00) Pacific Time (US & Canada)
Time zone name: "Pacific Standard Time" (use with /timezone)
Scratch space: 32 MB
Target Path: X:\

Lang | Version | Ins | Name
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-FontSupport-JA-JP-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-FontSupport-KO-KR-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-FontSupport-ZH-CN-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-FontSupport-ZH-HK-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-FontSupport-ZH-TW-Package
------+---------------+-----+-----------------------------------------------
en-US |6.0.6001.18000 | - | WinPE-HTA-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-HTA-Package
------+---------------+-----+-----------------------------------------------
en-US |6.0.6001.18000 | - | WinPE-MDAC-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-MDAC-Package
------+---------------+-----+-----------------------------------------------
en-US |6.0.6001.18000 | - | WinPE-Scripting-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-Scripting-Package
------+---------------+-----+-----------------------------------------------
en-US |6.0.6001.18000 | - | WinPE-WMI-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-WMI-Package
------+---------------+-----+-----------------------------------------------
en-US |6.0.6001.18000 | - | WinPE-XML-Package
------+---------------+-----+-----------------------------------------------
|6.0.6001.18000 | - | WinPE-XML-Package
------+---------------+-----+-----------------------------------------------

Listed 15 package(s).

PEIMG completed the operation successfully.

also not sure if this is related but i cannot run the following directly

mshta htafile.hta

instead i must run taskmgr and run the above line from "new Task". if you have any work around for this it would be appreciated

Damian
Go to the top of the page
 
+Quote Post
MadBoy
post Jun 4 2008, 12:10 PM
Post #23


Advanced Member
***

Group: Members
Posts: 411
Joined: 21-February 05
Member No.: 44662
OS: none
Country Flag


QUOTE (brosy @ Jun 4 2008, 09:07 AM) *
Hi my question is related to HTA

in the tool there is 2 HTA components

WinPE-HTA-Package
Winpe-HTA-Support

as far as i can see there is only one HTA Package


It's a bug on my side. I've typed too many checkboxes (copy/paste). The HTA-Package is legit. The HTA-Support is not. However no harm is done. Simply when program tries to execute this it fails and just continues for another. I will fix it in 1.0.4 or so. Sorry that i don't update this instantly but i don't realy have time since I've changed jobs (3 days in new job now) and don't realy have time since a lot of stuff at new job is kinda new to me newwink.gif

As for the HTA and TaskManager i realy can't say. I don't write scripts in HTA and never used it :-) But i would guess that my program doesn't affect work of HTA at all so this must be "normal" for this. It simply runs the command (in the background) to add HTA component and that's it.

Hope that helps. If you got some ideas how I can enhance the program let me know however i don't know when i will add them newwink.gif
Go to the top of the page
 
+Quote Post
lenova
post Jun 6 2008, 02:27 PM
Post #24





Group: Members
Posts: 2
Joined: 27-August 07
Member No.: 152535
OS: none
Country Flag


Hi again,

I think I've figured it out now. I had to add "wpeinit.exe" to the list of commands in "WinPE Startup".

Cheers!
Go to the top of the page
 
+Quote Post
boats2000
post Jul 23 2008, 09:43 AM
Post #25





Group: Members
Posts: 1
Joined: 23-May 08
Member No.: 193526
OS: XP Pro x86
Country Flag


Can you explain how destination Directory works? I would like to add files to folder that in the path on winpe environment. What is inside/outside? Do you have a help file?

Thanks,

Chris
Go to the top of the page
 
+Quote Post
Nuno Brito
post Jul 23 2008, 10:06 AM
Post #26


.script developer
**

Group: Members
Posts: 229
Joined: 11-May 06
From: Azores
Member No.: 96036
Country Flag


Don't forget Alland's project PE21 that also creates a Windows PE 2.x boot disk very easily.

The difference is that it also allows to add third party programs and use some desktop shells like emerge desktop or bblean. It's easy to use since it only requires to click on the "Play" button to produce a working boot disk.

http://www.boot-land.net/forums/?showtopic=4431

There is also VistaPE from Nightman that also creates a Windows PE 2.x boot disks from either Vista DVD's or regular Windows AIK.

VistaPE goes a bit farther and even includes the explorer shell as option when using the Vista DVD as source for building the boot disk: http://vistape.net - I also consider it very easy to use because it adds so many scripts to automate features addons that it would simply take too long to do it manually.

DriverPacks are dynamically included inside both projects.

smile.gif
Go to the top of the page
 
+Quote Post
MadBoy
post Jul 24 2008, 01:12 AM
Post #27


Advanced Member
***

Group: Members
Posts: 411
Joined: 21-February 05
Member No.: 44662
OS: none
Country Flag


QUOTE (boats2000 @ Jul 23 2008, 05:43 PM) *
Can you explain how destination Directory works? I would like to add files to folder that in the path on winpe environment. What is inside/outside? Do you have a help file?

Thanks,

Chris


Inside is inside the boot.wim, outside is outside of boot.wim (typically simple files folder just the way you would copy them over to pendrive or drive).

Hope this explains newwink.gif
Go to the top of the page
 
+Quote Post
blackburried
post Oct 13 2008, 11:01 AM
Post #28





Group: Members
Posts: 2
Joined: 13-October 08
Member No.: 214170
OS: Server 2008 x64
Country Flag


QUOTE (MadBoy @ May 30 2008, 02:48 PM) *
I'll take a look tommorow (going to sleep now and uni in the morning).

Was there a resolution? I'm seeing the same issue. It may be a 32 bit vs. 64 bit issue, as the result of running the startnet.exe manually is the same error I get running my other 32 bit apps in the 64 bit environment.

I'm also not seeing my special drivers load.

Note that the network works using the WAIK for 64 bit images in the command-line way.

Also, I can't view your png images... on Windows or Mac (they show all black).
Go to the top of the page
 
+Quote Post
MadBoy
post Oct 13 2008, 11:45 AM
Post #29


Advanced Member
***

Group: Members
Posts: 411
Joined: 21-February 05
Member No.: 44662
OS: none
Country Flag


QUOTE (blackburried @ Oct 13 2008, 07:01 PM) *
QUOTE (MadBoy @ May 30 2008, 02:48 PM) *
I'll take a look tommorow (going to sleep now and uni in the morning).

Was there a resolution? I'm seeing the same issue. It may be a 32 bit vs. 64 bit issue, as the result of running the startnet.exe manually is the same error I get running my other 32 bit apps in the 64 bit environment.

I'm also not seeing my special drivers load.

Note that the network works using the WAIK for 64 bit images in the command-line way.

Also, I can't view your png images... on Windows or Mac (they show all black).


Oh, the compiled startnet.exe is 32bit. So you're saying that if WinPE is 64Bit it won't run any 32bit app? If yes then i guess i should fix the program. If you can confirm it's that?

Can you please send me the log file from the program? Also can you mount the copied .wim file and see if the files from \Windows\System32 exists?
- startnet.au3
- startnet.exe
- startnet.cmd

if yes, what's the starnet.au3, .cmd content?

Message me all that and i'll see what's up.


Go to the top of the page
 
+Quote Post
blackburried
post Oct 13 2008, 04:31 PM
Post #30





Group: Members
Posts: 2
Joined: 13-October 08
Member No.: 214170
OS: Server 2008 x64
Country Flag


QUOTE (MadBoy @ Oct 13 2008, 11:45 AM) *
Oh, the compiled startnet.exe is 32bit. So you're saying that if WinPE is 64Bit it won't run any 32bit app? If yes then i guess i should fix the program. If you can confirm it's that?

Can you please send me the log file from the program?

Also can you mount the copied .wim file and see if the files from \Windows\System32 exists?

- startnet.au3
- startnet.exe
- startnet.cmd

if yes, what's the starnet.au3, .cmd content?

Message me all that and i'll see what's up.


I can confirm that 32 bit apps don't run... which I'd really like to find a way to run 32 bit apps... I have some other apps I need to run that are 32 bit (but the driver I need to load requires 64 bit).

I can boot the resulting DVD, and all three files exist. It also shows up in the mount.

I've attached the startnet.{au3,cmd} from the mounted file system. The forum wouldn't allow me to upload the log, so a relevant portion is pasted below.

I'm new to this forum... not sure what "message me" is.

Note that was able to get my driver to load, and was able to find a viewer for the png files.

Note that the program is also not setup to use the -m flag on oscdimage... allowing it to create a larger than CD image. Running oscdimage manually properly creates the iso.

Also, what is "image_manager.exe" and "winpeinit.exe"... I don't see either of these on my system.

[10:49:51] - [CREATE] Creating mount directory (C:\64-2\mount\Mount)
[10:49:51] - [CREATE] Mounting Boot.WIM to C:\64-2\mount\Mount.
[10:49:51] - [INSTALL] Program will now install additional WinPE components.
[10:49:51] - [INSTALL] Installing component: WinPE-HTA-Package
[10:50:09] - [INSTALL] Installing component: WinPE-MDAC-Package
[10:50:24] - [INSTALL] Installing component: WinPE-HTA-Support
[10:50:25] - [INSTALL] Installing component: WinPE-Scripting-Package
[10:50:32] - [INSTALL] Installing component: WinPE-WMI-Package
[10:50:49] - [INSTALL] Installing component: WinPE-XML-Package
[10:50:55] - [INSTALL] Program finished installing additional WinPE components.
[10:50:55] - [DRIVERS] Integrating drivers started.
[10:50:55] - [DRIVERS] There are 1 to be integrated. Please wait...
[10:50:55] - [DRIVERS] Integrating driver C:\iodrive\fiodrive.inf started.
[10:50:56] - [DRIVERS] Integrating driver C:\iodrive\fiodrive.inf ended.
[10:51:26] - [FILES/DIR] Success dir copy -> C:\cygwin To: C:\64-2\mount\Mount\
[10:51:49] - [FILES/DIR] Success dir copy -> C:\Program Files\Windows AIK To: C:\64-2\mount\Mount\Program Files
[10:51:49] - [FILES/DIR] Success dir copy -> C:\Program Files\Windows Imaging To: C:\64-2\mount\Mount\Program Files
[10:51:50] - [FILES/DIR] Success dir copy -> C:\Program Files (x86)\Iometer.org To: C:\64-2\mount\Mount\Program Files
[10:51:54] - [FILES/DIR] Success dir copy -> C:\Program Files (x86)\Mozilla Firefox To: C:\64-2\mount\Mount\Program Files
[10:51:54] - [FILES/DIR] Success dir copy -> C:\Program Files (x86)\RealVNC To: C:\64-2\mount\Mount\Program Files
[10:51:54] - [CREATE] Creating startnet.au3 file.
[10:51:54] - [CREATE] Compiling startnet.au3 to startnet.exe using the AutoIt v3 Compiler.
[10:51:55] - [CREATE] Preparing boot.wim for capture.
[10:52:18] - [CREATE] Creating new boot.wim. Please be patient...
[10:59:10] - [CREATE] Created new boot.wim. Please be patient...
[10:59:10] - [CREATE] Unmounting Boot.WIM.
[10:59:15] - [CREATE] Moving new Boot.WIM (C:\64-2\mount\Iso\sources\boot.wim.new) to C:\64-2\mount\Iso\sources\boot.wim
[10:59:15] - [CREATE] Creating Custom WinPE Image in location: C:\64\winpe.iso
[10:59:15] - [CREATE] Custom WinPE Image created!
[10:59:15] - [WINPE CREATION IS DONE]
[13:22:03] - [DETECT] Detecting all removable devices.
[13:22:03] - [DETECT] 1 device(s) were found. Updating list...
[13:22:03] - [DETECT] Detecting of removable devies finished.
[13:22:08] - [CONFIG][START] Loading config from file C:\winpe_config-13.10.2008.xml started.
[13:22:08] - [CONFIG][END] Loading config from file C:\winpe_config-13.10.2008.xml ended.
[15:06:20] - [DETECT] Detecting all removable devices.
[15:06:20] - [DETECT] Detecting of removable devies finished.
[15:06:26] - [CONFIG][START] Loading config from file C:\winpe_config-13.10.2008.xml started.
[15:06:26] - [CONFIG][END] Loading config from file C:\winpe_config-13.10.2008.xml ended.

Attached File(s)
Attached File  startnet.au3 ( 111bytes ) Number of downloads: 12
Attached File  startnet.cmd ( 16bytes ) Number of downloads: 9
 
Go to the top of the page
 
+Quote Post
MadBoy
post Oct 14 2008, 01:29 AM
Post #31


Advanced Member
***

Group: Members
Posts: 411
Joined: 21-February 05
Member No.: 44662
OS: none
Country Flag


blackburried: so to summarize the only things that do not work are 32bit startnet.exe and -m flag. Can the flag be added to oscdimg per default? Or it won't work if it's CD-Image. I'm asking since i kinda don't have WAIK or anything related to this program anymore since i changed jobs and doing something else newwink.gif

As for Image Manager it's the program that you can see in my signature. I've developed it further and it's complete gui for ghost32.exe and gdisk32.exe allowing easy image deployment and wipe of drives from WinPe.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 3rd December 2008 - 11:02 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy