The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Operating System Optimization > WinNT Based

Reply
 
Thread Tools Display Modes
Old 04-19-2005, 09:05 PM   #1
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,143
My Photos: (0)
XP System Builder

Okay, so a couple of you wanted to check out the little applet I made to further slim an XP installation using the XP Embedded database. First a warning: I didn't make this app with other users in mind. I made it originally as a test to see if it was even possible to use the XPe DB to remove components from an XP install CD. i worked on it enough so it was useable to me. So if you don't like how the UI is, or the fact that you need to install the XPe DB, or whatever...too freaking bad.

Basically you just start it up, File->Open browse to an I386 directory of an XP setup CD. Typically I use nLite and before making an ISO I'll fire up this applet. If you really hate your spare time you could run it on a virgin XP setup CD. It'll start reading the components from the XPe database. It may be slow the first time as SQL Server builds the indexes for my queries. I tried using MSFT's own stored procedures as much as possible, but there were some queries that had to be dynamic. Also, because the fastest (as in less time coding) and easiest way I could look up components was based on filenames, the bigger your setup CD the longer it'll take. It takes about 20-30 seconds on my P4 2.8 with 1GB RAM.

Once it's done reading your setup you can start browsing through the components and selecting which you want to remove. It's pretty self-explanatory I think... Just be careful what you remove. There's no undo... It'll show you what a component's dependencies and dependents are as well as what files and registry entries it includes.

Another useful timesaver I put in there were 3 options under the "Tools" menu: Add/Remove EWF and Minlogon and an option to "trim" language support. It's only for US English right now... Sorry to our friends from outside the US...it wasn't because I don't care, just don't have enough time in the day for everything. When you try to add EWF or Minlogon it'll need you to point it to a directory with the files. ewf.sys, ewfmgr.exe, and ewfntldr for EWF. minlogon.exe for Minlogon. EWF will be installed but will not be enabled at the first boot up. You need to enable it yourself. Same for minlogon. All it does is add the registry entry and put the binary in the system32 directory. If you plan on using minlogon you need to rename the files yourself.

Once you've butchered your setup enough I recommend you save as... in a seperate directory. That way if it's all messed up you can just retry it. Here's the deal: once it saves the files just back up (in another directory) the original files that are in the I386 directory. That's what I usually do. Then I copy over the slimmed versions into the I386 directory, make an ISO, test it in VirtualPC, and if it works then I burn an ISO and install the system. If the install doesn't work then I just copy the backups back into the I386 directory. My applet doesn't actually delete any files from the setup, it just removes the commands to install the files or registry entries. That's all. It's much safer that way so you can very easily restore your nLite install.

I'm trying to think of what else you may need to know.... oh yeah it's a .NET 1.1 app...

OH NO!! THE HORROR!!! 3ViL micr050f7 5Hi7.i'lL n3V3R u23 i7. mIcR050f7 5UX0R2!!

if you don't like .NET...too bad. write your own in perl or RISC assembly or whatever gets your rocks off.

There's a config file in there for the connection string in case you've got the DB installed on another system to where you're using the applet.

Uhh... I guess that's it for now. If there are any serious issues and I have time (not likely this week since I've got other things going on this weekend) I'll fix it.

If you have problems connecting to the database, please check C:\Program Files\Microsoft SQL Server\80\Tools\Binn for an app named SVRNETCN.exe. Use that to add Named Pipes to the list of protocols. Close that app then restart MSDE using the services control panel (MSSQLSERVER is the service name).

May 4th, 2005: Okay, I made a couple of quick and dirty changes. The new version is included. One is to implement check boxes and the other is a search window. You can use the search window without opening a configuration so if you're just curious about some file or component you can fire up the app and do a search. Once again, I'm working on limited time so YMMV... The new config file defaults to the MantisSQLDBEval database.

May 7th, 2005: Another version... I decided to disable the language trimming menu because it's very easy to screw things up if you're not careful. I'll get it back soon. In the mean time you can do it manually by looking at the different Language Support macros and what dependencies they have and remove what you don't need. I've added a couple things: you can now save a configuration of all the components in your install, when you open up a setup and load a config it'll go through and remove any component not in the config. I also added a few required components in the settings file. This is mainly to prevent users from removing language or keyboard options that are necessary to run setup. More required components can always be added to the config file. Also, the component tree is a bit more user friendly in that any folders without components will be grayed out so it makes it easier to find stuff. I fixed a couple things in the search window also. That's all I can think of now... It's late and it's been a long week...

May 11th, 2005: Okay, here's the latest version I've been using. Some more UI tweaks to make it faster and easier to see if a component has any dependencies/dependents. Now, this version has a major difference which prevents you from using any config XML files saved in the previous version. My app now reads in all components from the DB (yes, there were more) yet it only displays depending on the visibility setting I added to the config file. It defaults to 200 which is the same setting I was using in the previous version. If you're really adventurous you can put the setting down to 0 and you'll see a bunch of extra stuff. What I recommend you do is read in your existing CD setup directory and then save the configuration XML file based off that CD. After that go ahead and start messing around, but I'm warning you: you can really screws things up if you're not careful because setting the visibility down to 0 shows a lot of extra low-level stuff. I've also improved the removal functionality so that it's more "proper". Before I was just not allowing the files to be copied over, but the setup still tried to register them. So now I edit the syssetup.inf file (and wbem.inf if necessary). The program saves a backup of them before saving the edited one, but as always I recommend you "Save As..." into another directory rather than overwriting your nLite setup. I think that's it... Once again it's late so I might have missed something. I've been using it for a couple days now without a problem so you should be fine.

May 20th, 2005: Just some UI changes to make the app more user friendly (in my opinion at least). The XML config files from the previous version are still compatible with this new one.
Attached Files
File Type: zip XPSystemBuilder.zip (43.6 KB, 1587 views)

Last edited by SFiorito : 05-20-2005 at 10:24 PM.
SFiorito is offline   Reply With Quote
Sponsored Links
Old 04-22-2005, 11:22 AM   #2
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,143
My Photos: (0)
so I see a few people downloaded it. has anyone used it? any major problems or confusion?
SFiorito is offline   Reply With Quote
Old 04-24-2005, 12:49 PM   #3
Newbie
 
Join Date: Apr 2005
Posts: 10
My Photos: (0)
Smile

I've downloaded it however my testing system is not yet fully set up (I removed to much with Nlite to install all the things XPE needs *smile*). Once it is set up I'll give you my feedback. I think it's a great idea to use XPE to trim down XP, that once of the reasons I've been following these boards for a while now eventhough I don't even have a car, let alone a caputer.
discondor is offline   Reply With Quote
Old 04-24-2005, 01:10 PM   #4
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,143
My Photos: (0)
as long as you can install the Database Engine (MSDE) and the database you're fine. That's all you need to run my app. You don't need to install the tools and all that other stuff from XPe.
SFiorito is offline   Reply With Quote
Old 04-24-2005, 04:48 PM   #5
Newbie
 
Join Date: Apr 2005
Posts: 10
My Photos: (0)
Yeah I know, but the database was exactly the problem
I had some spare time tho and the database is running, going to test your app right away
discondor is offline   Reply With Quote
Old 04-24-2005, 05:16 PM   #6
Newbie
 
Join Date: Apr 2005
Posts: 10
My Photos: (0)
And I'm installing all of it because I'm going to experiment with XPE itself some as well, so I made me a seperate install for xpe, vmware, nlite etc. Only thing I am worried about now is hotfixes, if I intergrate them with Nlite prior to using your program I might run into trouble, but then I'll have to intergrate them manually which isn't a big deal.
discondor is offline   Reply With Quote
Old 04-25-2005, 01:53 PM   #7
Newbie
 
Join Date: Apr 2005
Posts: 10
My Photos: (0)
I feel so stupid right now, your app gives the message it can't connect to the sql server or that the sql server doesn't exist, but it does, and I can't find out why, the config file looks ok, everything in xpe tools works fine, just not your app
discondor is offline   Reply With Quote
Old 04-25-2005, 03:15 PM   #8
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,143
My Photos: (0)
the app and config file are in the same directory, right? and you are running the sql server and my app on the same machine? and you didn't change the config file?
SFiorito is offline   Reply With Quote
Old 04-26-2005, 12:26 AM   #9
Maximum Bitrate
knubile's CarPC Specs
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
My Photos: (0)
If you installed the free evaluation version of xpe the catalog name is MantisSQLDBEval. The default name in the config file is MantisSQLDB. Just make sure the config file says the right name.
knubile is offline   Reply With Quote
Old 04-26-2005, 01:01 AM   #10
Of Ice and Men
 
LagunaICE's Avatar
 
Join Date: Mar 2005
Location: Czech republic
Vehicle: Renault Laguna 2002
Posts: 782
My Photos: (0)
Gotta try it today. But first I have to download XPE w. SP2. Anybody knows if SP2 is avail as download too?
LagunaICE is offline   Reply With Quote
Sponsored Links
Old 04-26-2005, 08:15 AM   #11
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,143
My Photos: (0)
Good catch Knubile. That's news to me. I guess because I'm running the older XPe SP2 eval it's named MantisSQLDB. Weird. LagunaICE: the only version available for download should be XPe SP2: http://msdn.microsoft.com/embedded/g...e/default.aspx
SFiorito is offline   Reply With Quote
Old 04-26-2005, 12:05 PM   #12
Newbie
 
Join Date: Apr 2005
Posts: 10
My Photos: (0)
Great catch, I knew it had to be something like that. Gonna try it once I get home.
discondor is offline   Reply With Quote
Old 04-26-2005, 03:02 PM   #13
Variable Bitrate
 
rickster's Avatar
 
Join Date: Feb 2005
Location: Essex, UK
Vehicle: Nissan Navara 2005
Posts: 303
My Photos: (0)
Can someone help me please

I cannot install the database. I have msde installed from the trial version and everytime I run the database setup wizard it fails saying it can't find certain files, yet if i browse the files that were downloaded then they are not there anyway.

I have all the files downloaded into G:\xpe and the error I get is something like:

"Cant find G:\xpe\windows embedded data\repositories\{some guid here}.cab"

but I don't have a folder called windows embedded data

I have tried re-downloading the files but it doesn't help.

I will try and post some screenshots. If you have any ideas, please let me know.
rickster is offline   Reply With Quote
Old 04-27-2005, 10:08 AM   #14
Variable Bitrate
 
rickster's Avatar
 
Join Date: Feb 2005
Location: Essex, UK
Vehicle: Nissan Navara 2005
Posts: 303
My Photos: (0)
Fixed it - Needed to download the software again
rickster is offline   Reply With Quote
Old 04-28-2005, 02:11 AM   #15
Of Ice and Men
 
LagunaICE's Avatar
 
Join Date: Mar 2005
Location: Czech republic
Vehicle: Renault Laguna 2002
Posts: 782
My Photos: (0)
CANNT-GET-IT-WORKING I have installed XPE w SP2 yesterday on single computer. Ihave copied XP System builder files onto same computer (specifically I have placed both files in newly created folder on desktop). After launching it and selecting i386 folder of my nLited WinXP dir, I get an error message "Cannt connect to SQl server...". Of course, SQL DE is running, I can open XPE Databaze manager and play with components...
I get this error no matter what databaze name I chose - MantisSQLDB or MantisSQLDBEval.
SF, do you have any clue of what could be wrong?
LagunaICE is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New EWF + MinLogon and CF instructions SFiorito WinNT Based 252 05-28-2008 02:22 PM
Finally got to test the uDOC on XP SFiorito General Hardware Discussion 2 04-19-2005 11:37 PM
Can I upgrade XP home to prefoessional? Skipjacks Software & Software Development 8 01-30-2005 08:06 AM
XP on CF II Drive NOS TANG Software & Software Development 13 11-30-2004 01:20 PM
help putting together car audi/control system ikOnone Newbie 9 02-28-2004 09:51 AM


All times are GMT -5. The time now is 07:15 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics