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

Office Shrinker [reduce source of o2k3/xp/2k]

* * * * * 2 votes

  • Please log in to reply
678 replies to this topic

#51
buckeyeXP

buckeyeXP

    ...

  • Members
  • PipPip
  • 103 posts
Well there needs to be an error message before anything gets copied.
That is how the program works. so if there arnt any error messages poping up there is another problem.

Make sure that you are waiting long enough.

Try the new file. I included some microsoft logging so i can try to figure out where the problem lies. For office 2k3 it will create 3 log files.

Hope i can get this figured out!!!! :rolleyes:
Thanks for bearing with me :)


How to remove advertisement from MSFN

#52
farte

farte

    Newbie

  • Members
  • 27 posts
@buckeyeXP
tryed your latest version i have my 3 log files for u to look at hope they help i get errors

Attached Files

  • Attached File  logs.rar   7.07KB   98 downloads


#53
buckeyeXP

buckeyeXP

    ...

  • Members
  • PipPip
  • 103 posts
@farte: Ok i looked at your log and everythign seems to be running fine except:

C:\office\FILES\WINDOWS\HELP\WZCNFLCT.CHM

Make sure that the file exists in your sourece directory. I cant see why else it wouldnt work. Everything else is good. So check to see that:

C:\Documents and Settings\frankie\Desktop\apps\Office2003\FILES\WINDOWS\HELP\WZCNFLCT.CHM

exists. I would try rerunning with the same source and target directories to see if it stops on the same file.

You could also copy the file over manually if the shrink doesnt catch it, but let me know so i can see if i can fix it.



Anybody else having it stop abruptly??

#54
farte

farte

    Newbie

  • Members
  • 27 posts
Well tried to copy file over with no success then made a fresh admin point with a new mst file but i am back to square 1 nothing happens....

also tried throught a fresh windows but files was corrupted....

Any ideas!! im gonna get this on to a cd :)

#55
Herb_Davis_Y2K

Herb_Davis_Y2K
  • Members
  • 6 posts
mine stops too. fresh windows and MST

as of 4-8-2004

#56
buckeyeXP

buckeyeXP

    ...

  • Members
  • PipPip
  • 103 posts
@Herb_Davis_Y2K: Thanks man you log was very helpful. I think i was able to fix most of the problem that you all were having.

@farte: Give the new one a try i think that it will work for you
Im sorry that you made a new admin point with a new mst file. That wasnt the problem. im sure your origional was fine.


I fixed the problem of it stopping in the middle.

Keep me up to date with any other problems.

#57
nuhi

nuhi

    nLite & vLite human.dll

  • Developers
  • 4,319 posts
  • OS:none specified
  • Country: Country Flag
shrink48 works with Office2k3 but it stops 10 times before it completed all files (for my setup).
I needed to re-run shrink so it can continue, it was reporting like installation ended, but it was prematurelly.
Anywayz here are the logs so if they can help you.
I'm allready happy, it's 40MB smaller then my "manual" shrinkage...thanx !

Attached Files



#58
Herb_Davis_Y2K

Herb_Davis_Y2K
  • Members
  • 6 posts
@buckeyeXP

here's my log

#59
farte

farte

    Newbie

  • Members
  • 27 posts
@buckeyeXP

my test with new version seems to be no different !!

heres my logs to see if

will try more over the weekend..........neeed a beer lol


@nuhi What was the final size of your office 2k3 after the errors ???

Attached Files

  • Attached File  logs.rar   4.96KB   70 downloads


#60
buckeyeXP

buckeyeXP

    ...

  • Members
  • PipPip
  • 103 posts
@farte: Ok after looking at your log. Office installed. So im thinking that your target directory already contains all of the files that it needs to install office.

Another thing... Do you already have office installed?

because if you do this will not work, you must have a clean version of windows to run this from.

Here man :beer:
Hope you have a good weekend

#61
squallgreg

squallgreg

    Junior

  • Members
  • Pip
  • 81 posts
Shrink works only on an office-free windows ?

Argghh !

#62
nuhi

nuhi

    nLite & vLite human.dll

  • Developers
  • 4,319 posts
  • OS:none specified
  • Country: Country Flag
@farte, with installed Excel, Word, Outlook and newest updates its 125 office + 15MB updates...all compressed with 7zip in self-extracting unattended installation makes that 47MB !

@squallgreg, this script/proggy is reading from installation only needed files and copies them separatelly for specific msp file.
In order to enduce installation you need to uninstall office but even then some system files will be allready installed and next time you reinstall windows you'll need to run shrink one more time to fill up the holes.

#63
buckeyeXP

buckeyeXP

    ...

  • Members
  • PipPip
  • 103 posts
@nuhi: Thanks for clarifying for everybody else
im gonna try to figure out how to fix it so that you dont have to run it 5 times inorder for all of the files to be copied.

#64
Herb_Davis_Y2K

Herb_Davis_Y2K
  • Members
  • 6 posts
With just excel and word it shrunk down to 148 and installed correctly too.

#65
nuhi

nuhi

    nLite & vLite human.dll

  • Developers
  • 4,319 posts
  • OS:none specified
  • Country: Country Flag
@buckeyeXP, it seems that it stops only after bigger files are being copied and when it waits to long for automatic "retry".
Small files are warping without any problem, as long as retry window don't wait to long.
Maybe some latency that you put for waiting next file, and if there is none (or waiting to long) it thinks that it's over ?

#66
squallgreg

squallgreg

    Junior

  • Members
  • Pip
  • 81 posts
@nuhi >> ok thanx. But I still dont understand why office must be uninstalled. That means, you must run shrink right after installing windows (to be sure it will "shrink" it right), then make your unattend office CD and reinstall everything. Am I right ?

Well, I wanted to make a full unattend guide for office 2003 (admin point + splistream + mst + shrink) for newbies in french... I think its too difficult for them now !

#67
nuhi

nuhi

    nLite & vLite human.dll

  • Developers
  • 4,319 posts
  • OS:none specified
  • Country: Country Flag
@squallgreg, yes, that's about right, because some runtimes being left behind even after uninstallation.

Maybe there can be a solution provided by you, just reinstall windows and make notes which directories are needed, i think they were mainly in MSShared folder...then it will not be difficult to instruct them to copy that after shrinking.
(of course there was some other folders but i bet they are standard for every installation)

edit: maybe this is buckeyeXP's job :)

#68
squallgreg

squallgreg

    Junior

  • Members
  • Pip
  • 81 posts
how can I notice the folders that shrink needs to copy ?

#69
nuhi

nuhi

    nLite & vLite human.dll

  • Developers
  • 4,319 posts
  • OS:none specified
  • Country: Country Flag
Reinstall windows and run shrinked copy of office, it will report missing files, then you see in which directories they are in.
Or use VirtualPC or VMWare like me.

#70
farte

farte

    Newbie

  • Members
  • 27 posts
Well managed to shrink to 169 mb which is fantastic that was word,outlook,powerpoint and exel ..... lots of errors messages but stills stops during installation




@nuhi how did you go about compressing them never used 7zip shrink.....would be greatful if you know where i could do that with winrar.... did you need switches to self extract before installing office...


cheers

#71
nuhi

nuhi

    nLite & vLite human.dll

  • Developers
  • 4,319 posts
  • OS:none specified
  • Country: Country Flag
@farte, Winrar is easier and you only gain couple of mb using 7zip.
Make a batch file with notepad, lets say setup.cmd containing unattended command for installation of office, mine is:
start setup.exe TRANSFORMS=setup.mst /qb-
(where setup.mst is your mst file)
Make self-extracting exe with winrar and go to sfx-advanced options, set it up to run a batch file (setup.cmd) after decompresion in temporary folder(there is an option for that).
And set it up to overwrite files and hide start dialog.

Now you should have one exe file which installs office with just double clicking it.

#72
buckeyeXP

buckeyeXP

    ...

  • Members
  • PipPip
  • 103 posts
ok sorry guys i have been really busy the last couple of weeks. But i think i have found a solution to the problem of it quiting prematurely. i will try to have that up by the end of the week. things are hetic around here.

@squallgreg: Also if you want me to try to make it work with a non clean version of windows maybe you could do some tests and compair the logs to see what files need to be copied. The only thing is that it would not work if office was already installed at one point, because updated file are different.

#73
iwod

iwod

    Member

  • Members
  • PipPip
  • 265 posts
Any news on it?

#74
RyanVM

RyanVM

    Like a big surly teddy bear.

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,661 posts

@farte, Winrar is easier and you only gain couple of mb using 7zip.
Make a batch file with notepad, lets say setup.cmd containing unattended command for installation of office, mine is:

start setup.exe TRANSFORMS=setup.mst /qb-
(where setup.mst is your mst file)
Make self-extracting exe with winrar and go to sfx-advanced options, set it up to run a batch file (setup.cmd) after decompresion in temporary folder(there is an option for that).
And set it up to overwrite files and hide start dialog.

Now you should have one exe file which installs office with just double clicking it.

I've had rather spotty results extracting to a temp folder. I've had more than one occasion where the files get deleted before setup is finished. Rather annoying :) :rolleyes:

#75
iwod

iwod

    Member

  • Members
  • PipPip
  • 265 posts
Just try, and didn't work. Although i uses a different languages verson of Office 2k3. But it didn't even start.........

2004-05-10 17:09:44 : <---  LOG OPENED  --->
2004-05-10 17:10:13 : Office Source : C:\Office\
2004-05-10 17:10:37 : Office Target : C:\o\
2004-05-10 17:10:41 : Office Setup EXE file : SETUP.EXE
2004-05-10 18:00:14 : Office Setup MST file : New Custom Setup File.MST
2004-05-10 18:00:14 : Setup File Version:11.0.5510.0
2004-05-10 18:00:14 : Setup File Version: Office 2003
2004-05-10 18:00:14 : <---------------------------------->
2004-05-10 18:00:14 : Source Files Necessicary for setup Copied to: C:\o\FILES\SETUP\*.*
2004-05-10 18:00:14 : .
2004-05-10 18:00:14 : ..
2004-05-10 18:00:14 : SETUP.INI
2004-05-10 18:00:14 : <---------------------------------->
2004-05-10 18:00:14 : <---------------------------------->
2004-05-10 18:00:14 : Source Files Necessicary for setup Copied to: C:\o\*.*
2004-05-10 18:00:14 : .
2004-05-10 18:00:14 : ..
2004-05-10 18:00:14 : AUTORUN.INF
2004-05-10 18:00:14 : FILES
2004-05-10 18:00:14 : New Custom Setup File.MST
2004-05-10 18:00:14 : OWC11.MSI
2004-05-10 18:00:14 : PRO11.MSI
2004-05-10 18:00:14 : README.HTM
2004-05-10 18:00:14 : SETUP.EXE
2004-05-10 18:00:14 : SETUP.HTM
2004-05-10 18:00:14 : <---------------------------------->
2004-05-10 18:00:14 : Command Run: C:\o\SETUP.EXE /qb /laceimow "C:\office2.log" TRANSFORMS=C:\o\New Custom Setup File.MST
2004-05-10 18:00:15 : Waiting For 'Windows Installer' Window to appear....
2004-05-10 18:13:34 : <--- PROCESS TIMED OUT --->
2004-05-10 18:13:34 : <--- TIME Shrink Program running: 64 min
2004-05-10 18:13:34 : <--- NEW SIZE ON DISK: 7 MB
2004-05-10 18:13:34 : <---LOG CLOSED  -->
2004-05-10 18:13:39 : <---  LOG OPENED  --->
2004-05-10 18:13:43 : Values Retrived from shrink.ini
2004-05-10 18:13:43 : Setup File Version: Office 2003
2004-05-10 18:13:43 : <---------------------------------->
2004-05-10 18:13:43 : Source Files Necessicary for setup Copied to: C:\o\FILES\SETUP\*.*
2004-05-10 18:13:43 : .
2004-05-10 18:13:43 : ..
2004-05-10 18:13:43 : SETUP.INI
2004-05-10 18:13:43 : <---------------------------------->
2004-05-10 18:13:43 : <---------------------------------->
2004-05-10 18:13:43 : Source Files Necessicary for setup Copied to: C:\o\*.*
2004-05-10 18:13:43 : .
2004-05-10 18:13:43 : ..
2004-05-10 18:13:43 : AUTORUN.INF
2004-05-10 18:13:43 : FILES
2004-05-10 18:13:43 : New Custom Setup File.MST
2004-05-10 18:13:43 : OWC11.MSI
2004-05-10 18:13:43 : PRO11.MSI
2004-05-10 18:13:43 : README.HTM
2004-05-10 18:13:43 : SETUP.EXE
2004-05-10 18:13:43 : SETUP.HTM
2004-05-10 18:13:43 : <---------------------------------->
2004-05-10 18:13:43 : Command Run: C:\o\SETUP.EXE /qb /laceimow "C:\office2.log" TRANSFORMS=C:\o\New Custom Setup File.MST
2004-05-10 18:13:43 : Waiting For 'Windows Installer' Window to appear....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN