Jump to content











Photo
- - - - -

Help. Error with mounting source! (Install.wim)


  • Please log in to reply
65 replies to this topic

#51 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 03 November 2011 - 10:01 AM

Hi,

The version of wimgapi in Win 7 Waik Sp1, 'waik_supplement_3.0' or not is 6.1.7600.16385.
But in Windows 7 x86 Sp1 Source we have a new version 6.1.7601.17514

Normally, there is no problem with both wimgapi.dll and with Win7 x86 SP1 HostOS or other.
But there is something that blocks on the Klaus21's PC :confused1:



From the last log, Klaus21 uses the extracted wim folders :thumbsup:.
So mount/unmount is no longer used. Imagex or wimutil is only used in postConfig to capture the build ( Target Boot.wim)

But now a problem with RegHiveLoad Software, strange !!! The best to debug this, is to try to Load Software hive manually with regedit.

Also, I added in Images.script an additional control of the extracted wim folders (boot.wim and install.wim) to check Software files.
To put in 'ProjectsWin7PE_SE' folder.

Attached File  Images.7z   1.08MB   11 downloads

hoping you find the solution :)
Chris

#52 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 03 November 2011 - 09:33 PM

Thanks for the help, unfortunately, have the new "Image Script" no success.

regards Klaus

Attached Files



#53 sbaeder

sbaeder

    Gold Member

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

Posted 04 November 2011 - 04:37 PM

OK, first go into the "tools" and turn on more of the debug log file options - i.e. check "Log original statement", "Debug Log", and "Verbose"...this will help more in the future.

Now, let's MANUALLY duplicate what it is trying to do.

Start registry editor ... (Run regedit.exe)
Select the Local machine key
Attached File  0001.gif   13.27KB   17 downloads
Now, try to LOAD the hive ...In your case it looks like it is E:Win7Usourcesinstall_wim5Windowssystem32configsoftware. You do this under the file menu, and select Load Hive, then browse to the hive. For me, it is in a similar place...
Attached File  0002.gif   41.11KB   19 downloads
then regedit will ask where to put it - enter WB-SOFT (which is what the failing command is going to do)
Attached File  0003.gif   24.88KB   15 downloads
and see that it is now mounted!
Attached File  0004.gif   16KB   18 downloads

UNLOAD it when done, (i.e. select the key folder you used to mount it, and then FIle/Unload). Let's see if this works OK...If you want, you can also see what the script would do next - i.e. go into the mounted registry to check some values.
Attached File  0005.gif   44.64KB   12 downloads

If this works - great. My guess is it will fail, since your account may still ahve some "funny" permissions when it comes to the registry...But let's see if that works.

#54 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 November 2011 - 04:46 PM

Sorry Scott that I interrupt your tutorial. :cheers:

But might be that here is am issue which sometimes occurs when WB is stopped at "wrong time".

@Klaus21: When you see in Regedit ANYTHING different from Scott's first picture, click on this element and choose "Datei" > "Struktur entfernen".
Before that you should make system recovery snapshoot (Systemwiederherstellung speichern)

Peter

#55 sbaeder

sbaeder

    Gold Member

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

Posted 04 November 2011 - 05:46 PM

Ahh...you mean like if the registry is already loaded? Yes, this is something that the project should be able to catch in the ONBUILDEXIT processing, but I agree it could be complex to detect and catch all possible things like this. I know that Win7PE_SE has a "hive unload" tool, but not clear on it's origin.

#56 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 November 2011 - 05:53 PM

Let' wait for Klaus21 ...

Peter :cheers:

#57 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 04 November 2011 - 06:43 PM

Thank you for your suggestions.
Trying to implement everything tomorrow morning.

regards Klaus

#58 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 05 November 2011 - 08:06 AM

Have now done the following:
1. Start as "Klaus" with admin rights - Start Winbuilder also as Admin.
2. Clean "Win7PE_SE_20111020" to C: Win7PE_SE_20111020 copied -> Download all updated --> and added to the source path (E:Win7U)
3. Win7PE SE (Vers.25) --> start green Triangle --> everything OK
4. Main Configuration (Vers.23) --> OK
5. Image configuration (Vers.12): New error message: HIVELOADER ERROR Builder Can NOT load Hives !!
Possible Reason: Your Current User do not have required permission
Possible Fixes if you are using Win7/Vista
1A Start Winbuilder with "Admin Rights" (I started it with admin right)
1B Change your user status to Administrator. (I changed "Klaus" to "Adminstrator" with the same result.)
6. Sbaeder's suggestions in post # 53 restart WinBuilder --> also with the same result.

regards Klaus

Attached Files

  • Attached File  log.html   29.19KB   7 downloads


#59 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 05 November 2011 - 09:34 PM

Perhaps what I have found:
My system is C: Windows - but post # 53 Picture 005 is Pathname and Systemroot D: Windows?
Should not that be C: Windows?

Klaus

#60 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 12 November 2011 - 07:10 PM

So now I've (Peter pscEX had the idea) found the error:
I always started the winbuilder from the TotalCommander.
Although'm logged in as admin and also the total commander has all the rights.
If I start with the Explorer is all without errors.

Thank you all for the ideas and suggestions!

regards Klaus

#61 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 12 November 2011 - 07:14 PM

that is strange because I also start winbuilder from within total commander ... but glad to read that it works now for you

#62 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 November 2011 - 08:06 PM

Klaus21! You are a bad boy! :cheers:

We are in the middle of solving an issue! And you declare as solved!

Write 100 times: "I am too impatient" (Copy and paste forbidden!)

Peter :smart:

#63 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 12 November 2011 - 10:24 PM

I also start winbuilder from total commander without problem. I always run totalcommaner elevated.

#64 sbaeder

sbaeder

    Gold Member

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

Posted 13 November 2011 - 04:10 PM

If you have even minimal UAC enabled, does Total Commader ask to be run with elevated privileges? And when you run WinBuilder, does it also ask for the elevated privledges? That could be the difference here - especially if you disable UAC?

But good check...we probably need to make sure that there is a system command way to check not just if there is UAC enabled or if it is an admin account, but what the privilege level of the application is. Peter, am I right is assuming that they check the account and if there is UAC turned on, but not what the program can actually do?

#65 s.sallo93

s.sallo93
  • Members
  • 1 posts
  •  
    Pakistan

Posted 19 September 2013 - 12:22 AM

I think more and more articles exist on the Internet about building winbuilder ISO step by step. Today, I want to know how to do it and realize whether it can be finished if follow these steps. One is my curiousness, the other is for my job. Maybe it will helpful for me in the future!

Let us begin the series activity now!!!
Download "The Windows® Automated Installation Kit (AIK) for Windows® 7" from this URL:

http://www.microsoft...ls.aspx?id=5753

ScreenHunter_01+Oct.+23+17.14.gif

 

 

 Download and Install "WinCDEmu" Open Source file for mounting "The Windows® Automated Installation Kit (AIK) for Windows® 7" ISO format. The URL is as following:
http://sourceforge.n...wincdemu/files/

 

ScreenHunter_02+Oct.+23+17.22.gif

 

Mount "KB3AIK_EN.ISO" next to execute StartCD.exe. The Windows® Automated Installation Kit (AIK) for Windows® 7 menu will show up on the screen. In the left panel, click "Windows AIK Setup" for installing Windows AIK on your computer.

ScreenHunter_03+Oct.+23+17.30.gif

 

 

Please click Next button to install program on default folder as C:\Program Files\Windows AIK\

ScreenHunter_04+Oct.+23+17.31.gif
 

Copy all files and folders from windows 7 DVD source to the special folder as c:\win7source of hard disk

Download Winbuilder from the following URL next to extract file to the special folder as c:\winbuilder

http://www.boot-land...hp?showforum=22
ScreenHunter_05+Oct.+23+17.49.gif

Execute "WinBuilder.exe" by Run as Administrator in windows explorer and WinBuilder Download Center window will show up.

ScreenHunter_06+Oct.+23+17.59.gif

 

Please often browse the forum about Win7PE Rescue PE information to change or setup the newest win7PERescue server. The forum URL is as following:

 

http://www.boot-land...?showtopic=8774

ScreenHunter_07+Oct.+23+18.21.gif

 

for example: If new win7PERescue server is rescue.w07.net , you can add rescue.w07.net/Projects to your server list

ScreenHunter_08+Oct.+23+18.26.gif

Due to joshua.winbuilder.net/Projects or rescue.w07.net/Projects or medevil.boot-land.net/Win7RescuePE cannot be download at the moment, win7pe.winbuilder.net/Projects just only choose for us.
If you finish the selection in the left-panel, click download button to download the related file to local hard disk.
ScreenHunter_11+Oct.+23+18.48.gifScreenHunter_10+Oct.+23+18.46.gif
When the download finish, the main screen is as shown below:
ScreenHunter_13+Oct.+23+23.18.gif
 And the below path of c:\WinBuilder exist the additional folder and file as the following shown.
ScreenHunter_14+Oct.+23+23.21.gif

Click source menu in the winbuilder main screen and click "select a directory" button to select the windows 7 source path as c:\win7sourc.
ScreenHunter_16+Oct.+23+23.32.gifScreenHunter_15+Oct.+23+23.27.gif

Extend the path Build in the left panel and click "0-PreConfig" for select the folder with installed WAIK as  C:\Program Files\Windows AIK\
ScreenHunter_17+Oct.+23+23.35.gifScreenHunter_18+Oct.+23+23.40.gif
 Deselect the "Run ISO in VMware" in VirtualTest and press the Play button. so do that will build a ISO file on C:\WinBuilder\ISO

But when i finish it, I find out the ISO file is no exist useful application for rescuing system!!!
Oh my god! This is not my target! How to build rescue ISO by winbuilder?

When I come back the original forum for searching the answer, I find out someone has already friendly do the prerequisite procedure --- Win7PE_SE project.
Fortunately, We can directly download the packaged file with application from this URL.
 http://www.boot-land...showtopic=12427
ScreenHunter_21+Oct.+24+00.05.gif
To extract the compressed file .7z to the c:\WinBuilder and extend this folder.  You will find out the related files and folders are downloaded in advance.
ScreenHunter_22+Oct.+24+00.06.gif


We just execute winbuilder.exe and just select the windows 7 source path next to build ISO as before. It is very convenient for us and not to spend more time for downloading and configuring.
ScreenHunter_20+Oct.+23+23.51.gifScreenHunter_23+Oct.+24+00.37.gif


#66 Jeider Moraes Damm

Jeider Moraes Damm
  • Members
  • 1 posts
  •  
    Brazil

Posted 14 May 2014 - 06:15 PM

No that combination works for me - win7 x64 sp1 host, source win7 x86 or win7 x86 sp1. I use imagex version 6.1.7600.16385 from the win7 aik.

Could try replacing the version at Projects\Tools\Win7PE_SE\x64\imagex.exe with the version from the win7 aik ( 6.1.7600.16385 ).

Also verify the version of wimgapi.dll. It should be the same.

If you have UAC enabled you should get prompt for elevation when run winbuilder. I always have UAC enabled and have never had a problem with winbuilder / win7 projects.

 

Precise information dude. After trying and trying many things to bypass that problem I got it to work getting the imagex.exe and wimgapi.dll from AIK Tools folder and replacing the project ones and it worked like a charm.

 

Just fyi I'm using an all-in-one (all 32 & 64 versions included) Win7 version with SP1 integrated.

 

Thanks sir.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users