Modifying MINI.CAB

Discuss Windows 95, 98 and ME.
Post Reply
aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Modifying MINI.CAB

Post by aaaaalex »

OK, so I'm trying to modify Win9X MINI.CAB to replace the VGA driver (with the VBE one) and to customize the color scheme.
Does anybody know what program I have to use to remade the .CAB again?

Thanks!

yksoft1
User avatar
FTP Access
Posts: 742
Joined: Thu Nov 26, 2009 7:14 am

Re: Modifying MINI.CAB

Post by yksoft1 »

MINI.CAB is Standard Mode Windows 3.1. Win9x VBE drivers and most Win3.1 graphics drivers using VxD won't work under it.

aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Re: Modifying MINI.CAB

Post by aaaaalex »

Sorry, I mean the SVGA fix driver for Win3.1...

(I said VBE because is also VBE compatible, right? And because I was thinking about Win9X... :?)

user99672
Donator
Posts: 1441
Joined: Sun Sep 27, 2009 7:55 pm

Re: Modifying MINI.CAB

Post by user99672 »

Wrong approach entirely. I'm fairly sure you'd need to recab the entire copy of 9x if you wanted to make any changes to the cabinets...

Why don't you just sysprep it and include the driver? You know...with the OPK?
Hey. By the time you're reading this, I'll be gone. Be a good person, but find what being a good person means to you.

aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Re: Modifying MINI.CAB

Post by aaaaalex »

I'm just trying if I can see the light-blue background setup of Windows 98 (the one with clouds) by just launching the setup from DOS (no previous Windows involved except the one from MINI.CAB).

Any idea how to remake the .cab file?

Windows OS
User avatar
FTP Access
Posts: 452
Joined: Tue Jul 08, 2014 9:43 pm
Location: DLL Hell, United States
Contact:

Re: Modifying MINI.CAB

Post by Windows OS »

aaaaalex wrote: Any idea how to remake the .cab file?
Use this command line program "makecab.exe" which is included in Windows. However, in order to compress multiple files to one cab, you will need to use a directive file. This website will help you: http://ss64.com/nt/makecab.html
Do Not Make Illegal Copies Of This Signature.
YouTube | Twitter | BA Wiki | BetaWiki

aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Re: Modifying MINI.CAB

Post by aaaaalex »

OK, thanks! Can I use any version of Windows or it has to be Windows 9x?

Windows OS
User avatar
FTP Access
Posts: 452
Joined: Tue Jul 08, 2014 9:43 pm
Location: DLL Hell, United States
Contact:

Re: Modifying MINI.CAB

Post by Windows OS »

aaaaalex wrote:OK, thanks! Can I use any version of Windows or it has to be Windows 9x?
Any version (as far as I know). I tested it on XP and 10.
Do Not Make Illegal Copies Of This Signature.
YouTube | Twitter | BA Wiki | BetaWiki

aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Re: Modifying MINI.CAB

Post by aaaaalex »

OK, it worked (thank you for helping me!), but it still displays the dark blue background:

Image

This is weird: when I was making the modifications, it showed the other background... *-)

Update: OK, I find out that it's back to 16 colors again... I extracted again and it's back:

Image

What is going on here?

Windows OS
User avatar
FTP Access
Posts: 452
Joined: Tue Jul 08, 2014 9:43 pm
Location: DLL Hell, United States
Contact:

Re: Modifying MINI.CAB

Post by Windows OS »

aaaaalex wrote:OK, it worked (thank you for helping me!), but it still displays the dark blue background:

Image

This is weird: when I was making the modifications, it showed the other background... *-)

Update: OK, I find out that it's back to 16 colors again... I extracted again and it's back:

Image

What is going on here?
Boot up setup again but shut down the system while in Mini Windows. That will leave the Mini files still on the hard drive. Check those files out. Plus, could you upload your MINI.CAB to Mega?
Do Not Make Illegal Copies Of This Signature.
YouTube | Twitter | BA Wiki | BetaWiki

aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Re: Modifying MINI.CAB

Post by aaaaalex »

OK, first difference is in SETUPLOG.TXT:

Running directly from disc:

Code: Select all

[OptionalComponents]

[System]

[NameAndOrg]

[Destination]

[]

fsCmosAVCheck: Attempting CMOS Anti Virus Test
fsCmosAVCheck: CMOS Anti Virus Test SUCCEEDED
Drive=:A:, Host=::, Flags=:0x107:
Drive=:C:, Host=::, Flags=:0xd:
Drive=:D:, Host=::, Flags=:0x40d:
Drive=:E:, Host=::, Flags=:0x205:
vfs.boot=:C:, vfs.boothost=::
FSLog: BIOS Heads=:255:, BootPart Heads=:255:
Batchfile=C:\WININST0.400\MSBATCH.INF
loading 'C:\WININST0.400\suexpand.dll' returned f6711fe
VcpClose:About to close
VcpClose:Copy 1
LDID is ffff failed CtlGetLdd 
CAB-No volume name for LDID ffff, local copy - path Absolute
MSBATCH.INF=2,,13459,36674
VcpClose:About to End
VcpClose:About to Terminate
batch settings:
[Setup]
InstallType=1
Customise=0
Express=0
ChangeDir=1
Network=1
OptionalComponents=1
System=1
MBR=1
Reboot=1
CCP=1
EBD=0
CleanBoot=0
Win31FileSystem=-8531
CopyFiles=1
Verify=-8531
UPI=1
VRC=1
External=1
ShowEula=1
CustomOEMInstall=0
AutoRetry=0
PenWinWarning=1
CHKDSK=1
UNINSTALL=1
DevicePath=0
NoDirWarn=0
NoAppsWarn=0
RunHwInfo=1
BootCD=0
CallMigrationDLLs=1

[Network]
DisplayWorkstationSetup=0
WorkstationSetup=0
HDBOOT=0
RPLSETUP=0
SaveSuBoot=0


[Iniciado]
version=262154,2222
OldLogFile
SourcePath=C:\WININST0.400
CmdLine=/T:C:\WININST0.400 /SrcDir=E:\WIN98 /IE /IS /IZ /II /NR /II /C  /U:xxxxxxxxxxxxxxxxx
WinVer=Mini
ExePath=C:\WININST0.400
FilePath=E:\WIN98\
RunVer=3.1
dwSrcPathType=1
Init:Setup initialization successful.
Iniciado=Efectuado

[Dummy]
Running from extracted MINI.CAB:

Code: Select all

[OptionalComponents]

[System]

[NameAndOrg]

[Destination]

[]

fsCmosAVCheck: Attempting CMOS Anti Virus Test
fsCmosAVCheck: CMOS Anti Virus Test SUCCEEDED
Drive=:A:, Host=::, Flags=:0x107:
Drive=:C:, Host=::, Flags=:0xd:
Drive=:D:, Host=::, Flags=:0x40d:
Drive=:E:, Host=::, Flags=:0x205:
vfs.boot=:C:, vfs.boothost=::
FSLog: BIOS Heads=:255:, BootPart Heads=:255:
Batchfile=C:\WININST0.400\MSBATCH.INF
loading 'C:\WININST0.400\suexpand.dll' returned 101f122e
VcpClose:About to close
VcpClose:Copy 1
LDID is ffff failed CtlGetLdd 
CAB-No volume name for LDID ffff, local copy - path Absolute
MSBATCH.INF=2,,13459,36674
VcpClose:About to End
VcpClose:About to Terminate
batch settings:
[Setup]
InstallType=1
Customise=0
Express=0
ChangeDir=1
Network=1
OptionalComponents=1
System=1
MBR=1
Reboot=1
CCP=1
EBD=1
CleanBoot=0
Win31FileSystem=-8531
CopyFiles=1
Verify=-8531
UPI=1
VRC=1
External=1
ShowEula=1
CustomOEMInstall=0
AutoRetry=0
PenWinWarning=1
CHKDSK=1
UNINSTALL=1
DevicePath=0
NoDirWarn=0
NoAppsWarn=0
RunHwInfo=1
BootCD=0
CallMigrationDLLs=1

[Network]
DisplayWorkstationSetup=0
WorkstationSetup=0
HDBOOT=0
RPLSETUP=0
SaveSuBoot=0


[Iniciado]
version=262154,2222
OldLogFile
SourcePath=C:\WININST0.400
CmdLine=/SrcDir=E:\WIN98 /U:xxxxxxxxxxxxxxxxx
WinVer=C:\MINI
ExePath=C:\WININST0.400
FilePath=E:\WIN98\
RunVer=3.1
dwSrcPathType=1
Init:Setup initialization successful.
Iniciado=Efectuado

[Dummy]
Also, to run from extracted MINI.CAB, I have to modify one line of SYSTEM.INI:

Code: Select all

shell=w98setup.bin
change to

Code: Select all

shell=E:\win98\w98setup.bin
Where E: is the Windows disc.

Also, I don't have any account on any uploader site, so... :?

Edit: OK, just created a Dropbox user, here it is: https://www.dropbox.com/sh/37gf4yjtd1jc ... 7lmaa?dl=0

PD: Sorry for the long post!

os2fan2
User avatar
Donator
Posts: 1261
Joined: Sun Dec 30, 2007 8:12 am
Location: Brisbane, Queensland
Contact:

Re: Modifying MINI.CAB

Post by os2fan2 »

I use cabpack 1.4 to make cabs, especially of that vintage. It comes with a period version of makecab etc, so windows 95 can actually read it. It is pretty much point and click.

In my day, when i got a hold of the diamond package, i wrote a rexx script and a batch file to pack directories to bring home. You just ran something like diamond foo c:\bar and it would make foo1.cab etc.

With minicab, you can simply run setup from it, so you could have a number of utilities to run under the proggie, and then set your own colour scheme (or copy it from Windows 3.1: control panel and paper.exe work well, so you can even set your own wallpaper!)

Run setup 95 or 98 from the same win31, and you don't need mini.cab.

xelloss
User avatar
Donator
Posts: 315
Joined: Sun Aug 18, 2013 7:26 pm
Location: Edinburgh, Scotland

Re: Modifying MINI.CAB

Post by xelloss »

aaaaalex wrote: Image
I don't remember the system menu box (left of the titlebar) to have ever had a 3D button shape, even for apps that make use of CTL3D.DLL or CTL3Dv2.DLL. But it's not entirely unexpected, since the graphics of that box is a resource built into the video driver, and you have replaced it. Which video driver did you use, again?

aaaaalex
Posts: 15
Joined: Mon Jun 22, 2015 9:24 pm
Location: Barcelona!

Re: Modifying MINI.CAB

Post by aaaaalex »

It's the SVGA driver for Windows 3.1 modified with Makeover to change some of the UI buttons (like the ones on the titlebar or the scrollbar).

You can get the driver from WinWorld, BTW.

Post Reply