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: -----

#1 User is offline   PROBLEMCHYLD 

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

Posted 15 June 2006 - 05:58 AM

I have a few folders that i would like to become exe files
so all the content thats in the folder can install/register unattended create proper shortcuts
(it cuts down install time)
so i don't have 2 manually replace the files 1x1
but i don't know how to run scripts nor make exe files
thats where you guys come in
Can i please get some assistance


#2 User is offline   eidenk 

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

Posted 15 June 2006 - 08:10 AM

inf + iexpress or Inno Setup or any other installer of your choice.

#3 User is offline   PROBLEMCHYLD 

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

Posted 17 June 2006 - 10:22 PM

Hover
Movie Maker
Msn Gaming Zone
Reshack
these files are in folders already i want in them in C:\Program Files
and i want to make short cuts for them
most files above i resource hacked the icons so i need it to overwite the original short cuts
now i need the correct command parameters
all bat files i want to reside in C:\
also i have like 48 reg files i would like to add to this pack


Regclean & Wintop i want there shortcuts in the system tools folder
and DeskMenu short cut in the start up folder
everything else will be default

This post has been edited by PROBLEMCHYLD: 23 June 2006 - 02:54 PM


#4 User is offline   LLXX 

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

Posted 17 June 2006 - 11:06 PM

Batch file and PKZIP would also do the job of copy files and registering OCXs and DLLs.

#5 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 12:59 AM

?

This post has been edited by PROBLEMCHYLD: 23 June 2006 - 02:54 PM


#6 User is offline   eidenk 

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

Posted 18 June 2006 - 04:30 AM

For your registry files :

Regedit /s blahblah.reg

This post has been edited by eidenk: 18 June 2006 - 04:31 AM


#7 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 05:26 AM

Regedit /s 60SP1.reg
Regedit /s DosWindow.reg
Regedit /s ADODB.reg
Regedit /s ADVANCED.reg
Regedit /s Attrib.reg
Regedit /s cabextract.reg
Regedit /s CACHE1.reg
Regedit /s CACHE2.reg
Regedit /s CACHE3.reg
Regedit /s CACHE4.reg
Regedit /s CD52DWRD.reg
Regedit /s CD52HEX.reg
Regedit /s Changename.reg
Regedit /s Cpu.reg
Regedit /s Domain_blocklist.reg
Regedit /s DragDrop.reg
Regedit /s Edit.reg
Regedit /s EDITDESK.reg
Regedit /s EditReg.reg
Regedit /s End.reg
Regedit /s Filenames.reg
Regedit /s Google.reg
Regedit /s Hearts.reg
Regedit /s Icon.reg
Regedit /s IECACH9X.reg
Regedit /s LARGDWRD.reg
Regedit /s LARGHEX.reg
Regedit /s LAYOUT.reg
Regedit /s Log.reg
Regedit /s MAXCACHE.reg
Regedit /s NEWTCP.reg
Regedit /s NOTEPAD.reg
Regedit /s OpenWith.reg
Regedit /s Scheme2000.reg
Regedit /s SEND.reg
Regedit /s SERVER.reg
Regedit /s tcp.reg
Regedit /s Unattend.reg
Regedit /s Uncheck.reg
Regedit /s VALID_OK.reg
Regedit /s WindowAnimations.reg


Now i need to add the exe files with short cuts and a couple of inf files
thanks guys

This post has been edited by PROBLEMCHYLD: 18 June 2006 - 11:19 AM


#8 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 09:32 AM

these files don't copy to the %windir%\System beacuse they are in use
how do i force them?

browseui.dll
browselc.dll
MYDOCS.DLL
SHELL32.DLL
SYNCUI.DLL

#9 User is offline   Fredledingue 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,139
  • Joined: 10-February 05
  • OS:98SE
  • Country: Country Flag

Posted 18 June 2006 - 10:13 AM

Add the lines in autoexec.bat
reboot
delete the lines.

See BigOpenBox manual installation...

#10 User is offline   eidenk 

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

Posted 18 June 2006 - 10:57 AM

View PostPROBLEMCHYLD, on Jun 18 2006, 09:32 AM, said:

these files don't copy to the %windir%\System beacuse they are in use
how do i force them?

browseui.dll
browselc.dll
MYDOCS.DLL
SHELL32.DLL
SYNCUI.DLL

That's where inf + iexpress comes handy as this will use wininit to replace at reboot the files that can't be copied because they are in use.

#11 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 10:58 AM

I'm have them all set up in a bat.file
how do i make them inf+iexpress

This post has been edited by PROBLEMCHYLD: 18 June 2006 - 10:59 AM


#12 User is offline   eidenk 

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

Posted 18 June 2006 - 12:40 PM

Try this as an .inf file (No guarantee it will work properly as untested) :

[version]
signature="$CHICAGO$"

[DefaultInstall]
CopyFiles = copy.files
RegisterOCXs=Register.files

[copy.files]
browseui.dll,4
browselc.dll,4 
MYDOCS.DLL,4
SHELL32.DLL,4
SYNCUI.DLL,4

[Register.files]
%11%\browseui.dll
%11%\browselc.dll 
%11%\MYDOCS.DLL
%11%\SHELL32.DLL
%11%\SYNCUI.DLL

[DestinationDirs]
copy.files = 11

[SourceDisksNames]
81=,"",1


Then create an installer with IExpress (very easy, follow the prompts) in which you include the files you want to copy and the inf file which will become the setup command of the installer

For your registry files, you may also want to convert them into inf format and create a new section for them in your above inf.

You can convert reg to inf quite easily with Willy Pad :

http://www.chez.com/...81/en/willy.htm

This post has been edited by eidenk: 18 June 2006 - 12:43 PM


#13 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 01:29 PM

It say the file 4 was not found
i click skip file then it restarts

#14 User is offline   eidenk 

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

Posted 18 June 2006 - 02:29 PM

If you remove the ,4 from each line it should maybe process the files normally.

I have added that as it is a flag that is supposed to force overwrite in any circumstances but I certainly did put it at the wrong place or used a slightly wrong syntax.

Why I did put it is because I guessed the files you want to install will maybe not be of a newer version than the targets, and by default the installer will not replace them if they are not of a newer version I believe.

Look into all that and experiment a bit just like I do ATM. Have some PROBLEMCHYLD to test them for you.

And search the forum for downloads links for inf doc. There are some.

#15 User is offline   Delprat 

  • Poll: Why are you reading this ?
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 18-May 05

Posted 18 June 2006 - 03:11 PM

View Posteidenk, on Jun 18 2006, 09:29 PM, said:

If you remove the ,4 from each line it should maybe process the files normally.

I have added that as it is a flag that is supposed to force overwrite in any circumstances but I certainly did put it at the wrong place or used a slightly wrong syntax.


Right, it's a wrong syntax ;)

To get what you were thinking about, replace ",4" by ",,6" (two comas, 6 instead of 4 to make it silent)


Another detail PROBLEMCHYLD, you posted a batch a few posts ago with multiple COPY then REGSVR /U then REGSVR /I on the same fileset : you should change the order to be REGSVR /U then COPY then REGSVR /I.
It becomes :
 
regsvr32 /u /s  %windir%\System\browseui.dll
regsvr32 /u /s  %windir%\System\browselc.dll
regsvr32 /u /s  %windir%\System\CTL3D32S.DLL
regsvr32 /u /s  %windir%\System\CTL3D.DLL
regsvr32 /u /s  %windir%\System\CTL3DV2.DLL
regsvr32 /u /s  %windir%\System\gdiplus.dll
regsvr32 /u /s  %windir%\System\HLP95EN.DLL
regsvr32 /u /s  %windir%\System\HOTPLUG.DLL
regsvr32 /u /s  %windir%\System\IOSCLASS.DLL
regsvr32 /u /s  %windir%\System\LAYOUT.DLL
regsvr32 /u /s  %windir%\System\MARSCORE.DLL
regsvr32 /u /s  %windir%\System\MMCI.DLL
regsvr32 /u /s  %windir%\System\MYDOCS.DLL
regsvr32 /u /s  %windir%\System\Psapi.Dll
regsvr32 /u /s  %windir%\System\SETUP4.DLL
regsvr32 /u /s  %windir%\System\SETUPX.DLL
regsvr32 /u /s  %windir%\System\SHDOCLC.DLL
regsvr32 /u /s  %windir%\System\SHELL32.DLL
regsvr32 /u /s  %windir%\System\STI_CI.DLL
regsvr32 /u /s  %windir%\System\SYNCUI.DLL
regsvr32 /u /s  %windir%\System\unicows.dll

copy browseui.dll %windir%\System
copy browselc.dll %windir%\System
copy CTL3D32S.DLL %windir%\System
copy CTL3D.DLL %windir%\System
copy CTL3DV2.DLL %windir%\System
copy gdiplus.dll %windir%\System
copy HLP95EN.DLL %windir%\System
copy HOTPLUG.DLL %windir%\System
copy IOSCLASS.DLL %windir%\System
copy LAYOUT.DLL %windir%\System
copy MARSCORE.DLL %windir%\System
copy MMCI.DLL %windir%\System
copy MYDOCS.DLL %windir%\System
copy Psapi.Dll %windir%\System
copy SETUP4.DLL %windir%\System
copy SETUPX.DLL %windir%\System
copy SHDOCLC.DLL %windir%\System  
copy SHELL32.DLL %windir%\System
copy STI_CI.DLL %windir%\System
copy SYNCUI.DLL %windir%\System
copy unicows.pdf %windir%\System
copy unicows.dll %windir%\System

regsvr32 /i /s %windir%\System\browseui.dll
regsvr32 /i /s %windir%\System\browselc.dll
regsvr32 /i /s %windir%\System\CTL3D32S.DLL
regsvr32 /i /s %windir%\System\CTL3D.DLL
regsvr32 /i /s %windir%\System\CTL3DV2.DLL
regsvr32 /i /s %windir%\System\gdiplus.dll
regsvr32 /i /s %windir%\System\HLP95EN.DLL
regsvr32 /i /s %windir%\System\HOTPLUG.DLL
regsvr32 /i /s %windir%\System\IOSCLASS.DLL
regsvr32 /i /s %windir%\System\LAYOUT.DLL
regsvr32 /i /s %windir%\System\MARSCORE.DLL
regsvr32 /i /s %windir%\System\MMCI.DLL
regsvr32 /i /s %windir%\System\MYDOCS.DLL
regsvr32 /i /s %windir%\System\Psapi.Dll
regsvr32 /i /s %windir%\System\SETUP4.DLL
regsvr32 /i /s %windir%\System\SETUPX.DLL
regsvr32 /i /s %windir%\System\SHDOCLC.DLL
regsvr32 /i /s %windir%\System\SHELL32.DLL
regsvr32 /i /s %windir%\System\STI_CI.DLL
regsvr32 /i /s %windir%\System\SYNCUI.DLL
regsvr32 /i /s %windir%\System\unicows.dll 


And i removed the regsvr lines on unicows.pdf...

++

#16 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 03:34 PM

O kay guys i got the dll files in order they installed properly after removing the 4
thanks :thumbup

This post has been edited by PROBLEMCHYLD: 19 June 2006 - 05:07 AM


#17 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 18 June 2006 - 04:31 PM

The correct syntax is
file,,,4
and not
file,4
, this is the problem. The explanation what this "4" means is here: http://old.winpack.o...eb/copyfile.htm

Petr

#18 User is offline   PROBLEMCHYLD 

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

Posted 18 June 2006 - 05:16 PM

View PostPetr, on Jun 18 2006, 04:31 PM, said:

The correct syntax is
file,,,4
and not
file,4
, this is the problem. The explanation what this "4" means is here: http://old.winpack.o...eb/copyfile.htm

Petr

[version]
signature="$CHICAGO$"


[DefaultInstall]
CopyFiles = copy.files
RegisterOCXs=Register.files


[copy.files]
browseui.dll,,,4
regclean.exe,,,4

etc.................

is this how it should be?

This post has been edited by PROBLEMCHYLD: 19 June 2006 - 04:59 AM


#19 User is offline   PROBLEMCHYLD 

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

Posted 19 June 2006 - 05:02 AM

This is a example of what my setup would be

98SE2XP.bmp %windir%
98SEOLD.bmp %windir%
CALC.exe %windir% default shortcut
Charmap.exe %windir% default shortcut
DeskMenu.exe %windir% shortcut WINDOWS\Start Menu\Programs\startup
ECM.hlp %windir%\help
IEXPLORE.exe C:\programs files\internet explorer
iexpress.exe %windir%\system
King Crimson.jpg C:\windows\web\wallpaper
MAPC_OFF.inf
mobsync.exe %windir%\system default shortcut
MSPAINT.exe C:\Programs\Accessories default shortcut
NOTEPAD.exe %windir% default shortcut
Pulp Fiction.jpg C:\windows\web\wallpaper
RegClean.exe %windir% shortcut C:\WINDOWS\Start Menu\Programs\Accessories\System Tools
Shared Dll.exe %windir%
SNDREC32.exe %windir% default shortcut 
SNDVOL32.exe %windir% default shortcut 
spider.exe %windir% default shortcut 
Windows Millennium.jpg C:\windows\web\wallpaper
WINTOP.exe %windir% shortcut C:\WINDOWS\Start Menu\Programs\Accessories\System Tools
WINTOP.inf
WINTOP.VXD
WRITE.exe %windir% default shortcut 
WUPDMGR.exe %windir%
Explorer.exe %windir%
systray.exe %windir%\system


Now how do i set it up correctly in my inf file

This post has been edited by PROBLEMCHYLD: 20 June 2006 - 10:54 AM


#20 User is offline   JoeMSFN 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 28-September 04

Posted 19 June 2006 - 05:33 AM

View PostPetr, on Jun 18 2006, 04:31 PM, said:

Awsome link... thus far the only other .inf tutorial that I knew of was Gosh's.

This post has been edited by JoeMSFN: 19 June 2006 - 09:08 PM


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