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

Component Cab into Zip with installed-directory-structure


  • Please log in to reply
4 replies to this topic

#1
mraeryceos

mraeryceos

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 11-April 04

Is there a way to extract component cab files into a directory structure (as they would sit in the windows directory, but in a separate folder), that would make it easy to just copy-paste the files of a component into the windows directory?

It would make it easy to experiment if Windows needs the registry entries for certain files, or if it will work with the files just placed into system32 and so on.

For example, I can get by without installing the component "security base".  Without the files manually copied from security base into the windows directory, I can't use regedit to merge a reg file.  With the files in place, but not installed, I can.

Come to think of it, I don't know if "security base" is a win7 component.  I am working with Windows Embedded Standard 7:  I just use it at home for my own system.  It was my choice to use it as an alternative to 7customizer, rt7lite, etc.




How to remove advertisement from MSFN

#2
mraeryceos

mraeryceos

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 11-April 04

bump



#3
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,447 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

If I understand your first statement/question - no! They have to be in the correct folder.

If you mean "can I extract the CAB into the correct folder using a script"...

https://technet.micr...9(v=ws.10).aspx

The script is a different ball of wax.

 

HTH (and please clarify your requirements/scenario)


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#4
mraeryceos

mraeryceos

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 11-April 04

expand -r component.cab /switch

Where switch means, don't dump the files all in the same folder.  Nest them where they would go.  See attached 32 bit example.

Attached Files


Edited by mraeryceos, Yesterday, 04:16 PM.


#5
mraeryceos

mraeryceos

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 11-April 04

The goal for me, was to have less use of system resources.  So my thinking, was that in not having something installed, there would be less chance that unwanted processes/actions would run in the background.  For example, installing a component, might register an additional service, using memory and cpu cycles.  If I don't need that service, why install?  Just copy the files over, in case some app had a dependency on a particular file the component has.  This is my thinking, but I don't know to what extent it is correct.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users