Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

7Customizer components XML


  • Please log in to reply
40 replies to this topic

#26
justibus

justibus

    Junior

  • Member
  • Pip
  • 66 posts
I'm afraid I'm not familiar with that feature of 7Customizer. I've never used it. Sorry.
I can only give you the general advice to use an original image.
You should probably ask in the sticky thread about 7Customizer. This thread only deals with the xml format for the component removal feature of 7Customizer.


How to remove advertisement from MSFN

#27
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
Nice thread, I was looking through the XMLs earlier when it didn't work and was manually doing it myself (OMG that's mind numbling boring and tedious) and I noticed that they weren't listed alpphabetically, could you make them alphabetical?

#28
justibus

justibus

    Junior

  • Member
  • Pip
  • 66 posts
What exaclty do you mean with alphabetical? The <Files>, <Directories>, ... elements?

#29
Moonchilde

Moonchilde

    Junior

  • Member
  • Pip
  • 52 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Nice thread, I was looking through the XMLs earlier when it didn't work and was manually doing it myself (OMG that's mind numbling boring and tedious) and I noticed that they weren't listed alpphabetically, could you make them alphabetical?


The xml files have the type of component before the name of the components to be removed in the default xml filenames. For example, accessories_notepad.xml or drivers_modems.xml. This should automatically be sorted alphabetically. Also, what doesn't work? What were you doing manually?



#30
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts


Nice thread, I was looking through the XMLs earlier when it didn't work and was manually doing it myself (OMG that's mind numbling boring and tedious) and I noticed that they weren't listed alpphabetically, could you make them alphabetical?


The xml files have the type of component before the name of the components to be removed in the default xml filenames. For example, accessories_notepad.xml or drivers_modems.xml. This should automatically be sorted alphabetically. Also, what doesn't work? What were you doing manually?


I don't remember what I was doing back then, but I'm trying it again, adn this time it's saying that libexpat-1_.dll can't be found, and it's right next to create.exe, and I've also copied it to the System32 folder and treid registering it, and it doesn't work, and I've also got Strawberry PErl installed (at C:\Perl instead of the default location) becasue I was trying to hack my iPhone with a perl script I found on the web lol. anyway, I tried copying C:\Perl to C:\strawberry\Perl, because that's where it expected it, and it's still not working.

~Edit~
I AM using the x64 version of Strawberry Perl though, could that be the problem?

~Edit2~
I'm having all kinds of permissions issues with Windows, I'll probably have to reinstall.

Edited by marcusj0015, 27 June 2012 - 06:47 AM.


#31
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
How am I supposed to get this to work? It runs now, but I type in a search such as "HomePremium" and it just prints a **** log, then sometimes I run the same command and it creates an XML, other times nothing. what's going on here?

#32
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
It works when I run it is a regular user, but says it can't find that dll that's right next to it when I run it as admin. :confused:

#33
justibus

justibus

    Junior

  • Member
  • Pip
  • 66 posts
Not every keyword works.
What xml creator does is search through all manifest files in Windows\winsxs\Manifests and select the ones that have your keyword in the first <assemblyIdentity> tag (in the name attribute).

Have you extracted a WIM file to some folder and pointed settings.ini to it? Otherwise it will give a warning.

You need to run create.exe from an elevated command promt because it needs to load the registry hives from the extracted WIM file into the registry. That only works with administrative rights.


If you give me the command line you use, the version of create (create.exe -v) and paste the contents of your settings.ini into a code tag here, I can look into what's not working.

#34
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
I've actually just mounted the Ultimate wim, as it's less messy than extracting hundreds of files, here's my create.exe version and settings.ini contents.

Create.exe version 1.0 copyright 2012 Daniel Just.

; This file is absolutely needed! Do not delete it!
; Adjust the paths below to their correct location
[paths]
; path where the windows installation source manifest files can be found
; path must be absolute; no backslash at the end
manifestPath=D:\Users\Marcus\Desktop\Remove_Componets\mount\Windows\winsxs\Manifests\

; path where output xml and log file should be saved
; path can be relative to this dir or absolute
outputDir=D:\Users\Marcus\Desktop\Remove_Componets\Logs\

; path to registry hives
; path must be absolute; keep last backslash
regHivePath=D:\Users\Marcus\Desktop\Remove_Componets\mount\Windows\System32\config\

; path to installation sources
; path must be absolute; keep last backslash
sources=D:\Users\Marcus\Desktop\Remove_Componets\mount\

Edited by marcusj0015, 28 June 2012 - 05:25 AM.


#35
justibus

justibus

    Junior

  • Member
  • Pip
  • 66 posts
Ok, your setup looks good. What command line do you use?

Edited by justibus, 03 July 2012 - 01:56 PM.


#36
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
Create.exe -k and either Premium or "Premium" (when searching for Home Premium stuff lol)

#37
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
"make sure settings.ini exists" is all I'm getting, it exists, the paths are correct, I even took ownership of the **** thing, it's in the same folder as create along with everything else. WTF IS GOING ON?!

#38
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
After a reboot it's working... but still only generating XMLs every other time...? and can I use this to search for say Shell32, and delete all of the old versions of Shell32? How do I go about doing that?

#39
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
Well, my Windows 7 partition crashed and I'm on Windows 8 CP right now (I hardly ever use it) but it's saying that It has to run on Windows 7, and I'd like to strip Win7 before I reinstall, is there anyway to run it on Win8?

#40
justibus

justibus

    Junior

  • Member
  • Pip
  • 66 posts

After a reboot it's working... but still only generating XMLs every other time...? and can I use this to search for say Shell32, and delete all of the old versions of Shell32? How do I go about doing that?



With Shell32, you mean the shell32.dll? As long as you can find manifest files in Windows\winsxs\Manifests, you can create an xml with create.exe. Otherwise you have to construct an xml manually.
But why it creates xmls only every other time, I can't say why this happens without a bit more info. When using the same keyword, does it work one time and not the next? Could you attach a log file of a successful run and an unsuccessful run (if there is one)? I can only do guesswork if you don't give me a little more information.


Well, my Windows 7 partition crashed and I'm on Windows 8 CP right now (I hardly ever use it) but it's saying that It has to run on Windows 7, and I'd like to strip Win7 before I reinstall, is there anyway to run it on Win8?


Hmm, I haven't thought about Windows 8. I'll fix it in the next version. Unfortunately, I can't say when I'll be able to release it.

#41
marcusj0015

marcusj0015

    Member

  • Member
  • PipPip
  • 154 posts
Yeah, I'll run it a few more times, sometimes I'll run it twice, and it doesn't make an XML file either time, other times on the first run, and other times it works the second time. I'll delete and redo the log files so it's all clean and easier to check. give me a couple days.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN