MSFN Forum: Unattended files - MSFN Forum

Jump to content



  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Unattended files Scripts n Cab packin Rate Topic: -----

#41 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 26 June 2006 - 07:31 AM

I thought the ~1 only applied to program files i didn't realize it was meant for all
folders with spaces in the name that why i was able to only succed half way.

thanks 2 you guys i'm
almost finish with my personal advance pack.

Now i need to make a few shortcuts and rename the file

This post has been edited by PROBLEMCHYLD: 26 June 2006 - 07:42 AM



#42 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 26 June 2006 - 10:34 AM

I suggest to copy such files [iexplore.exe for example] using INF code, which will properly detect actual location of installed OS components such as MS IE.
Example:

Quote

[Version]Signature=$CHICAGO$
[DefaultInstall]
CopyFiles=IE
[IE]
IEXPLORE.EXE
[DestinationDirs]
IE=29000
[SourceDisksNames]
1=,,0

All other methods mentioned here do not properly detect actual location of "C:\Program Files" [default location, but it may also be "D:\Programs" , "C:\PROGRAMS" , "C:\PF" or whatever else].
And short file name C:\Progra~1 accounts for only the 1st successful OS install.
If same or different MS WinOS was also installed [more than 1 time], C:\Progra~1 becomes C:\Progra~2 , C:\Progra~3 , etc, depending on how many times the WinOS was installed.

HTH

#43 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 27 June 2006 - 01:14 PM

How do i copy these files to C:\Program Files\Windows Media Player in a inf file
MPLAYER2.EXE
MPVIS.DLL
WMPBAND.DLL
WMPLAYER.EXE

This post has been edited by PROBLEMCHYLD: 27 June 2006 - 02:05 PM


#44 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 28 June 2006 - 08:01 AM

WMP directory to use in INF files is 49301 .

Download 98SE2MP10:
http://www.mdgx.com/...10/98SEMP10.EXE
and extract the INF. Open it in Notepad to see details on how to copy + regsvr32 WMP files.

HTH

#45 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 28 June 2006 - 08:48 AM

How do i make shortcuts for these files
in my bat file or inf
i prefer the easy way .

Taskmgr=Task Manager
RegClean=Reg Cleaner
WINTOP=Wintop

This is the last part of my pack thanks guys

#46 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,678
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 28 June 2006 - 09:19 AM

To create shortcuts, you need to use INF files, otherwise the dirs won't be detected correctly.
It may be a way to do this in VBS, but I have no experience with VB.
Example, adapt to your needs [excerpt from 2G.INF, part of 98SE2ME]:

Quote

[Version]Signature=$CHICAGO$
[DefaultInstall]
UpdateInis=UI
[UI]
%10%\SETUP.INI,progman.groups,,"0="
%10%\SETUP.INI,0,,"""File Manager"","%10%\WINFILE.EXE",,,,"%10%",,""File Manager (Short File Names only): versatile + customizable disks, folders + files editing + viewing management tool"""
%10%\SETUP.INI,0,,"""Registry Editor"","%10%\REGEDIT.EXE",,,,"%10%",,""Registry Editor: Registry editing + viewing management tool"""
%10%\SETUP.INI,0,,"""System Configuration Utility"","%11%\MECONFIG.EXE",,,,"%11%",,""System Configuration Utility: Registry, Startup + System Files editing + viewing management tool"""
%10%\SETUP.INI,progman.groups,,"G2=Accessories\Games"
%10%\SETUP.INI,G2,,"""Spider Solitaire"","%10%\SPIDER.EXE",,,,"%10%",,""Play Spider Solitaire Card Game"""
%10%\SETUP.INI,G2,,"""Space Cadet Pinball"","%28700%\Pinball\PINBALL.EXE",,,,"%28700%\Pinball",,""Play Space Cadet 3D Pinball Game"""
[SourceDisksNames]
1=,,0

HTH

This post has been edited by MDGx: 28 June 2006 - 09:20 AM


#47 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 28 June 2006 - 06:35 PM

I replace all the above with my files
but they didnt install in the system tools shortcut directory

#48 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 03 July 2006 - 01:47 PM

Sorry guys i forgot somethings

This post has been edited by PROBLEMCHYLD: 03 July 2006 - 03:31 PM


#49 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 03 July 2006 - 03:34 PM

How do i extract zip folders to C:\ Program Files directory in my batch file or inf file it doesn't matter
and then create the shortcuts for them.

example i have a Marbles.zip folder
and i want it like this

Marbles.zip=C:\ Program Files\Marbles
then a shortcut in the games folder.

This post has been edited by PROBLEMCHYLD: 29 October 2006 - 03:41 PM


#50 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 29 October 2006 - 03:40 PM

How do i send this file MSONSEXT.DLL with inf to this destination

C:\PROGRA~1\COMMON~1\MICROS~1\WEBFOL~1\MSONSEXT.DLL

This post has been edited by PROBLEMCHYLD: 29 October 2006 - 03:42 PM


#51 User is offline   PROBLEMCHYLD 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,809
  • Joined: 07-October 05
  • OS:98SE
  • Country: Country Flag

Posted 06 November 2006 - 11:39 AM

How do i extract Marbles.Zip to C:\Program Files
using a bat file?

#52 User is offline   LLXX 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,399
  • Joined: 04-December 05

Posted 07 November 2006 - 02:37 AM

View PostPROBLEMCHYLD, on Nov 6 2006, 12:39 PM, said:

How do i extract Marbles.Zip to C:\Program Files
using a bat file?

cd "program files"
pkunzip -e marbles.zip


#53 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 07 November 2006 - 06:09 AM

I would not recommend Pkzip as it's not free and requires an email even for the demo.

http://nct.digitalri...ulfill/0018.035

Look into this one instead :

http://www.izarc.org/izarccl.html

For the batch file posted above you'll need to have marble.zip present in program files before running the command and the commandline util somewhere in the search path otherwise it won't work IMO.

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy