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

7Slimmer MMX-R2

- - - - -

  • Please log in to reply
87 replies to this topic

#1
SausageHack

SausageHack

    I love duct tape

  • Member
  • Pip
  • 79 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I have updated 7Slimmer to MMX-R2. Everyone interested in making a custom Win7 install should check it out!
Downloads (total, as of 12-03-10): 78,893 (including external host for non-members)
Downloads (latest version): 312
_________________________________________________________________________________________________
This thread is essentially a novice-friendly guide to modify Windows 7. Component removal is the central focus, but the user can customize a Windows 7 installation disk with language packs, updates, addons, tweaks, and much more. This is a semi-GUI program, meaning that you do not have to type in lines of code at a DOS prompt. Just run the program (Vista/7 users: Run as Administrator) and follow the prompts.

I am attaching a README for specific details. For in-depth details, read Jeronimo's thread about removal.bat

The source code is available, do whatever you want I'm too lazy to write a license... Consider it open source.

Questions? Just ask in this thread and I'll try to get it answered :)

UPDATE: 0.2 -- Some x64 users were having problems with the CHOICE.COM user-selection engine. This update fixes that. The included 7Slimmer.ZIP file has both the 32-Bit and 64-Bit version. 32-Bit also gets a little cleaner code.

UPDATE: 7Slimmer MMX -- 2010 is here! The UI is refreshed, and some functions like cleanup and remove packages are a lot faster. The 32-Bit and 64-Bit versions are combined into one EXE file - still no need to install anything. 'MMX' is Roman Numeral for 2010 if you didn't know :)

UPDATE: 7Slimmer MMX-R2 -- Final version for now, cleaned code and made the program compatible with EVERY Windows NT-based OS. Before, you had to be on Windows 7 exclusively (or download a lot of extra files).

____________________________________________________________________________________________________

I have made a video tutorial for anyone interested. Click Here!

Attached Files


Edited by SausageHack, 10 April 2012 - 01:57 PM.

All my people right here, right now, dyou know what I mean?


How to remove advertisement from MSFN

#2
romanian

romanian

    Newbie

  • Member
  • 21 posts
Downloadin now. Thanks for the effort!

#3
Jeronimo

Jeronimo

    vLite user

  • Member
  • PipPipPip
  • 395 posts
Saw your guide, have not read it completely, in stead of reg file, you could use the following command:
reg delete HKLM\wim\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{98D99750-0B8A-4c59-9151-589053683D73}

I keep my removal batch-file up to date in the topic Windows 7 x64 vLite "extreme removal". There were some errors/issues in previous releases. From what I see:
double quote missing after .log

Maybe if you mark your changes, you can easily add them or maybe I will (not sure if it is just the prep-section). I would not keep to seperate removals for x86 and x64, they nearly always need to make changes to the file anyway.

#4
HachiRoku

HachiRoku

    Newbie

  • Member
  • 38 posts
First of all, excellent guide mate!

I have a question about it, is it 'compatible' with Ultimate versions?
I mean that if I change the 'image index' and 'edition' values in the removal file, would it work OK???
Or does it need more tweaking to make it work with Ultimate???
If that's the case, could you please tell me what do I have to change to make it work?

PS: right now I'm starting to make a test with Ultimate, hope it goes OK.

Thanks in advance
Nico

#5
SausageHack

SausageHack

    I love duct tape

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

===== Post Nº1 =====


First of all, excellent guide mate!

I have a question about it, is it 'compatible' with Ultimate versions?
I mean that if I change the 'image index' and 'edition' values in the removal file, would it work OK???
Or does it need more tweaking to make it work with Ultimate???
If that's the case, could you please tell me what do I have to change to make it work?

PS: right now I'm starting to make a test with Ultimate, hope it goes OK.

Thanks in advance
Nico


Yup! As long as you change the image index, it will work with Ultimate.

I just realized a few errors in the 'modified' batch files (thanks Jeronimo!) I'll work on them after I get back from Driver's Ed lol

Guide #2 will be here soon with *hopefully* better support and maybe a GUI if I find a week or so of free time. For now, You'll have to manually create the ISO, Mount, LNG, and Drvers folders as well as place intlcfg and imagex in C:* :blushing: Not so bad right?

===== Post Nº2 =====


EDIT: I uploaded a working Guide (it's #2) on the first post. removalXX.bat prep and fixreg now work, and the folders are created. imagex.exe and intlcfg.exe are automatically copied to the working directory based on the architecture you are modding. 'SausageHack' is now spelled correctly :thumbup

Important note I missed in the original post: If you are modding an x64 edition of Win7, you NEED to be in an x64 working environment as you run these scripts. If you are modding x86, you can work from either x86 or amd64. If you are working from amd64, modify removal64.bat so that the batch file can look in the right places!

Edited by Yzöwl, 16 August 2009 - 04:00 AM.
Posts Merged

All my people right here, right now, dyou know what I mean?

#6
Jeronimo

Jeronimo

    vLite user

  • Member
  • PipPipPip
  • 395 posts
I am going to update the removal.bat shortly. I would recommend grabbing that 1 when it is available. Would be even better to have your modifications clearly marked and add them per default. However it is not necessary to add imagex to the dir of the removal, it does require less changes to the batchfile.

#7
trickstar

trickstar

    Newbie

  • Member
  • 21 posts
whats the reason for the *restarts*. what difference does it make?

#8
clavicle

clavicle

    Advanced Member

  • Member
  • PipPipPip
  • 454 posts
  • OS:Windows 7 x64
  • Country: Country Flag

===== Post Nº1 =====


I just went through your nicely explained procedure. I hope to try it out soon on x64 version. ;)

===== Post Nº2 =====


I think there are few problems in removal64.bat (I tried this one only),

1. One can't go beyond the line in batch file
start "WIM-prompt" cmd
goto exit
2. After copying imagex.etc and the saus*.ini, there is again redirection to exit

I haven't gone beyond these lines.

Edited by Yzöwl, 16 August 2009 - 03:59 AM.
Posts Merged


#9
SausageHack

SausageHack

    I love duct tape

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

I think there are few problems in removal64.bat (I tried this one only),

1. One can't go beyond the line in batch file
start "WIM-prompt" cmd
goto exit
2. After copying imagex.etc and the saus*.ini, there is again redirection to exit

I haven't gone beyond these lines.




Thanks for pointing that out. I really haven't tested the x64 be because I'm writing this from my iPod. On top of that the only computer I have access to at the time I made that guide is a 800mhz intel celerom box running nLited XP on it! Guys, mod the batch files and the guide as much as you want and then upload it! It's for all of us to tweak!
All my people right here, right now, dyou know what I mean?

#10
liquid0624

liquid0624

    Member

  • Member
  • PipPip
  • 156 posts

I think there are few problems in removal64.bat (I tried this one only),

1. One can't go beyond the line in batch file
start "WIM-prompt" cmd
goto exit
2. After copying imagex.etc and the saus*.ini, there is again redirection to exit

I haven't gone beyond these lines.




Thanks for pointing that out. I really haven't tested the x64 be because I'm writing this from my iPod. On top of that the only computer I have access to at the time I made that guide is a 800mhz intel celerom box running nLited XP on it! Guys, mod the batch files and the guide as much as you want and then upload it! It's for all of us to tweak!


Edited by liquid0624, 16 August 2009 - 12:13 AM.


#11
SausageHack

SausageHack

    I love duct tape

  • Member
  • Pip
  • 79 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Whew... finally got my laptop back, so more work with x64! I have heard some people getting stuck on WIM-Prompt, I'll be fixing that if it is indeed a problem. I apologize for not testing all aspects of these files before I uploaded them, I just wanted them uploaded hoping that other people could step in and work out bugs. Anyway, dead0 has a similar thread that focuses on not-so-extreme removal if anyone wants an alternative guide per se...

Keep updated! Guide v3 will probably be up soon :)
All my people right here, right now, dyou know what I mean?

#12
SausageHack

SausageHack

    I love duct tape

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

Whew... finally got my laptop back, so more work with x64! I have heard some people getting stuck on WIM-Prompt, I'll be fixing that if it is indeed a problem. I apologize for not testing all aspects of these files before I uploaded them, I just wanted them uploaded hoping that other people could step in and work out bugs. Anyway, dead0 has a similar thread that focuses on not-so-extreme removal if anyone wants an alternative guide per se...

Keep updated! Guide v3 will probably be up soon :)



EDIT: Really soon: Here's Guide v3! The issue some people are having with x64 wasn't really a problem. When you run
removal64.bat prep
, it will copy files and then ask if SausageHack.ini is a file or a directory. Type 'F' for file name. Then, it will exit when it copies it over to the presets folder.

The only change in version 3 is that now the prep script automatically exits after it does it's thing. xD *scattered applause* :hello:

Attached Files


All my people right here, right now, dyou know what I mean?

#13
oldghost

oldghost
  • Member
  • 7 posts
Can anybody tell me file size of rebuilt ISO installtion file? Thanks.
Nothing is good or bad, but our thinkings make it so.

#14
Jeronimo

Jeronimo

    vLite user

  • Member
  • PipPipPip
  • 395 posts
I do not mind you post your guide with my alterations, but please keep in mind I try to keep it flexible. If you put in fixed parameters, then someone might not be able to use it. Where I always use %mount%, you put C:\Mount in the fixreg at the bottom.

Maybe I can include some additional options, so that you can use your options together with my removal batch-file. That also keeps it easy to maintain for you. You have to point out what changes you made, otherwise I would have to dig thrue the whole thing.

#15
SausageHack

SausageHack

    I love duct tape

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

I do not mind you post your guide with my alterations, but please keep in mind I try to keep it flexible. If you put in fixed parameters, then someone might not be able to use it. Where I always use %mount%, you put C:\Mount in the fixreg at the bottom.

Maybe I can include some additional options, so that you can use your options together with my removal batch-file. That also keeps it easy to maintain for you. You have to point out what changes you made, otherwise I would have to dig thrue the whole thing.


Jeronimo, I have made this package to go with the guide. I understand what you mean about keeping it flexible, and like i said anyone can mod this. Maybe it would be cool if we worked together on a batch that could encompass both 32 and 64 bit, and include :prep and :fixreg

Would that be cool?
All my people right here, right now, dyou know what I mean?

#16
Jeronimo

Jeronimo

    vLite user

  • Member
  • PipPipPip
  • 395 posts
Sure, that is the reason why I posted here. See my previous post and let me know.

#17
oldghost

oldghost
  • Member
  • 7 posts
wow, i followed your guide with a little modifications and my partition c only takes less than 1.8GB (without virtual memory), it's so cool, thanks for your efforts.

but i got some questions:
1.)
 
REM Image Index (pre-vLite: 1 HomeStarter, 2 Home Premium, 3 Professional, 4 Ultimate) 

actually, i found there are 5 indexes in rtm install.wim. Ultimate index is 5 not 4, you may check my attched log.

2.)why do we need repeat steps 15 and 16 in your guide?

3.)in your guide, you said: "Now the final step is a vLite dummy run. vLite the image and apply one tweak", what does this mean? shall i run vlite then rebuild?

4.)removal32.bat removes a lot of packages. how to get a full package list together with description so that i can create my customization system depend on my requirement.

Attached Files

  • Attached File  wim.txt   7.16KB   126 downloads

Edited by oldghost, 20 August 2009 - 08:31 PM.

Nothing is good or bad, but our thinkings make it so.

#18
SausageHack

SausageHack

    I love duct tape

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

Sure, that is the reason why I posted here. See my previous post and let me know.


Ok lol :) It seems that you are the batch file genious around here. If you could write a batch that includes prep and fixreg, as well as other useful parameters, I would be more than happy to write a detailed and easy to follow guide for it. I like the idea of having only one batch file, but some people aren't very apt at editing it to suit their specific needs. I was thinking maybe a parameter for 32 bit and another for 64 bit? Maybe auto-detection based on a hash of a particular file? I not super scripter but let me know if any of that sounds good.
All my people right here, right now, dyou know what I mean?

#19
Jeronimo

Jeronimo

    vLite user

  • Member
  • PipPipPip
  • 395 posts
No problem. So you changed nothing beside x86/amd64 and additional options for prep and fixreg?

#20
SausageHack

SausageHack

    I love duct tape

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

No problem. So you changed nothing beside x86/amd64 and additional options for prep and fixreg?


Yup. Just added those parameters and seperated into x86 and amd64.

I know you do the 'extreme removal,' so maybe there could be a version for you, but also a version that keeps IE8 and WMP 12? Thanks. I would take them out myself, but I really don't want to keep a perfectly safe to remove package. Just quote or PM me when and where the new batch is up :thumbup

Thanks!
All my people right here, right now, dyou know what I mean?

#21
oldghost

oldghost
  • Member
  • 7 posts
I get an error during the first time login to system. It shows "There was a problem starting C:\Program Files\Internet Explorer\iessetup.dll, the specified module could not be found." But this error will not appear any more after rebooting. Which package will cause this error? I definitely remove too many packages :(

Attached Files


Nothing is good or bad, but our thinkings make it so.

#22
SausageHack

SausageHack

    I love duct tape

  • Member
  • Pip
  • 79 posts
  • OS:Windows 7 x64
  • Country: Country Flag
oldghost, you might try manually putting that dll into the install.wim file. Then register it before or after you install the OS.
All my people right here, right now, dyou know what I mean?

#23
Jeronimo

Jeronimo

    vLite user

  • Member
  • PipPipPip
  • 395 posts
I updated my removal batch-file in my topic here. I added the fixreg part, but your preparation can not be added I think.

You can create a batch file removal_custom.bat:
@echo off
 
 REM Initialising environment variables (check for your usage)
REM ----------------------------------------------------------------------------
REM Windows codebase: amd64, x86 or empty (determine from %DVD%\setup.exe)
set cb=
REM Windows 7 build
set build=7600
REM Sub version
set svn=16385
REM Pre-part (the same for all Windows 7 builds?)
set pre=31bf3856ad364e35
REM Image edition (Starter, HomeBasic, HomePremium, Professional or Ultimate)
set edition=HomePremium
REM Obsolete - Image Index (pre-vLite: 1 HomeBasic/Starter, 2 Home Premium, 3 Professional, 4 Ultimate)
set II=2
REM Remove Microsoft.NET (C for complete removal, V to keep vLite working or K to keep)
set remove.NET=V

REM Folder of updates to be integrated
set updateloc=C:\Updates
REM Extenstion of the updates to be integrated (msu, cab or * for all/both)
set update.ext=*

REM Folder of drivers to be integrated
set driverloc=C:\Drivers

REM Language to be integrated
set lang=en-US
set langcode=0409
REM Program location intlcfg.exe (WAIK)
set intlcfg=C:\intlcfg.exe
REM Location Language pack and extracted files for Localised Setup
set langloc=C:\lng

REM DVD & sources-folder containing install.wim (and dism.exe)
set DVD=C:\ISO

REM Folder for mount (Dism/Imagex) or Root (Imagex)
set mount=C:\Mount

REM Imagex
set imagex="C:\imagex.exe"
REM Dism
set dism="%sources%\dism.exe"

 REM Command for install WIM tweak
 REM -----------------------------
 set iwt=install_wim_tweak.exe /p %mount% /m
 
 REM Initialisation part 2
 call removal.bat init2
 
 REM Prepares a working environment
 if "%1"=="prep" goto prep
 goto end
 
 
 REM Preparation for everything
 REM ----------------------------------------------------------------------------
 :prep
 md "%DVD%"
 md "%driverloc%"
 md "%langloc%"
 xcopy "%ProgramFiles%\Windows AIK\tools\%cb%\imagex.exe" %SystemDrive%\imagex.exe
 xcopy "%ProgramFiles%\Windows AIK\tools\%cb%\intlcfg.exe" %SystemDrive%\intlcfg.exe
 if "%cb%" == "amd64" (
  xcopy sausageHack.ini "%ProgramFiles(x86)%\vLite\presets\SausageHack.ini"
 ) else (
  xcopy sausageHack.ini "%ProgramFiles%\vLite\presets\SausageHack.ini"
 )
 goto end
 
 :end

Best would be to run "removal_custom.bat prep", but "removal.bat prep" would also work:
The 1st command would set parameters, call removal.bat with init2 to set the remaing stuff, then continue withprep in removal_custom.bat.
The 2nd would set parameters, perform init2 part, run removal.bat with prep and do the above again. Downside: if Mount-folders differ from the 2 batch-files, then both would be created.

Edited by Jeronimo, 23 August 2009 - 03:55 AM.


#24
lp_larsen

lp_larsen
  • Member
  • 1 posts
Hello

I've tried to read trough the .bat files, and have to realise that i am not at good at understanding them, as i thought :(

Therefor i have to ask this:

Using guide 3, which elements is being removed from my win 7 iso?

and secondly: Can i use vlite to do the same changes, without using these bat- files, just using the programs GUI ??

Thank you for your help
Lars Peter

#25
mcargy08

mcargy08
  • Member
  • 3 posts
is there any guide for Windows 7 Enterprise RTM?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN